{insert,remove}_breakpoints to be defaulted to
memory_{insert_remove}_breakpoint.
Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
+ * exec.c, corelow.c (target_ops struct): Don't allow
+ {insert,remove}_breakpoints to be defaulted to
+ memory_{insert_remove}_breakpoint.
+
* demangle.c: Make it so `help set dem' tells you how to get the
list of demangling styles.
* demangle.c: Make it so `help set dem' tells you how to get the
list of demangling styles.
print_section_info (t, core_bfd);
}
\f
print_section_info (t, core_bfd);
}
\f
+/* If mourn is being called in all the right places, this could be say
+ `gdb internal error' (since generic_mourn calls mark_breakpoints_out). */
+
+static int
+ignore (addr, contents)
+ CORE_ADDR addr;
+ char *contents;
+{
+}
+
struct target_ops core_ops = {
"core", "Local core dump file",
"Use a core file as a target. Specify the filename of the core file.",
struct target_ops core_ops = {
"core", "Local core dump file",
"Use a core file as a target. Specify the filename of the core file.",
get_core_registers,
0, 0, /* store_regs, prepare_to_store */
xfer_memory, core_files_info,
get_core_registers,
0, 0, /* store_regs, prepare_to_store */
xfer_memory, core_files_info,
- 0, 0, /* core_insert_breakpoint, core_remove_breakpoint, */
+ ignore, ignore, /* core_insert_breakpoint, core_remove_breakpoint, */
0, 0, 0, 0, 0, /* terminal stuff */
0, 0, 0, /* kill, load, lookup sym */
find_default_create_inferior, 0, /* mourn_inferior */
0, 0, 0, 0, 0, /* terminal stuff */
0, 0, 0, /* kill, load, lookup sym */
find_default_create_inferior, 0, /* mourn_inferior */