From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32491 invoked by alias); 17 Nov 2008 19:36:15 -0000 Received: (qmail 32464 invoked by uid 22791); 17 Nov 2008 19:36:14 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Nov 2008 19:35:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id AF4CC10DB0; Mon, 17 Nov 2008 19:35:32 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 47E9810D50; Mon, 17 Nov 2008 19:35:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1L29sh-0004ZP-N2; Mon, 17 Nov 2008 14:35:31 -0500 Date: Mon, 17 Nov 2008 23:35:00 -0000 From: Daniel Jacobowitz To: Paul Pluzhnikov Cc: Joel Brobecker , Eli Zaretskii , msnyder@vmware.com, gdb-patches@sourceware.org Subject: Re: [RFA] [patch] 'info symbol' to print more info Message-ID: <20081117193531.GA17547@caradoc.them.org> Mail-Followup-To: Paul Pluzhnikov , Joel Brobecker , Eli Zaretskii , msnyder@vmware.com, gdb-patches@sourceware.org References: <20081114204617.A4A533A6B15@localhost> <491DF12A.5090903@vmware.com> <8ac60eac0811141406h4bb126c0sbd898e7d612f46dd@mail.gmail.com> <491E08BF.2050609@vmware.com> <8ac60eac0811150842x78206050t435c6f8c89ddc8ae@mail.gmail.com> <8ac60eac0811151022w13df6899v13bb321ee08aae09@mail.gmail.com> <20081115190118.GL12802@adacore.com> <8ac60eac0811171112x5b555146lefb27f36e773ac25@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0811171112x5b555146lefb27f36e773ac25@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00440.txt.bz2 This discussion seems to have wandered far afield from Paul's reasonable patch :-( On Mon, Nov 17, 2008 at 11:12:45AM -0800, Paul Pluzhnikov wrote: > > For instance, there was this discussion > > about not printing the name of the objfile if MULTI_OBJFILE_P. If we > > get rid of that, does it reduce the number of cases? > > I think the answer is no, because we still have to check for: > > && osect->objfile && osect->objfile->name I suspect that can be an assert, or you could use "". If that helps. I can't imagine where we'd get an objfile section without an objfile. -- Daniel Jacobowitz CodeSourcery