diff options
author | Jerome Guitton <guitton@adacore.com> | 2005-03-07 11:09:05 +0000 |
---|---|---|
committer | Jerome Guitton <guitton@adacore.com> | 2005-03-07 11:09:05 +0000 |
commit | 187d3d28e20b10b698edf77b54518c27a8c083f2 (patch) | |
tree | ca0b175d5e998ea82cf37831baff0d608e36d6f5 /sim/erc32/func.c | |
parent | 0709bb22464041e573f935abf42b267822c6588e (diff) | |
download | gdb-187d3d28e20b10b698edf77b54518c27a8c083f2.zip gdb-187d3d28e20b10b698edf77b54518c27a8c083f2.tar.gz gdb-187d3d28e20b10b698edf77b54518c27a8c083f2.tar.bz2 |
2005-03-07 Jerome Guitton <guitton@gnat.com>
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
strings.
(clear_accex): Ditto.
* sim/erc32/interf.c: Remove the redeclaration of fprintf.
* sim/erc32/sis.c: Ditto.
* sim/erc32/exec.c: Add missing semicolon.
* sim/erc32/func.c: Remove definitions of generic_print_address,
generic_symbol_at_address, buffer_read_memory and perror_memory, as
they are already defined in opcodes/dis-buf.c.
Diffstat (limited to 'sim/erc32/func.c')
-rw-r--r-- | sim/erc32/func.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sim/erc32/func.c b/sim/erc32/func.c index 7691e32..878d4b2 100644 --- a/sim/erc32/func.c +++ b/sim/erc32/func.c @@ -827,49 +827,6 @@ dis_mem(addr, len, info) } } -int -buffer_read_memory(addr, buffer, size, info) - bfd_vma addr; - bfd_byte *buffer; - uint32 size; - struct disassemble_info *info; -{ - if (size == sis_memory_read(addr, buffer, size)) - return (0); - else - return (1); -} - -void -perror_memory(status, addr, info) - int32 status; - bfd_vma addr; - struct disassemble_info *info; -{ - - printf("Could not read address 0x%08x\n", (unsigned int) addr); -} - -void -generic_print_address(addr, info) - bfd_vma addr; - struct disassemble_info *info; -{ - - printf("0x%x", (unsigned int) addr); -} - -/* Just return the given address. */ - -int -generic_symbol_at_address (addr, info) - bfd_vma addr; - struct disassemble_info * info; -{ - return 1; -} - - /* Add event to event queue */ void |