diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-02-16 16:40:43 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-02-16 16:40:43 +0000 |
| commit | 2459336973f80184f615d3c1959ce2e65425e303 (patch) | |
| tree | 1b0c0704eee669947655f061fd3da0dba98b3fd1 /sys/alpha/linux/linux.h | |
| parent | 4c98f36d9438c32fd8bbbff50405406cc5e210ca (diff) | |
Notes
Diffstat (limited to 'sys/alpha/linux/linux.h')
| -rw-r--r-- | sys/alpha/linux/linux.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 92628e99d6cd7..a11baaa579f2a 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -33,6 +33,14 @@ #include <alpha/linux/linux_syscall.h> +/* + * debugging support + */ +extern u_char linux_debug_map[]; +#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) +#define ARGS(nm, fmt) "Linux-emul(%ld): "#nm"("fmt")\n", (long)p->p_pid +#define LMSG(fmt) "Linux-emul(%ld): "fmt"\n", (long)p->p_pid + #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_LINUX); #endif |
