aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-02-03 19:35:54 +0000
committerStu Grossman <grossman@cygnus>1995-02-03 19:35:54 +0000
commita76ef70a1469a892f712549afda41511220462cf (patch)
treef77e4d17351335833522af284cd2546c95b99545 /gdb/top.c
parent1b552670ac82a18385c05fb51fe51b6384a44e29 (diff)
downloadfsf-binutils-gdb-a76ef70a1469a892f712549afda41511220462cf.zip
fsf-binutils-gdb-a76ef70a1469a892f712549afda41511220462cf.tar.gz
fsf-binutils-gdb-a76ef70a1469a892f712549afda41511220462cf.tar.bz2
* core.c (dis_asm_read_memory), defs.h, gdbtk.c (gdb_disassemble),
top.c : Get rid of dis_asm_read_memory_hook. We can now call the disassemblers directly and have no need for this hook anymore. * defs.h, printcmd.c: Make print_insn be static. * ser-go32.c (dos_comisr): Make this 8 bit clean. * (dos_open dos_close): Allow multiple opens to the same device. Use a ref count to prevent unwanted deallocations. * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32 happy. * (sparclite_ops): Switch to download_stratum. * target.h (enum strata): Move download_stratum before process_stratum so that executable targets get pushed on top of download targets.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/top.c b/gdb/top.c
index f035ebe..d958c16 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -419,12 +419,6 @@ int (*target_wait_hook) PARAMS ((int pid, struct target_waitstatus *status));
void (*call_command_hook) PARAMS ((struct cmd_list_element *c, char *cmd,
int from_tty));
-/* An alternate way to read memory for disassembly. This is used to provide a
- switch that allows disassembly to come from an exec file rather than a
- remote target. This is a speed hack. */
-
-int (*dis_asm_read_memory_hook) PARAMS ((bfd_vma memaddr, bfd_byte *myaddr,
- int len, disassemble_info *info));
/* Takes control from error (). Typically used to prevent longjmps out of the
middle of the GUI. Usually used in conjunction with a catch routine. */