diff options
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 64cc5e5..9afb186 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -2364,8 +2364,8 @@ disassemble_dwarf_expression (struct ui_file *stream, if (!name) error (_("Unrecognized DWARF opcode 0x%02x at %ld"), - op, (long) (data - start)); - fprintf_filtered (stream, " % 4ld: %s", (long) (data - start), name); + op, (long) (data - 1 - start)); + fprintf_filtered (stream, " % 4ld: %s", (long) (data - 1 - start), name); switch (op) { |