aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-dump.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b175619..61bdb09 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cli/cli-dump.c (struct callback_data): load_offset needs to
+ have signed long type.
+
2007-03-07 Joel Brobecker <brobecker@adacore.com>
* mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
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;
};