aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-07-22 18:16:05 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-07-22 18:16:05 +0000
commitc193f044f3bda97f0b82c9fef1ec6a43302ede96 (patch)
treed123b753f12554c3e7044fc1dc7ade1c323c7640 /gdb/dwarf2loc.c
parentecc27c311f880150773a48ae50062358cbb5bf3e (diff)
downloadgdb-c193f044f3bda97f0b82c9fef1ec6a43302ede96.zip
gdb-c193f044f3bda97f0b82c9fef1ec6a43302ede96.tar.gz
gdb-c193f044f3bda97f0b82c9fef1ec6a43302ede96.tar.bz2
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
dwarf2loc.c (locexpr_describe_location): Fix typo.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r--gdb/dwarf2loc.c2
1 files changed, 1 insertions, 1 deletions
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"