aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-03-26 20:17:36 +0000
committerDaniel Jacobowitz <drow@false.org>2003-03-26 20:17:36 +0000
commitd5d14a5ade623f2cf9e5dba23c6324bb3b46b025 (patch)
treefe8894b66f4f7fefc45cbb024b8a9a9adde6eaaf
parentbdd73e2289662f55352e7ad61a16fa45d3d0ec1d (diff)
downloadgdb-d5d14a5ade623f2cf9e5dba23c6324bb3b46b025.zip
gdb-d5d14a5ade623f2cf9e5dba23c6324bb3b46b025.tar.gz
gdb-d5d14a5ade623f2cf9e5dba23c6324bb3b46b025.tar.bz2
From Mark Dettinger <dettinge@de.ibm.com>:
* dwarf2cfi.c (read_2u): Increment pointer by two.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2cfi.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0c73a08..b5f97ab 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
+ From Mark Dettinger <dettinge@de.ibm.com>:
+ * dwarf2cfi.c (read_2u): Increment pointer by two.
+
+2003-03-26 Daniel Jacobowitz <drow@mvista.com>
+
* signals/signals.c: Fix typos in last change.
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c
index 6bedddb..81fa207 100644
--- a/gdb/dwarf2cfi.c
+++ b/gdb/dwarf2cfi.c
@@ -345,7 +345,7 @@ read_2u (bfd *abfd, char **p)
unsigned ret;
ret = bfd_get_16 (abfd, (bfd_byte *) * p);
- (*p)++;
+ (*p) += 2;
return ret;
}