This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1062: no arg types printed in C++ constructor breakpoint menus
- From: carlton at math dot stanford dot edu
- To: gdb-gnats at sources dot redhat dot com
- Date: 15 Feb 2003 00:36:46 -0000
- Subject: c++/1062: no arg types printed in C++ constructor breakpoint menus
- Reply-to: carlton at math dot stanford dot edu
>Number: 1062
>Category: c++
>Synopsis: no arg types printed in C++ constructor breakpoint menus
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 15 00:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: carlton@math.stanford.edu
>Release: GNU gdb 2003-02-14-cvs
>Organization:
>Environment:
RedHat 7.3, i686, GCC 3.1, DWARF-2
>Description:
When printing a menu of constructor breakpoints, the
types of arguments don't appear. Compile this:
class C {
public:
C() {}
C(int) {}
};
int main()
{
C c;
}
and try to break on the constructor:
jackfruit$ /extra/gdb/mirror/src/gdb/gdb a.out
GNU gdb 2003-02-14-cvs
Copyright 2003 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-linux-gnu"...
(gdb) b C::C
[0] cancel
[1] all
[2] C at foo.cc:3
[3] C at foo.cc:3
[4] C at foo.cc:3
> 0
canceled
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: