[commit] fix alphanbsd-tdep.c build failure...
Joel Brobecker
brobecker@gnat.com
Wed Jun 4 05:56:00 GMT 2003
The following change fixes a build failure in alphanbsd.c. I don't have
an alpha-nbsd handy, so I only tested the fix by compiling it on my
linux box. However, the fix is similar to what I did in alpha-osf1-tdep.c,
so it felt safe enough that I went ahead and committed it... I would
still recommend a quick testsuite run though...
2003-06-03 J. Brobecker <brobecker@gnat.com>
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
references to struct frame_info fields by calls to the equivalent
accessors. Necessary now that frame_info is opaque.
--
Joel
-------------- next part --------------
Index: alphanbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alphanbsd-tdep.c,v
retrieving revision 1.15
diff -c -3 -p -r1.15 alphanbsd-tdep.c
*** alphanbsd-tdep.c 4 Jun 2003 05:44:13 -0000 1.15
--- alphanbsd-tdep.c 4 Jun 2003 05:49:04 -0000
*************** alphanbsd_sigcontext_addr (struct frame_
*** 189,195 ****
/* FIXME: This is not correct for all versions of NetBSD/alpha.
We will probably need to disassemble the trampoline to figure
out which trampoline frame type we have. */
! return frame->frame;
}
static void
--- 189,195 ----
/* FIXME: This is not correct for all versions of NetBSD/alpha.
We will probably need to disassemble the trampoline to figure
out which trampoline frame type we have. */
! return get_frame_base (frame);
}
static void
More information about the Gdb-patches
mailing list