This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH] sparclite sim: make buffer_read_memory match prototype
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] sparclite sim: make buffer_read_memory match prototype
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Fri, 03 Mar 2000 13:14:35 +0000
- Organization: Red Hat UK Ltd.
This makes the prototype of buffer_read_memory() in the sparclite
simulator's func.c match the prototype in include/dis-asm.h.
I changed it to uint32 rather than unsigned int to match the rest of the
code in that file.
Please check this in. Thanks,
Jifl
2000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk>
* func.c (buffer_read_memory): Change type of size to unsigned to
match prototype
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
Index: sim/erc32/func.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/func.c,v
retrieving revision 1.1.1.1
diff -u -5 -p -r1.1.1.1 func.c
--- sim/erc32/func.c 1999/04/16 01:35:00 1.1.1.1
+++ sim/erc32/func.c 2000/03/03 13:14:11
@@ -829,11 +829,11 @@ dis_mem(addr, len, info)
int
buffer_read_memory(addr, buffer, size, info)
bfd_vma addr;
bfd_byte *buffer;
- int32 size;
+ uint32 size;
struct disassemble_info *info;
{
if (size == sis_memory_read(addr, buffer, size))
return (0);
else