diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-07-22 18:14:21 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-07-22 18:14:21 +0000 |
commit | 7f861b8f50089b4990785baa8eb15718e13c846d (patch) | |
tree | d88010efb21daf921db757a15c852e5b35fb6a5e | |
parent | 8b4748f6c20bb5b439441310ac65411b016c55f0 (diff) | |
download | gdb-7f861b8f50089b4990785baa8eb15718e13c846d.zip gdb-7f861b8f50089b4990785baa8eb15718e13c846d.tar.gz gdb-7f861b8f50089b4990785baa8eb15718e13c846d.tar.bz2 |
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
dwarf2loc.c (locexpr_describe_location): Fix typo.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 34ce882..572ff6f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ 2003-07-22 Elena Zannoni <ezannoni@redhat.com> + + dwarf2loc.c (locexpr_describe_location): Fix typo. + +2003-07-22 Elena Zannoni <ezannoni@redhat.com> * findvar.c (read_var_value): Remove case for thread local storage variables. It is now entirely handled by the dwarf2 location diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 01a2dda..0c26129 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" |