forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user