Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Unable to define breakpoint at a method.
@ 2003-11-07  6:40 Janarthanan, Bhagatram
  2003-11-07 16:12 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Janarthanan, Bhagatram @ 2003-11-07  6:40 UTC (permalink / raw)
  To: gdb

Hi all,

	I am trying to define a debug breakpoint at a method of a class
which is included through a shared library(linux - ".so"). I used g++
with '-g' to compile. The library has been dynamically loaded into the
executable.

============	
(gdb) b Controller::instance_
the class Controller does not have any method named instance_
Hint: try 'Controller::instance_<TAB> or 'Controller::instance_<ESC-?>
(Note leading single quote.)
(gdb) b Controller::instance_
instance_add_vars(Snr_instance_t*)
instance_match_suppliers(Snr_instance_t*, Snr_group_t*)
(gdb) b Controller::instance_add_vars
the class Controller does not have any method named instance_add_vars
Hint: try 'Controller::instance_add_vars<TAB> or
'Controller::instance_add_vars<ESC-?>
(Note leading single quote.)
(gdb) b Controller::instance_add_vars(Snr_instance_t*)
Function "Controller::instance_add_vars(Snr_instance_t*)" not defined.
=====================

	As shown above, it does display the symbol when I enter TAB-TAB.
But it saya there is no such method when I enter the complete method. Is
there anything I am missing?

-Thanks
Bhagat


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-07 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07  6:40 Unable to define breakpoint at a method Janarthanan, Bhagatram
2003-11-07 16:12 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox