diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-03-26 20:17:36 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-03-26 20:17:36 +0000 |
commit | d5d14a5ade623f2cf9e5dba23c6324bb3b46b025 (patch) | |
tree | fe8894b66f4f7fefc45cbb024b8a9a9adde6eaaf /gdb/dwarf2cfi.c | |
parent | bdd73e2289662f55352e7ad61a16fa45d3d0ec1d (diff) | |
download | gdb-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.c | 2 |
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; } |