Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Peng Yu <pengyu.ut@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: How to print the return value of template member functions (C++)?
Date: Thu, 04 Jan 2007 22:45:00 -0000	[thread overview]
Message-ID: <20070104224509.GA32684@nevyn.them.org> (raw)
In-Reply-To: <366c6f340701041434y4d8f7dd9yec045c531e0ca261@mail.gmail.com>

On Thu, Jan 04, 2007 at 04:34:36PM -0600, Peng Yu wrote:
> g++-3.4 (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-13sarge1)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> The gcc version is shown above. But how to make sure it is because gcc
> bugs? Shall I use a later version?

I tried it for you.  It fails with 3.4 and succeeds with 4.1.

I don't know if it's a GDB bug or a g++ bug; they are definitely very
different debug info.  It really could be either.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-01-04 22:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <366c6f340701031704i5437d6a9m6c5d3454b9fdce01@mail.gmail.com>
2007-01-04 13:37 ` Andreas Schwab
2007-01-04 19:22   ` Daniel Jacobowitz
2007-01-04 22:06     ` Peng Yu
2007-01-04 22:09       ` Daniel Jacobowitz
2007-01-04 22:34         ` Peng Yu
2007-01-04 22:45           ` Daniel Jacobowitz [this message]

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=20070104224509.GA32684@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=pengyu.ut@gmail.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