add a comment telling that i386bsd_sigcontext_addr() returns

the address of a ucontext_t on NetBSD
(this is a hack of course)
This commit is contained in:
drochner 2005-01-13 12:51:04 +00:00
parent c578ca7bb1
commit a35023d9c5
1 changed files with 2 additions and 0 deletions

View File

@ -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 Note: This function is used for Solaris 2 too, so don't make it
static. */ 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 CORE_ADDR
i386bsd_sigcontext_addr (struct frame_info *frame) i386bsd_sigcontext_addr (struct frame_info *frame)
{ {