* cli/cli-dump.c (struct callback_data): load_offset needs to
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Mar 2007 16:54:02 +0000 (16:54 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Mar 2007 16:54:02 +0000 (16:54 +0000)
have signed long type.

gdb/ChangeLog
gdb/cli/cli-dump.c

index b1756197885f825de50f400715e3d0ccdd1865da..61bdb091912d7f473cfc951e3fbda361aaec5fb5 100644 (file)
@@ -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):
index bbe9d23433eb651dbd25e6d2e87afb80c4aae2d0..7aa8b58ded0177789294ffee16781b279b6656cb 100644 (file)
@@ -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;
 };