[commit/ob] fix silly typo
Elena Zannoni
ezannoni@redhat.com
Tue Jul 22 18:16:00 GMT 2003
grrr, I posted and committed the wrong version of the patch. there
was a typo in my local version, while I tested on a remote machine.
elena
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
dwarf2loc.c (locexpr_describe_location): Fix typo.
Index: dwarf2loc.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2loc.c,v
retrieving revision 1.9.8.1
diff -u -p -r1.9.8.1 dwarf2loc.c
--- dwarf2loc.c 22 Jul 2003 15:44:10 -0000 1.9.8.1
+++ dwarf2loc.c 22 Jul 2003 18:11:24 -0000
@@ -427,7 +427,7 @@ locexpr_describe_location (struct symbol
{
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"
More information about the Gdb-patches
mailing list