bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot display certain classes using GDB under Cygwin


From: David Sigeti
Subject: Cannot display certain classes using GDB under Cygwin
Date: Mon, 21 Oct 2002 14:04:06 -0600

Dear DDD Maintainers,

I have found that DDD cannot display objects of certain classes, in certain contexts, in the data window. These failures occur when DDD is using GDB under Cygwin to debug code produced by GCC (details below). The objects are displayed as empty boxes or as boxes with just a name when there should be data members. Most of the time (perhaps all the time), the problem occurs when attempting to dereference the this pointer. The failure to properly display an object is associated with a line of the log file such as:

<- "1: *this = warning: can\'t find class named `EnsightIO::UnstructuredPart\', as given by C++ RTTI\n"

(This warning occurs near the end of the attached log file.)

Warnings of this kind can occur in member functions of the class that is identified as being unfindable or in member functions of a base class. In either case, the warning is followed by a description of the class that owns the member function (either the class itself or the base class). I suspect that it is the warning itself that confuses DDD and that in many cases DDD could use the information that follows the warning to properly display the class.

DDD CONFIGURATION:

$ ddd --configuration
GNU DDD 3.3.1 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 3.2 20020818 (prerelease)
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.18)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-10-19 by David Sigeti <sigeti@lanl.gov>.

SYSTEM INFO:

$ uname -a
CYGWIN_NT-5.0 CLAYBURGH 1.3.13(0.62/3/2) 2002-10-13 23:15 i686 unknown

DEBUGGER INFO:

$ gdb --version
GNU gdb 2002-07-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".

Yours,
David

---
Dr. David E. Sigeti
Phone: 505-667-9239
E-mail: sigeti@lanl.gov
Surface mail: X-8, MS-F645, Los Alamos National Laboratory,
              Los Alamos, NM 87545 USA

Attachment: log
Description: Binary data

---
Dr. David E. Sigeti
Phone: 505-667-9239
E-mail: sigeti@lanl.gov
Surface mail: X-8, MS-F645, Los Alamos National Laboratory,
              Los Alamos, NM 87545 USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]