From 5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 26 Jul 2011 21:09:06 +0000 Subject: [PATCH] 2011-07-26 Sterling Augustine * cli/cli-dump.c (dump_binary_file): Change parameter type to ULONGEST. (dump_bfd_file): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/cli/cli-dump.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a6b5e94a679..2e3736545f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-07-26 Sterling Augustine + + * cli/cli-dump.c (dump_binary_file): Change parameter type to + ULONGEST. + (dump_bfd_file): Likewise. + 2011-07-26 Philippe Waroquiers * 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 248529df165..1b2b5d4d4e6 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; -- 2.30.2