aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-04-16 00:30:24 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-04-16 00:30:24 +0000
commit060dc71d214a80f4efcb3133935f133c7898a982 (patch)
tree622ab8eee3539cb655c9216b748c595eb256879e /bfd
parent897dafdda2e457a9543ec50668d73154b574149b (diff)
downloadgdb-060dc71d214a80f4efcb3133935f133c7898a982.zip
gdb-060dc71d214a80f4efcb3133935f133c7898a982.tar.gz
gdb-060dc71d214a80f4efcb3133935f133c7898a982.tar.bz2
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/dwarf2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3edd91d..1650199 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-15 Alexandre Oliva <aoliva@redhat.com>
+
+ * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
+ 2003-04-09's change.
+
2003-04-15 Brian Ford <ford@vss.fsi.com>
* peicode.h (coff_swap_scnhdr_in): If a section holds
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index c4a4423..7a9e5b0 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -1951,7 +1951,7 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
else if (addr_size == 8)
{
length = read_8_bytes (abfd, stash->info_ptr);
- stash->info_ptr = 8;
+ stash->info_ptr += 8;
}
else
stash->info_ptr += 4;