aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/cli/cli-dump.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a6b5e94..2e37365 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 248529d..1b2b5d4 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -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;