gdb/243: problems with C++ compiled by gcc-3.0.*
Mon Oct 1 13:08:00 GMT 2001

>Number:         243
>Category:       gdb
>Synopsis:       problems with C++ compiled by gcc-3.0.*
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 13 11:38:01 PST 2001
>Originator:     Scott Johnston
>Release:        unknown-1.0
Verified on gdb 2001-10-12-cvs built with gcc-3.0.1 on RH Linux 6.2
using "set extension-language .c c++".  C++ source code compiled by
gcc-3.0.1 with  -g -O2 -fPIC  -Wno-deprecated.
De-referencing a pointer (for the gdb print command) to a C++ class
instance yields a message "Value can't be converted to integer."

Setting a breakpoint by line-number (used by emacs M-x gud-break)
yields a "No line <n> in file "<file>". where <n> and <file> are




More information about the Gdb-prs mailing list