Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb namespaces/wrapper bug?
Date: Thu, 15 Jan 2004 16:30:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0401151721110.20336@f012> (raw)
In-Reply-To: <20040115144949.GA26765@nevyn.them.org>

> Could you try CVS gdb?  I think the segfault has been fixed.  I may be
> mistaken about that, though.  This is related to
> lookup_transparent_type, which David has been doing some work on (and
> has more pending).

Hi Daniel,

Indeed, the infinite loop/segfault is gone with CVS gdb, however, the
behaviour is not yet as desired :)

====================================================================
[klaas@c014 /tmp]$ /usr/local/bin/gdb ./a.out
GNU gdb 2004-01-15-cvs
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) break wrapper.cpp:17
Breakpoint 1 at 0x80484f4: file wrapper.cpp, line 17.
(gdb) run
Starting program: /tmp/a.out

Breakpoint 1, main () at wrapper.cpp:17
17        Foo mywrapped;
(gdb) next
18        return 0;
(gdb) display mywrapped
1: mywrapped = {<> = {<No data fields>}, <No data fields>}
======================================================================

So mywrapped is now reported to be empty, where I expected to see
something like

1: mywrapped = {<Foo> = {<No data fields>}, <No data fields>}

regards,

klaas


      parent reply	other threads:[~2004-01-15 16:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15 12:37 Klaas Gadeyne
2004-01-15 14:49 ` Daniel Jacobowitz
2004-01-15 15:43   ` Elena Zannoni
2004-01-15 16:30   ` Klaas Gadeyne [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=Pine.LNX.4.58.0401151721110.20336@f012 \
    --to=klaas.gadeyne@mech.kuleuven.ac.be \
    --cc=drow@mvista.com \
    --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