aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-03-08 16:54:02 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-03-08 16:54:02 +0000
commit29e4017ddca48d58ac993bd4bae0b108a386dea8 (patch)
treeaef0c14dfa76d40148fc1d7d807e411770db5573 /gdb/cli
parent3dd2d30bfaf9d4755d4d9e9fe60645989c0d4dfa (diff)
downloadgdb-29e4017ddca48d58ac993bd4bae0b108a386dea8.zip
gdb-29e4017ddca48d58ac993bd4bae0b108a386dea8.tar.gz
gdb-29e4017ddca48d58ac993bd4bae0b108a386dea8.tar.bz2
* cli/cli-dump.c (struct callback_data): load_offset needs to
have signed long type.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index bbe9d23..7aa8b58 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -443,7 +443,7 @@ add_dump_command (char *name, void (*func) (char *args, char *mode),
/* Opaque data for restore_section_callback. */
struct callback_data {
- unsigned long load_offset;
+ long load_offset;
CORE_ADDR load_start;
CORE_ADDR load_end;
};