From: Elena Zannoni Date: Tue, 22 Jul 2003 18:14:21 +0000 (+0000) Subject: 2003-07-22 Elena Zannoni X-Git-Tag: cagney_x86i386-20030821-branchpoint~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f861b8f50089b4990785baa8eb15718e13c846d;p=thirdparty%2Fbinutils-gdb.git 2003-07-22 Elena Zannoni dwarf2loc.c (locexpr_describe_location): Fix typo. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 34ce8826e3a..572ff6f7e68 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-07-22 Elena Zannoni + + dwarf2loc.c (locexpr_describe_location): Fix typo. + 2003-07-22 Elena Zannoni * findvar.c (read_var_value): Remove case for thread local storage diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 01a2ddac940..0c261292cfc 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -427,7 +427,7 @@ locexpr_describe_location (struct symbol *symbol, struct ui_file *stream) { int bytes_read; CORE_ADDR offset = dwarf2_read_address (&dlbaton->data[1], - &dlbaton->data[dlbaton->size - 2], + &dlbaton->data[dlbaton->size - 1], &bytes_read); fprintf_filtered (stream, "a thread-local variable at offset %s in the"