home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gdb / bug / 1363 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.5 KB  |  69 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!sedona.intel.com!tmcconne
  3. From: tmcconne@sedona.intel.com (Tom McConnell~)
  4. Subject: Re: Problems debugging g++ code on RS6000 with gdb4.7
  5. Message-ID: <9301110532.AA22341@thunder>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: tmcconne@sedona.intel.com
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Sun, 10 Jan 1993 15:32:38 GMT
  11. Approved: bug-gdb@prep.ai.mit.edu
  12. Lines: 55
  13.  
  14. In article <9301102237.AA20734@cithe303.cithep.caltech.edu>, you write:
  15. > Hello,
  16. > I've tried this question in comp.unix.aix and gnu.g++.help and have gotten
  17. > no responses, I really hope someone here can help me.
  18. > First off I am running AIX3.2 on an RS6000.
  19. > I am using gcc 2.3.2/libg++ 2.3
  20. > I am using gdb 4.7
  21.  
  22.   I would _strongly_ recommend moving to gcc-2.3.3. It has a number of bug fixes
  23. over gcc-2.3.2. Also, make sure that libg++-2.3 is rebuilt using gcc-2.3.3. Just
  24. to be complete, I would also rebuild gdb-4.7 with gcc-2.3.3. It is most
  25. difficult to find the problem sometimes when using tools built with different
  26. versions of the compiler.
  27.  
  28. > I am having problems debugging c++ programs with gdb4.7.
  29. > gdb seems to work OK on small C programs compiled with gcc but I am
  30. > having problems debugging C++ code compiled(-g of course) with g++.
  31. > I should mention that my sys-op says the RS6000 assembly patch(for gcc)  has
  32. > been applied.  Here is an example of what happens when I try to load a
  33. > executable:
  34. > ------------------------------------------------------------------------
  35. > cithe502:wfd > gdb 
  36. > GDB is free software and you are welcome to
  37. > distribute copies of it
  38. >  under certain conditions; type "show copying" to see the conditions.
  39. > There is absolutely no warranty for GDB; type "show warranty" for details.
  40. > GDB 4.7, Copyright 1992 Free Software Foundation, Inc.
  41. > (gdb) file monte
  42. > Reading symbols from monte...GDB Error: `.bf' not found.
  43. > GDB Error: `.bf' not found.
  44. > done.
  45. > (gdb)
  46.  
  47.   I have seen the "`.bf'" errors on and off with different versions of
  48. gcc/libg++/gdb. With my current setup (gcc-2.3.3, libg++-2.3, gdb-4.7) there are
  49. no errors, and I can debug g++ code just fine.
  50.  
  51. > -Chris Walter
  52.  
  53.   Good luck.
  54.  
  55.     Cheers,
  56.  
  57.     Tom McConnell
  58.  
  59.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  60.  Intel, Corp. C3-91     |     Phone: (602)-554-8229
  61.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  62.  Chandler, AZ  85226    | their right mind would claim them.
  63.  
  64.