Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA/RFC: dump symtab and psymtab lists
Date: Tue, 08 Apr 2003 17:52:00 -0000	[thread overview]
Message-ID: <vt2k7e4ev08.fsf@zenia.red-bean.com> (raw)
In-Reply-To: <3E927CAF.1080704@redhat.com>

Andrew Cagney <ac131313@redhat.com> writes:

> > This patch adds two new commands, 'maint print symtabs' and 'maint
> > print psymtabs', that print out the full and partial symtab lists.
> > You can supply a regexp to match against the (p)symtab name to just
> > list a few.
> > The existing 'maint print symbols' and 'maint print psymbols' are
> > exhaustive, which is useful sometimes, but they produce so much output
> > that they're a pain to use when you just want to see what's up with
> > the symtab and psymtab lists themselves.
> > The output includes expressions you can cut-and-paste into GDB to get
> > a pointer to a specific symtab, psymtab, etc., and it's parenthesized
> > to make the Emacs balanced motion commands work usefully.  The
> > documentation includes examples.
> 
> Jim,
> 
> The `maint print' series of commands should all use the syntax:
> 
> 	(gdb) maint print <component> [ <output-file> ]
> 
> (things todo is check that this is consistent).

Right, but that doesn't make sense for this command.  It doesn't
produce so much output that it needs to be directed to a file ---
that's the reason the existing 'maint print' commands didn't suffice,
even though they include all the info the new commands do.  And the
regexp is really helpful.


  reply	other threads:[~2003-04-08 17:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 23:41 Jim Blandy
2003-04-08  7:39 ` Andrew Cagney
2003-04-08 17:52   ` Jim Blandy [this message]
2003-04-08 21:13     ` Andrew Cagney
2003-04-09  0:09       ` Jim Blandy
2003-04-10  2:10         ` Andrew Cagney
2003-04-10 20:29           ` Jim Blandy
2003-04-10 21:49             ` Andrew Cagney
2003-04-10 21:56               ` Daniel Jacobowitz
2003-04-12  9:34             ` Eli Zaretskii
2003-04-14 18:43               ` Jim Blandy
2003-04-14 18:52                 ` Andrew Cagney
2003-04-14 19:05                   ` David Carlton
2003-04-14 19:27                     ` Andrew Cagney
2003-04-14 22:41                   ` Jim Blandy
2003-04-14 23:40                     ` Andrew Cagney
2003-04-15  1:45                       ` Jim Blandy
2003-04-15 15:49                         ` Andrew Cagney
2003-04-17 22:09                           ` Jim Blandy
2003-04-19  7:40                             ` Eli Zaretskii
2003-05-07 21:43                             ` Jim Blandy

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=vt2k7e4ev08.fsf@zenia.red-bean.com \
    --to=jimb@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@sources.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