public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 08/21] struct symtab split part 2: breakpoint.c
@ 2014-11-13 12:55 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2014-11-13 12:55 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-13 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 12:55 [PATCH 08/21] struct symtab split part 2: breakpoint.c Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).