Article View: gnu.gdb.bug
Article #456Debugging C++ using Gdb
From: Xijin Shen
Date: Thu, 08 Oct 1992 20:15
Date: Thu, 08 Oct 1992 20:15
20 lines
858 bytes
858 bytes
I begin to use Gdb 4.5 to debug c++ code, although I compiled these codes
using "-g", but I couldn't set breakpoints by functions:
(gdb) b draw::draw
The class draw does not have any method named draw
while I can set breakpoints by linenumbers:
(gdb) b draw.C:50
Breakpoint 2 at 0x21210: file draw.C, line 50.
Any ideas about this.
- Xijin
--
Best Regards,
Xijin
Technical Details
Message-ID:
<1992Oct8.201558.2609@clouso.crim.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iro.umontreal.CA!xijinShow Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iro.umontreal.CA!xijin From: xijin@iro.umontreal.CA (Xijin Shen) Subject: Debugging C++ using Gdb Message-ID: <1992Oct8.201558.2609@clouso.crim.ca> Sender: gnulists@ai.mit.edu Organization: CRIM Distribution: gnu Date: Thu, 8 Oct 1992 20:15:58 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 21