This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] sparclite sim: make buffer_read_memory match prototype


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]