diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3652bd2..4cd5bde 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> + * remote.c (unpack_varlen_hex): Correct type of retval. + Reported by Zhigang Gong <zhigang.gong@gmail.com>. + +2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> + * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted or missing location list information. Suggested by Jan Kratochvil <lace@jankratochvil.net>. diff --git a/gdb/remote.c b/gdb/remote.c index 687a5d8..7b4f55b 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1188,7 +1188,7 @@ unpack_varlen_hex (char *buff, /* packet to parse */ ULONGEST *result) { int nibble; - int retval = 0; + ULONGEST retval = 0; while (ishex (*buff, &nibble)) { |