Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Doug Evans <dje@google.com>
Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org
Subject: Re: [patch, doc RFA] New command-line option -na.
Date: Wed, 15 Dec 2010 06:58:00 -0000	[thread overview]
Message-ID: <E1PSlK2-0002ic-Pj@fencepost.gnu.org> (raw)
In-Reply-To: <AANLkTingUcfwc8X=FPD467ZrHQ+WM+3Ov5TJY2pfbp4J@mail.gmail.com>	(message from Doug Evans on Tue, 14 Dec 2010 22:25:52 -0800)

> Date: Tue, 14 Dec 2010 22:25:52 -0800
> From: Doug Evans <dje@google.com>
> Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org
> 
> On Tue, Dec 14, 2010 at 10:05 PM, Eli Zaretskii <eliz@gnu.org> 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.


  reply	other threads:[~2010-12-15  6:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-11  0:47 Doug Evans
2010-12-11  8:16 ` Eli Zaretskii
2010-12-15  1:40   ` Doug Evans
2010-12-15  6:05     ` Eli Zaretskii
2010-12-15  6:26       ` Doug Evans
2010-12-15  6:58         ` Eli Zaretskii [this message]
2010-12-15  7:09           ` Doug Evans
2010-12-13 18:55 ` Jan Kratochvil
2010-12-13 19:28   ` Doug Evans
2010-12-13 19:36     ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1PSlK2-0002ic-Pj@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox