diff mbox

[08/21] struct symtab split part 2: breakpoint.c

Message ID 5464aa20.692f460a.0b6b.ffff8ba0@mx.google.com
State New
Headers show

Commit Message

Doug Evans Nov. 13, 2014, 12:54 p.m. UTC
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 mbox

Patch

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);