This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[commit] [PATCH] Memory reads and writes should have size_t length


On Tue, 05 Jun 2012 05:16:05 +0200, Siddhesh Poyarekar wrote:
> OK, thanks for the explanation. Updated patch attached.

Checked in.  (simplified ChangeLog)

tested on {x86_64,x86_64-m32}-fedora18pre-linux-gnu.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2012-06/msg00038.html

--- src/gdb/ChangeLog	2012/06/05 21:18:04	1.14328
+++ src/gdb/ChangeLog	2012/06/05 21:22:30	1.14329
@@ -1,3 +1,14 @@
+2012-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* corefile.c (read_memory, read_stack, write_memory): Accept LEN
+	argument as ssize_t.
+	* gdbcore.h (read_memory, read_stack, write_memory): Likewise.
+	* remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise.
+	* target.c (target_read_stack, target_write_memory)
+	(target_write_raw_memory): Likewise.
+	* target.h (target_read_stack, target_write_memory)
+	(target_write_raw_memory): Likewise.
+
 2012-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* symfile-mem.c: Change gdb_static_assert to ssize_t.

[patch is the same]


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