bug-gdb
[Top][All Lists]
Advanced

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

C++ functions not visible to 'break'


From: Gabriel Zachmann
Subject: C++ functions not visible to 'break'
Date: 4 Sep 2001 08:46:12 GMT
User-agent: slrn/0.9.7.0 (Linux)

When I try to set a breakpoint in a C++ program,
like this

    (gdb) b col::Matrix::check

I get 

    Can't find member of namespace, class, struct, or union named
    "col::Matrix::check"

When I type

    (gdb) b 'col::Matrix::check<TAB>

I get a bell (no completion at all).

When I type

    (gdb) b<TAB><TAB>

I get 

    Display all 1984 possibilities? (y or n)

and when I answer 'y', I see "functions" like

    wint_t
    {anonymous}::MaxNumObjs
    init.c

I also see a few real functions and member functions,
but 1984 are definitely not enough.

What's the deal? What am I doing wrong?

I have compiled my program and all libraries (.so's) with -g3 -ggdb3,
under RedHat 7.1 with g++ 2.96.

Frustrated,
Gab.


-- 
/---------------------------------------------------------------------\
| And what if all of animated nature                                  |
| Be but organic Harps diversely fram'd,                              |
| That tremble into thought, as o'er them sweeps                      |
| Plastic and vast, one intellectual breeze,                          |
| At once the Soul of each, and God of all?  (Samuel Taylor Coleridge)|
|                                                                     |
| address@hidden                 __@/'  address@hidden |
| web.informatik.uni-bonn.de/~zach    __@/'   www.gabrielzachmann.org |
\---------------------------------------------------------------------/



reply via email to

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