aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2cfi.c
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 /gdb/dwarf2cfi.c
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.
Diffstat (limited to 'gdb/dwarf2cfi.c')
-rw-r--r--gdb/dwarf2cfi.c2
1 files changed, 1 insertions, 1 deletions
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;
}