diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-08-28 10:40:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-08-28 10:40:16 +0000 |
commit | 8ed699c6a1cd669328404e4e5afb41b7be09330c (patch) | |
tree | 4bd4215f64e1545ad8bdf0c0fe86e6ae87916d42 /sysutils/scanmem/files/patch-interrupt.h | |
parent | 2cac42ef5a234452c02538c2f1aa53d34bc16003 (diff) | |
download | freebsd-ports-8ed699c6a1cd669328404e4e5afb41b7be09330c.zip |
Add quick and dirty port of scanmem, a simple interactive debugging utility
for Linux, used to locate the address of a variable in an executing process.
WWW: http://code.google.com/p/scanmem/
Diffstat (limited to 'sysutils/scanmem/files/patch-interrupt.h')
-rw-r--r-- | sysutils/scanmem/files/patch-interrupt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/scanmem/files/patch-interrupt.h b/sysutils/scanmem/files/patch-interrupt.h new file mode 100644 index 000000000000..0a7228050288 --- /dev/null +++ b/sysutils/scanmem/files/patch-interrupt.h @@ -0,0 +1,11 @@ +--- interrupt.h.orig 2009-12-14 15:15:26 UTC ++++ interrupt.h +@@ -10,7 +10,7 @@ + /* small header file to manage interrupted commands */ + + static sigjmp_buf jmpbuf; /* used when aborting a command due to interrupt */ +-static sighandler_t oldsig; /* reinstalled before longjmp */ ++static sig_t oldsig; /* reinstalled before longjmp */ + static unsigned intused; + + /* signal handler to handle interrupt during a commands */ |