From a76ef70a1469a892f712549afda41511220462cf Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 3 Feb 1995 19:35:54 +0000 Subject: * 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. --- gdb/core.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/core.c') diff --git a/gdb/core.c b/gdb/core.c index 52bb3aa..974e55c 100644 --- a/gdb/core.c +++ b/gdb/core.c @@ -181,9 +181,6 @@ dis_asm_read_memory (memaddr, myaddr, len, info) int len; disassemble_info *info; { - if (dis_asm_read_memory_hook) - return dis_asm_read_memory_hook (memaddr, myaddr, len, info); - return target_read_memory (memaddr, (char *) myaddr, len); } -- cgit v1.1