mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user