From: Ulrich Weigand Date: Thu, 8 Mar 2007 16:54:02 +0000 (+0000) Subject: * cli/cli-dump.c (struct callback_data): load_offset needs to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29e4017ddca48d58ac993bd4bae0b108a386dea8;p=binutils-gdb.git * cli/cli-dump.c (struct callback_data): load_offset needs to have signed long type. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b1756197885..61bdb091912 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-03-08 Ulrich Weigand + + * cli/cli-dump.c (struct callback_data): load_offset needs to + have signed long type. + 2007-03-07 Joel Brobecker * 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 bbe9d23433e..7aa8b58ded0 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; };