Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Marcel Lanz <marcel.lanz@ds9.ch>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb, c++ & namespaces
Date: Wed, 14 Jan 2004 13:49:00 -0000	[thread overview]
Message-ID: <20040114134920.GA29776@ds9.ch> (raw)
In-Reply-To: <20040114120213.684F44B104@berman.michael-chastain.com>

I have gdb-6.0 now. same compiler.

dp is a pointer to a instance like:

DatagramPacket* dp;

on the prompt I do:

(netsilicon-gdb) print *dp
warning: can't find class named `tnos::net::DatagramPacket', as given by
C++ RTTI
$2 = {_vptr.DatagramPacket = 0xeffb0, ia = 0x206548, isa = 0x206690,
buffer = 0x206558 "", bufferLength = 0xff, length = 0xff}

tnos::net::DatagramPacket is a class in the namespace tnos::net

any ideas ?

I've read about two debug formats: stabs and dwarf. In the manual of Mr.
Stallman, stabs is recommended "for best results" with c++.

regards Marcel

On Wed, Jan 14, 2004 at 07:02:13AM -0500, Michael Elizabeth Chastain wrote:
> > But It would be interesting to me to know why it fails ? just a line.
> 
> Honestly, we have so much work to do for gdb 6.0 and gdb 6.1,
> it's unlikely that anyone will want to diagnose a problem with
> gdb 5.2.1.  So you might get a response to this, but don't be
> surprised if you don't.
> 
> Michael C
> GDB QA Guy

-- 
Marcel Lanz
http://www.ds9.ch/lanz/
marcel.lanz@ds9.ch | marcel.lanz@n-1.ch
GnuPG: F975 C6F7 04C8 642B 6DF4  4DF4 2945 F02A 797E 7DAB


  parent reply	other threads:[~2004-01-14 13:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 12:02 Michael Elizabeth Chastain
2004-01-14 12:43 ` Marcel Lanz
2004-01-14 13:49 ` Marcel Lanz [this message]
2004-01-14 13:55   ` Daniel Jacobowitz
2004-01-14 15:29   ` Andrew Cagney
2004-01-14 15:35     ` Marcel Lanz
2004-01-14 16:00       ` Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2004-01-15 12:51 Michael Elizabeth Chastain
2004-01-15 14:07 ` Marcel Lanz
2004-01-15 14:26 ` Robert Zeh
2004-01-16 22:09 ` Gabriel Dos Reis
2004-01-14 14:17 Michael Elizabeth Chastain
2004-01-14 14:26 ` Marcel Lanz
2004-01-15  8:02 ` Eli Zaretskii
2004-01-16 22:04   ` Gabriel Dos Reis
2004-01-14 11:36 Michael Elizabeth Chastain
2004-01-14 11:54 ` Marcel Lanz
2004-01-14 10:16 Marcel Lanz

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=20040114134920.GA29776@ds9.ch \
    --to=marcel.lanz@ds9.ch \
    --cc=gdb@sources.redhat.com \
    --cc=mec.gnu@mindspring.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