summaryrefslogtreecommitdiff
path: root/gdb/ppcnbsd-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-28 22:07:20 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-28 22:07:20 +0000
commit160ebaf1b713c2b720df06612dd56d26a673cc63 (patch)
tree7974a9ba3f83051f327aab3a666b1a21e54c02ce /gdb/ppcnbsd-tdep.c
parentf2e2505c0dad56e2e3dc1dd3425bcb9637be5741 (diff)
downloadgdb-160ebaf1b713c2b720df06612dd56d26a673cc63.tar.gz
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.
Diffstat (limited to 'gdb/ppcnbsd-tdep.c')
-rw-r--r--gdb/ppcnbsd-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c
index 44d86825872..6fabab7c5b4 100644
--- a/gdb/ppcnbsd-tdep.c
+++ b/gdb/ppcnbsd-tdep.c
@@ -200,6 +200,8 @@ static void
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);