From 5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 26 Jul 2011 21:09:06 +0000 Subject: 2011-07-26 Sterling Augustine * cli/cli-dump.c (dump_binary_file): Change parameter type to ULONGEST. (dump_bfd_file): Likewise. --- gdb/cli/cli-dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/cli/cli-dump.c') 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; -- cgit v1.1