[vala] linux: bind backtrace(3), backtrace_symbols(3), and backtrace_symbols_fd()
- From: Michael Lauer <mlauer src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] linux: bind backtrace(3), backtrace_symbols(3), and backtrace_symbols_fd()
- Date: Mon, 9 Nov 2009 21:02:50 +0000 (UTC)
commit 13e50ac632aa9cacc5b3202a798ef2932eb71cbc
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date: Mon Nov 9 21:56:09 2009 +0100
linux: bind backtrace(3), backtrace_symbols(3), and backtrace_symbols_fd()
support for application self-debugging as found in glibc since version 2.1
vapi/linux.vapi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index b3fc0eb..dd06567 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -109,6 +109,16 @@ namespace Linux {
DT_WHT
}
+ [CCode (cheader_filename = "execinfo.h")]
+ public int backtrace (void* buffer, int size);
+
+ [CCode (cheader_filename = "execinfo.h")]
+ [CCode (array_length = false)]
+ public string[] backtrace_symbols (void* buffer, int size);
+
+ [CCode (cheader_filename = "execinfo.h")]
+ public void backtrace_symbols_fd (void* buffer, int size, int fd);
+
[CCode (cheader_filename = "arpa/inet.h")]
public int inet_aton(string cp, out Posix.InAddr addr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]