Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Mark Kettenis" <mark.kettenis@xs4all.nl>
To: "Doug Evans" <dje@google.com>
Cc: "Eli Zaretskii" <eliz@gnu.org>,
	brobecker@adacore.com,         gdb-patches@sourceware.org
Subject: Re: too many "no debugging symbols found" messages from shared libs
Date: Fri, 21 Nov 2008 19:24:00 -0000	[thread overview]
Message-ID: <5186.86.86.3.213.1227272244.squirrel@webmail.xs4all.nl> (raw)

>  On Mon, Nov 10, 2008 at 8:19 PM, Daniel Jacobowitz <drow@false.org> wrote:
> > On Tue, Nov 11, 2008 at 06:10:46AM +0200, Eli Zaretskii wrote:
> >> I thought the original patch came with a suggestion to add an option,
> >> in case user wanted to see these messages.
> >
> > OK, I understand now.  I'd be fine with the shared library messages
> > disabled or made consistent under 'set verbose'.  I don't think adding
> > a new option would be great.
>
>  How about this?
>
>  I changed the calls to have_{partial,full}_symbols to two new
>  functions objfile_has_{partial,full}_symbols.  I think it's TRTTD
>  here.
>  This patch also adds a test for info_verbose so the messages are
>  printed for shared libs if verbosity turned on.

Sorry I'm a bit late in this discussion, but I do really like the messages
about missing symbol info for shared libraries.  To me they provide an
important hint that my debugging session is likely to run into problems at
some point. My perspective may be a bit different since I use an operating
system that ships all of its core libraries with full debug info. But we
really shouldn't consider proprietary operating systems as the norm here,
and we should encourage other Open Source systems to ship their libraries
with debug info.

>  2008-11-20  Doug Evans  <dje@google.com>
>
>          * objfiles.h (objfile_has_partial_symbols): Declare.
>          (objfile_has_full_symbols): Declare.
>          * objfiles.c (objfile_has_partial_symbols): New function.
>          (objfile_has_full_symbols): New function.
>          * symfile.c (symbol_file_add_with_addrs_or_offsets): Only print
>          "no debugging symbols found" for main program, unless the user
>          turns on verbosity.
>



             reply	other threads:[~2008-11-21 12:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 19:24 Mark Kettenis [this message]
2008-11-21 22:08 ` Eli Zaretskii
2008-11-22  4:43   ` Doug Evans
2008-11-22  6:38     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-11-22 16:49 Mark Kettenis
2008-11-22 17:49 ` Doug Evans
2008-11-22 21:41   ` Eli Zaretskii
2008-11-24  3:23     ` Paul Pluzhnikov
2008-11-24 16:54       ` Eli Zaretskii
2008-11-24 19:42         ` Doug Evans
2008-10-03 21:35 Doug Evans
2008-10-30  5:19 ` Joel Brobecker
2008-11-07 22:45   ` Doug Evans
2008-11-08  9:15     ` Eli Zaretskii
2008-11-10 16:46       ` Daniel Jacobowitz
2008-11-10 18:32         ` Joel Brobecker
2008-11-10 20:33         ` Eli Zaretskii
2008-11-10 20:51           ` Daniel Jacobowitz
2008-11-11  5:03             ` Eli Zaretskii
2008-11-11  5:34               ` Daniel Jacobowitz
2008-11-21 18:46                 ` Doug Evans
2008-11-21 19:16                   ` Eli Zaretskii

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=5186.86.86.3.213.1227272244.squirrel@webmail.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=brobecker@adacore.com \
    --cc=dje@google.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /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