[RFA] Fix too many "no debugging symbols found" warnings.

Eli Zaretskii eliz@gnu.org
Wed Jul 1 17:48:00 GMT 2009


> Date: Tue, 30 Jun 2009 20:47:05 -0700
> From: Doug Evans <dje@google.com>
> Cc: tromey@redhat.com, gdb-patches@sourceware.org, pedro@codesourcery.com
> 
> On Tue, Jun 30, 2009 at 8:13 PM, Eli Zaretskii<eliz@gnu.org> wrote:
> >> Date: Tue, 30 Jun 2009 14:49:25 -0700
> >> From: Doug Evans <dje@google.com>
> >> Cc: Tom Tromey <tromey@redhat.com>, gdb-patches <gdb-patches@sourceware.org>,
> >>         Pedro Alves <pedro@codesourcery.com>
> >>
> >> Eli, are the docs ok?
> >
> > The text is okay, but I'm not sure it is accurate wrt the implementation.
> >
> >> +The @code{set print symbol-loading-warnings} command allows you to enable or
> >> +disable printing of warning messages when @value{GDBN} implicitly loads symbols
> >> +for files.
> >
> > This text seems to say that we will print a warning when symbols are
> > loaded ``implicitly'', whatever that means.  But in fact, aren't the
> > warnings issued for files that have _no_ debugging symbols at all?
> 
> s/implicitly loads symbols for files/tries to load symbols for a file
> and finds the file has no symbols/
> ?

I suggest this variant:

  The @code{set print symbol-loading-warnings} command allows you to
  enable or disable printing of warning messages when @value{GDBN}
  loads an executable or a library that has no debugging symbols.

WDYT?



More information about the Gdb-patches mailing list