This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: clean up after index merge
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 13 Jul 2010 15:06:21 -0600
- Subject: FYI: clean up after index merge
I'm checking this in.
I neglected to rebase again before merging the index patches, and
consequently broke the build.
This patch fixes the problem.
I'm sorry about the breakage.
Tom
2010-07-13 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.415
diff -u -r1.415 dwarf2read.c
--- dwarf2read.c 13 Jul 2010 20:52:52 -0000 1.415
+++ dwarf2read.c 13 Jul 2010 20:59:54 -0000
@@ -13108,7 +13108,7 @@
CORE_ADDR
dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *per_cu)
{
- struct objfile *objfile = per_cu->psymtab->objfile;
+ struct objfile *objfile = per_cu->objfile;
return ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
}