aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2011-07-26 21:09:06 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2011-07-26 21:09:06 +0000
commit5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b (patch)
tree2a86d04973a5fce4634f21e50125c9f038d640ac /gdb/cli
parent480a3f21c0e24c01710eae60a9ac75f0c3eca997 (diff)
downloadgdb-5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b.zip
gdb-5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b.tar.gz
gdb-5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b.tar.bz2
2011-07-26 Sterling Augustine <saugustine@google.com>
* cli/cli-dump.c (dump_binary_file): Change parameter type to ULONGEST. (dump_bfd_file): Likewise.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-dump.c4
1 files changed, 2 insertions, 2 deletions
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;