home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6142 < prev    next >
Encoding:
Text File  |  1992-09-13  |  2.3 KB  |  69 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!fornax!oneill
  3. From: oneill@cs.sfu.ca (Richard O'Neill)
  4. Subject: Re: 3.0 gdb does not work? (Oh yes it does!)
  5. Message-ID: <1992Sep13.234632.27806@cs.sfu.ca>
  6. Keywords: gdb
  7. Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
  8. References: <1992Sep12.092712.706@extropia.wimsey.bc.ca>
  9. Date: Sun, 13 Sep 1992 23:46:32 GMT
  10. Lines: 57
  11.  
  12. Miron Cuperman <miron@extropia.wimsey.bc.ca> writes:
  13. >When I try to run gdb, it fails to even create the child process.
  14. >For example, trying gdb on /bin/cat:
  15.  
  16. Well, I took your example and tried it myself on my NS 3.0 (release) machine
  17. and it worked fine...
  18.  
  19. Maybe your 3.0 installation is screwed or something...
  20.  
  21.     Richard.
  22.  
  23. (Boring details follow...)
  24.  
  25. >% gdb -nx /bin/cat
  26. >Reading symbol data from /bin/cat...
  27. >(no debugging symbols found)...done.
  28. >Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
  29. >(gdb) b abort
  30. >Breakpoint 1 at 0x505358a
  31. >(gdb) run
  32. >Starting program: /bin/cat 
  33. >Program generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  34. >Program generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  35. >Program generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  36. >Program generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  37. >Program generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  38. >^CProgram generated(1): Memory access exception on address 0x7d6f8 (invalid address).
  39. >Quit
  40. >0x501e7fa in _cproc_fork_child ()
  41. >(gdb) bt
  42. >#0  0x501e7fa in _cproc_fork_child ()
  43. >#1  0x502e444 in _cthread_fork_child ()
  44. >#2  0x5008544 in fork ()
  45. >#3  0x2ff2e in ?? ()
  46. >#4  0x1b83e in ?? ()
  47. >#5  0x3bea in ?? ()
  48. >#6  0x25d30 in ?? ()
  49. >#7  0x3cb8 in ?? ()
  50. >#8  0x3a78 in ?? ()
  51. >(gdb) 
  52.  
  53. % gdb /bin/cat
  54. Reading symbol data from /bin/cat...
  55. (no debugging symbols found)...done.
  56. Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
  57. (gdb) run
  58. Starting program: /bin/cat 
  59. No apparent problems here...
  60. No apparent problems here...
  61. ^D
  62. Program exited normally.
  63. (gdb) Quit
  64. -- 
  65. Composing a suitably apt and witty | [Mail to home machine is down right now]
  66. signature and disclaimer is left   | oneill@fornax.UUCP | NeXTmail OK, but
  67. as an exercise for the reader.     | oneill@cs.sfu.ca   | not >100K OK!
  68.