home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / g / help / 1228 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.3 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!lll-winken!bu.edu!transfer!bluefuzz.sw.stratus.com!lee
  2. From: lee@bluefuzz.sw.stratus.com (Lee Cooprider)
  3. Newsgroups: gnu.g++.help
  4. Subject: Debugger loses track of methods
  5. Message-ID: <6347@transfer.stratus.com>
  6. Date: 14 Sep 92 16:17:29 GMT
  7. Sender: usenet@transfer.stratus.com
  8. Distribution: gnu
  9. Organization: Stratus Computer, Software Engineering
  10. Lines: 20
  11.  
  12. Using Gnu C++ Version 2.2.1 with GDB Version 4.5, I find that after my
  13. application gets to a certain size (or contains a certain module?) I can no
  14. longer set breakpoints at methods names.  All methods get a response like
  15.  
  16.     (gdb) break AddressSpace::getw
  17.     (Cannot find method AddressSpace::getw(AddressSpace, unsigned int)
  18.                              - possibly inlined.)
  19.     The class AddressSpace does not have any method named getw
  20.  
  21. This is true of both inlined and non-inlined methods, and of methods compiled
  22. with the -g flag.
  23.  
  24. If I find the method in the source, and set the breakpoint at the source line,
  25. the breakpoint is correctly described as 'line N in foo::baz',
  26. so the lookup works the other way.
  27.  
  28. Do I have a version skew problem?
  29. -- 
  30. Lee W. Cooprider                PP-ASEL/IA
  31. Lee_Cooprider@vos.stratus.com            Skylane N2908F "Wiley"
  32.