diff options
author | Randolph Chung <tausq@debian.org> | 2004-12-03 23:59:53 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-12-03 23:59:53 +0000 |
commit | fe46cd3ab5b2a04cb88f5f34a2d692dc856b3a5a (patch) | |
tree | a4fc66eb32398d046eac0d19a30812ca862dc8d6 /gdb/gdbarch.h | |
parent | e1591da4fd88fe7ce7af4f6eb9a597a4abdaf76a (diff) | |
download | gdb-fe46cd3ab5b2a04cb88f5f34a2d692dc856b3a5a.zip gdb-fe46cd3ab5b2a04cb88f5f34a2d692dc856b3a5a.tar.gz gdb-fe46cd3ab5b2a04cb88f5f34a2d692dc856b3a5a.tar.bz2 |
2004-12-03 Randolph Chung <tausq@debian.org>
* gdbarch.sh (instruction_nullified): Delete.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is
nullified.
(hppa_unwind_pc): Likewise.
(hppa_instruction_nullified): Delete.
(hppa_gdbarch_init): Don't set instruction_nullified method.
* infrun.c (infwait_states): Remove infwait_nullified_state.
(handle_inferior_event): Remove handling of infwait_nullified_state.
Remove handling of nullified instructions.
testsuite/
* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index b59f6e7..4ab8ea5 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1227,16 +1227,6 @@ typedef int (gdbarch_single_step_through_delay_ftype) (struct gdbarch *gdbarch, extern int gdbarch_single_step_through_delay (struct gdbarch *gdbarch, struct frame_info *frame); extern void set_gdbarch_single_step_through_delay (struct gdbarch *gdbarch, gdbarch_single_step_through_delay_ftype *single_step_through_delay); -/* On some systems, the PC may be left pointing at an instruction that won't - actually be executed. This is usually indicated by a bit in the PSW. If - we find ourselves in such a state, then we step the target beyond the - nullified instruction before returning control to gdb. - Return non-zero if the processor is about to execute a nullified instruction. */ - -typedef int (gdbarch_instruction_nullified_ftype) (struct gdbarch *gdbarch, struct regcache *regcache); -extern int gdbarch_instruction_nullified (struct gdbarch *gdbarch, struct regcache *regcache); -extern void set_gdbarch_instruction_nullified (struct gdbarch *gdbarch, gdbarch_instruction_nullified_ftype *instruction_nullified); - /* FIXME: cagney/2003-08-28: Need to find a better way of selecting the disassembler. Perhaps objdump can handle it? */ |