1752815 Members
6223 Online
108789 Solutions
New Discussion

about gdb?

 
jack_8
Contributor

about gdb?

I want to use gdb to debug my C++ program. But when I try breakpoint menu(such as "b print". if I have some overloaded function print, it should show me a menu to let me choose which "print" i want to add break point). but on my machine ( I use hp 11.0 and aCC 3.25 and hp gdb 2.0), I was told A::print was not found.(In my program, there is a class named A which cotain some overloaded methods named print(...)). But I can list the file which contains the class A. I use aCC compiling my program. Is it the reason? but it said gdb can recongize the file compiled by aCC in hp website. I want to know the reason?