From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1442 invoked by alias); 15 Dec 2010 06:58:57 -0000 Received: (qmail 1419 invoked by uid 22791); 15 Dec 2010 06:58:56 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Dec 2010 06:58:52 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PSlK2-0002ic-Pj; Wed, 15 Dec 2010 01:58:46 -0500 From: Eli Zaretskii To: Doug Evans CC: jan.kratochvil@redhat.com, gdb-patches@sourceware.org In-reply-to: (message from Doug Evans on Tue, 14 Dec 2010 22:25:52 -0800) Subject: Re: [patch, doc RFA] New command-line option -na. Reply-to: Eli Zaretskii References: <20101211004734.E48242461AD@ruffy.mtv.corp.google.com> <83ei9o209o.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Wed, 15 Dec 2010 06:58:00 -0000 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: 2010-12/txt/msg00283.txt.bz2 > Date: Tue, 14 Dec 2010 22:25:52 -0800 > From: Doug Evans > Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org > > On Tue, Dec 14, 2010 at 10:05 PM, Eli Zaretskii wrote: > > "Startup" is not well defined, from the user's POV.  The manual uses > > that term loosely as something vaguely understandable by everyone. > > Wearing my user's hat, when I type "gdb core" or "gdb -p 1234", > > everything GDB does before I get my first prompt is "startup".  That > > includes loading shared libraries (unless auto-solib-add is OFF), > > AFAIK. > > Actually, give it a try. > > $ gdb hello > (gdb) info shared > No shared libraries loaded at this time. > (gdb) What about "gdb core" or "gdb -p PID"? These are the 2 use-cases I mentioned that involve loading the shared libraries. I know that "gdb hello" doesn't do that until you actually run the inferior. > >  If the command line specified a program to debug, or a process to > >  attach to, or a core file, @value{GDBN} loads any auto-loaded > >  scripts provided for the program or for its loaded shared libraries. > >  @xref{Auto-Loading}. > > Works for me, but I'll take out "or for its loaded shared libraries". Ok? Let's not decide until we are done discussing the above two use-cases. > The option is only applicable to Python scripts today, so > why not leave it where it is? > We can always move it later. > But I'll go with mentioning python in the command's text. That's fine with me, as I wrote. Thanks.