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.
This commit is contained in:
Jerome Guitton
2005-03-07 11:09:05 +00:00
parent 0709bb2246
commit 187d3d28e2
6 changed files with 75 additions and 112 deletions

View File

@@ -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