OSDN Git Service

2011-07-26 Sterling Augustine <saugustine@google.com>
authorppluzhnikov <ppluzhnikov>
Tue, 26 Jul 2011 21:09:05 +0000 (21:09 +0000)
committerppluzhnikov <ppluzhnikov>
Tue, 26 Jul 2011 21:09:05 +0000 (21:09 +0000)
* cli/cli-dump.c (dump_binary_file): Change parameter type to
ULONGEST.
(dump_bfd_file): Likewise.

gdb/ChangeLog
gdb/cli/cli-dump.c

index a6b5e94..2e37365 100644 (file)
@@ -1,3 +1,9 @@
+2011-07-26  Sterling Augustine  <saugustine@google.com>
+
+       * cli/cli-dump.c (dump_binary_file): Change parameter type to
+       ULONGEST.
+       (dump_bfd_file): Likewise.
+
 2011-07-26  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
 
        * remote.c (remote_region_ok_for_hw_watchpoint): New function.
index 248529d..1b2b5d4 100644 (file)
@@ -174,7 +174,7 @@ append_command (char *cmd, int from_tty)
 
 static void
 dump_binary_file (const char *filename, const char *mode, 
-                 const bfd_byte *buf, int len)
+                 const bfd_byte *buf, ULONGEST len)
 {
   FILE *file;
   int status;
@@ -188,7 +188,7 @@ dump_binary_file (const char *filename, const char *mode,
 static void
 dump_bfd_file (const char *filename, const char *mode, 
               const char *target, CORE_ADDR vaddr, 
-              const bfd_byte *buf, int len)
+              const bfd_byte *buf, ULONGEST len)
 {
   bfd *obfd;
   asection *osection;