aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-03-23 04:16:32 +0000
committerJeff Law <law@redhat.com>1994-03-23 04:16:32 +0000
commit0a64709eb45bf02187300e8b539dcc052b508c04 (patch)
treeabc7813e5290bf1d877c67db21704c0b2f1c27de /gdb/hppa-tdep.c
parent84ad95c118631eba3101d575ceaefcc9d02d438b (diff)
downloadgdb-0a64709eb45bf02187300e8b539dcc052b508c04.zip
gdb-0a64709eb45bf02187300e8b539dcc052b508c04.tar.gz
gdb-0a64709eb45bf02187300e8b539dcc052b508c04.tar.bz2
* config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
* hppa-tdep.c (hppa_pop_frame): Do not restore the PC space queue if NO_PC_SPACE_QUEUE_RESTORE is defined.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 348324f..ff046f3 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -891,8 +891,10 @@ hppa_pop_frame ()
fp = fi->frame;
get_frame_saved_regs (fi, &fsr);
+#ifndef NO_PC_SPACE_QUEUE_RESTORE
if (fsr.regs[IPSW_REGNUM]) /* Restoring a call dummy frame */
restore_pc_queue (&fsr);
+#endif
for (regnum = 31; regnum > 0; regnum--)
if (fsr.regs[regnum])