From a35023d9c5516b9a7b262a7865e96c4c2e90b3b2 Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 13 Jan 2005 12:51:04 +0000 Subject: [PATCH] add a comment telling that i386bsd_sigcontext_addr() returns the address of a ucontext_t on NetBSD (this is a hack of course) --- gnu/dist/gdb/gdb/i386bsd-tdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/dist/gdb/gdb/i386bsd-tdep.c b/gnu/dist/gdb/gdb/i386bsd-tdep.c index 368fa5631aee..9614a408ac9d 100644 --- a/gnu/dist/gdb/gdb/i386bsd-tdep.c +++ b/gnu/dist/gdb/gdb/i386bsd-tdep.c @@ -46,6 +46,8 @@ i386bsd_pc_in_sigtramp (CORE_ADDR pc, char *name) Note: This function is used for Solaris 2 too, so don't make it static. */ +/* XXX NetBSD: This function returns the adress of a ucontext_t + which happens to be the third argument to the signal handler. */ CORE_ADDR i386bsd_sigcontext_addr (struct frame_info *frame) {