aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-11-03 22:40:14 +0000
committerStu Grossman <grossman@cygnus>1994-11-03 22:40:14 +0000
commit78b459a7e7d0930a3ac1c4ca2fe4706559675cdc (patch)
tree1b0c70f4dee13d9078ee9b823d1f7803e0521fef /gdb/corelow.c
parentdd830c247d9f309090f43493d14cc0889ced19cc (diff)
downloadfsf-binutils-gdb-78b459a7e7d0930a3ac1c4ca2fe4706559675cdc.zip
fsf-binutils-gdb-78b459a7e7d0930a3ac1c4ca2fe4706559675cdc.tar.gz
fsf-binutils-gdb-78b459a7e7d0930a3ac1c4ca2fe4706559675cdc.tar.bz2
* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c, remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, w89k-rom.c, target.c, target.h: Add support for target_stop(). * gdbtk.c (gdb_stop): Switch to target_stop(). * ChangeLog: Fix comment to make shebs happy...
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c56
1 files changed, 39 insertions, 17 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 235b043..90196b9 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -327,23 +327,45 @@ ignore (addr, 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.",
- core_open, core_close,
- find_default_attach, core_detach, 0, 0, /* resume, wait */
- get_core_registers,
- 0, 0, /* store_regs, prepare_to_store */
- xfer_memory, core_files_info,
- 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, /* can_run */
- 0, /* notice_signals */
- core_stratum, 0, /* next */
- 0, 1, 1, 1, 0, /* all mem, mem, stack, regs, exec */
- 0, 0, /* section pointers */
- OPS_MAGIC, /* Always the last thing */
+ "core", /* to_shortname */
+ "Local core dump file", /* to_longname */
+ "Use a core file as a target. Specify the filename of the core file.", /* to_doc */
+ core_open, /* to_open */
+ core_close, /* to_close */
+ find_default_attach, /* to_attach */
+ core_detach, /* to_detach */
+ 0, /* to_resume */
+ 0, /* to_wait */
+ get_core_registers, /* to_fetch_registers */
+ 0, /* to_store_registers */
+ 0, /* to_prepare_to_store */
+ xfer_memory, /* to_xfer_memory */
+ core_files_info, /* to_files_info */
+ ignore, /* to_insert_breakpoint */
+ ignore, /* to_remove_breakpoint */
+ 0, /* to_terminal_init */
+ 0, /* to_terminal_inferior */
+ 0, /* to_terminal_ours_for_output */
+ 0, /* to_terminal_ours */
+ 0, /* to_terminal_info */
+ 0, /* to_kill */
+ 0, /* to_load */
+ 0, /* to_lookup_symbol */
+ find_default_create_inferior, /* to_create_inferior */
+ 0, /* to_mourn_inferior */
+ 0, /* to_can_run */
+ 0, /* to_notice_signals */
+ 0, /* to_stop */
+ core_stratum, /* to_stratum */
+ 0, /* to_next */
+ 0, /* to_has_all_memory */
+ 1, /* to_has_memory */
+ 1, /* to_has_stack */
+ 1, /* to_has_registers */
+ 0, /* to_has_execution */
+ 0, /* to_sections */
+ 0, /* to_sections_end */
+ OPS_MAGIC, /* to_magic */
};
void