This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 08/21] struct symtab split part 2: breakpoint.c
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 13 Nov 2014 04:54:04 -0800
- Subject: [PATCH 08/21] struct symtab split part 2: breakpoint.c
- Authentication-results: sourceware.org; auth=none
This patch contains the changes to breakpoint.c.
Full ChangeLog: https://sourceware.org/ml/gdb-patches/2014-11/msg00233.html
2014-11-12 Doug Evans <xdje42@gmail.com>
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 6ffa3b0..4a3d9a2 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10205,7 +10205,8 @@ resolve_sal_pc (struct symtab_and_line *sal)
const struct block *b;
struct symbol *sym;
- bv = blockvector_for_pc_sect (sal->pc, 0, &b, sal->symtab);
+ bv = blockvector_for_pc_sect (sal->pc, 0, &b,
+ SYMTAB_COMPUNIT (sal->symtab));
if (bv != NULL)
{
sym = block_linkage_function (b);