This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Stop in main for NBSD PPC
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 28 Jun 2002 18:12:04 -0400
- Subject: [patch] Stop in main for NBSD PPC
Just FYI, commited the attached with jason's approval. Perhaphs this is
what the linux platforms should do.
Andrew
2002-06-28 Andrew Cagney <ac131313@redhat.com>
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.
Index: ppcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v
retrieving revision 1.2
diff -u -r1.2 ppcnbsd-tdep.c
--- ppcnbsd-tdep.c 2 Jun 2002 20:28:58 -0000 1.2
+++ ppcnbsd-tdep.c 28 Jun 2002 22:06:54 -0000
@@ -200,6 +200,8 @@
ppcnbsd_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
{
+ /* Stop at main. */
+ set_gdbarch_frame_chain_valid (gdbarch, generic_func_frame_chain_valid);
set_solib_svr4_fetch_link_map_offsets (gdbarch,
nbsd_ilp32_solib_svr4_fetch_link_map_offsets);