From patchwork Thu Nov 13 12:54:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 3689 Received: (qmail 7663 invoked by alias); 13 Nov 2014 12:55:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 7301 invoked by uid 89); 13 Nov 2014 12:55:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 13 Nov 2014 12:54:58 +0000 Received: by mail-pd0-f169.google.com with SMTP id y10so14513041pdj.0 for ; Thu, 13 Nov 2014 04:54:56 -0800 (PST) X-Received: by 10.70.93.10 with SMTP id cq10mr2282064pdb.109.1415883296878; Thu, 13 Nov 2014 04:54:56 -0800 (PST) Received: from sspiff.org (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by mx.google.com with ESMTPSA id c9sm24819939pdn.81.2014.11.13.04.54.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 04:54:56 -0800 (PST) Message-ID: <5464aa20.692f460a.0b6b.ffff8ba0@mx.google.com> Received: by sspiff.org (sSMTP sendmail emulation); Thu, 13 Nov 2014 04:54:04 -0800 Date: Thu, 13 Nov 2014 04:54:04 -0800 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH 08/21] struct symtab split part 2: breakpoint.c X-IsSubscribed: yes 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 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);