This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix too many "no debugging symbols found" warnings.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org, pedro at codesourcery dot com
- Date: Wed, 01 Jul 2009 20:47:58 +0300
- Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings.
- References: <20090523232414.BED2B846C2@localhost> <e394668d0906181747x2d0d4b66m272de65010f6b142@mail.gmail.com> <m31vpcp34n.fsf@fleche.redhat.com> <200906222035.48910.pedro@codesourcery.com> <e394668d0906301449n24a083cfo186bd10dd5280c@mail.gmail.com> <8363ed3xkx.fsf@gnu.org> <e394668d0906302047x27957a58ibb19b60b21eb7b9c@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?