diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-04 18:04:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-04 18:04:25 +0000 |
commit | 3a3bc038c6dd5faa235dc1a13415ed1f0215c06d (patch) | |
tree | 56bfc9fe0dd6fbc86d90c68613c4c2a22a4fc9ee /gdb/hppa-tdep.c | |
parent | a957e6420da570d74136f1af2c8ff925469d3a69 (diff) | |
download | gdb-3a3bc038c6dd5faa235dc1a13415ed1f0215c06d.zip gdb-3a3bc038c6dd5faa235dc1a13415ed1f0215c06d.tar.gz gdb-3a3bc038c6dd5faa235dc1a13415ed1f0215c06d.tar.bz2 |
2003-09-04 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): Set
"have_nonsteppable_watchpoint".
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* mips-tdep.c (mips_dump_tdep): Do not print
HAVE_NONSTEPPABLE_WATCHPOINT.
(mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index c5b010c..1f0b3d0 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -5205,6 +5205,12 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_print_insn (gdbarch, print_insn_hppa); + /* When a hardware watchpoint triggers, we'll move the inferior past + it by removing all eventpoints; stepping past the instruction + that caused the trigger; reinserting eventpoints; and checking + whether any watched location changed. */ + set_gdbarch_have_nonsteppable_watchpoint (gdbarch, 1); + /* Hook in ABI-specific overrides, if they have been registered. */ gdbarch_init_osabi (info, gdbarch); |