Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jelmer Vernooij <jelmer@nl.linux.org>
To: Eli Zaretskii <eliz@is.elta.co.il>, Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com, Andrew Cagney <ac131313@redhat.com>
Subject: Re: [PATCH] mi-symbol-*
Date: Sat, 01 Feb 2003 22:08:00 -0000	[thread overview]
Message-ID: <20030201194912.GA17120@vernstok.dyndns.org> (raw)
In-Reply-To: <15818.39944.755909.902776@localhost.redhat.com> <Pine.SUN.3.91.1021106085151.960H-100000@is>

On Wed, Nov 06, 2002 at 08:56:23AM +0200, Eli Zaretskii wrote about 'Re: [PATCH] mi-symbol-*':
> The documentation patch is approved, but please take care of these minor 
> problems before it is committed:
>
>  - Please break all lines inside @smallexample that are longer than 64 
>    characters, otherwise they will produce warnings from TeX and ugly 
>    results in the printed manual.  (You can tell in a note that the 
>    broken line is one long line.)
> 
>  - Why did you add so many empty lines?  IMHO, this produces unpleasant 
>    results, both in the on-line (Info and HTML) and printed formats.
> 
>  - Where you say "pattern", please add that the pattern is a regular 
>    expression.
All fixed; is the update ok?

On Thu, Nov 07, 2002 at 11:59:52AM -0500, Elena Zannoni wrote about 'Re: [PATCH] mi-symbol-*':
> Info_line should return the core addr ranges for a given line number.
> You instead have implemented a different behavior: given a line number
> name, print the line number which we just gave as input, and the file name.
> Also in the usage and error messages, the use of the word 'symbol' is a bit
> inappropriate, because the argument of the command is not a symbol name.
Is there any documentation about the internals of gdb and what the
various terms mean? I do have some knowledge of how executables are
structured, but I don't know any details or specific terms.

>  > +enum mi_cmd_result
>  > +mi_cmd_symbol_info_function (char *command, char **argv, int argc)
>  > +{
>  > +  char *function = "";
>  > +  struct symtabs_and_lines sals;
>  > +  struct symbol *sym;
>  > +  struct minimal_symbol *msym;
>  > +  struct cleanup *old_chain;
>  > +  char *args, **canonical;
>  > +
>  > +  if (argc != 1)
>  > +    error ("mi_cmd_symbol_info_function: Usage: SYMBOL");
>  > +
>  > +  args = argv[0];
>  > +
>  > +  sals = decode_line_1 (&args, 1, NULL, 0, &canonical);
> 
> this one could be ok, but there is contradictory information in the
> current documentation. It was documented as taking a symbol and
> returning the function where the symbol is in, however it suggest that
> it should provide the functionality that a gdbtk function
> provides. That gdbtk function however takes a linespec as argument.
> 
> I think this mi command needs to be revisited.
> So, wait until the issue is cleared.
Any news on the interface?

Thanks,

Jelmer


  reply	other threads:[~2003-02-01 22:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 12:46 Jelmer Vernooij
2002-11-05 22:56 ` Eli Zaretskii
2003-02-01 22:08   ` Jelmer Vernooij [this message]
2003-02-11 17:08   ` Jelmer Vernooij
2003-02-18 18:45   ` Jelmer Vernooij
2002-11-07  9:04 ` Elena Zannoni
2003-04-28 20:23 ` Jelmer Vernooij
  -- strict thread matches above, loose matches on Subject: below --
2003-02-19  6:06 Zaretskii Eli
2002-11-02  9:35 Jelmer Vernooij

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=20030201194912.GA17120@vernstok.dyndns.org \
    --to=jelmer@nl.linux.org \
    --cc=ac131313@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=ezannoni@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