diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-23 18:18:41 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-23 18:18:41 +0000 |
commit | f47e56c99f5ca4a6d3f8548f8eeb0038a6e61e7d (patch) | |
tree | 0743287137b2b0087a64bb8e37b31a3a7744f2ae /gdb/corelow.c | |
parent | fcea515b6107bb18e73aabb520624d279dbe58da (diff) | |
download | ppe42-binutils-f47e56c99f5ca4a6d3f8548f8eeb0038a6e61e7d.tar.gz ppe42-binutils-f47e56c99f5ca4a6d3f8548f8eeb0038a6e61e7d.zip |
* exec.c, corelow.c (target_ops struct): Don't allow
{insert,remove}_breakpoints to be defaulted to
memory_{insert_remove}_breakpoint.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index ce39b58440..c2ea30c8ec 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -245,6 +245,16 @@ core_files_info (t) print_section_info (t, core_bfd); } +/* 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.", @@ -253,7 +263,7 @@ struct target_ops core_ops = { 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 */ |