Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Jay Levitt" <jay@jay.fm>
To: <gdb@sources.redhat.com>
Subject: Subject: Re: So what is wrong with v3 C++
Date: Thu, 05 Jul 2001 07:25:00 -0000	[thread overview]
Message-ID: <00d201c1055e$66c07c40$9865fea9@office> (raw)

In a message dated 6/30/2001 3:32:10 PM Eastern Daylight Time, Andrew Cagney
ac131313@cygnus.com> writes:


> What makes it especially urgent is that, for people working on the
> standard C++ library implementation, *every* type is in the `std'
> namespace.  So this problem will affect just about every object they
> ever want to print.  And of course, ordinary C++ code will use the
> standard library pretty frequently, too.

Yes, yes, yes!  I posted about this a while back, hoping to start just such
a
discussion, but of course I don't know anything about gdb internals.  I'm
new
to C++ and the STL. It was mind-boggling that The Experts encourage vectors
instead of C++ arrays, and standard lists instead of home-grown ones, yet if
I put my data into STL containers,  I can't actually look at it during
debugging without writing my own data-display wrappers for all my classes,
or
possibly learning the internals of libc++-v3.

And Jim Blandy wrote:

> But until someone fixes stabs, I think it's reasonable to tell C++
> users that GCC only provides sufficient information when using Dwarf 2.

As a C++ user, I would be thrilled to have *any* debug format that allowed
me
to display my own data.  None of the formats works now anyway, so if all I
had to do was change a makefile and upgrade my gdb, I'd be dancing on my
desk.  (That may be a good reason not to implement it.)

Jay Levitt




                 reply	other threads:[~2001-07-05  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='00d201c1055e$66c07c40$9865fea9@office' \
    --to=jay@jay.fm \
    --cc=gdb@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