From d5d14a5ade623f2cf9e5dba23c6324bb3b46b025 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 26 Mar 2003 20:17:36 +0000 Subject: From Mark Dettinger : * dwarf2cfi.c (read_2u): Increment pointer by two. --- gdb/dwarf2cfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2cfi.c') 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; } -- cgit v1.1