home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / help / 4801 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.5 KB  |  47 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!sgiblab!news.kpc.com!kpc!whaley
  3. From: whaley@kpc.com (Kenneth Whaley)
  4. Subject: Is there a dbx-mode for DEC's Ultrix dbx?
  5. Message-ID: <whaley.721884027@kpc.com>
  6. Keywords: dbx DECstation
  7. Sender: usenet@kpc.com
  8. Reply-To: mikew@kpc.com
  9. Organization: Kubota Pacific Computers Inc.
  10. Date: Mon, 16 Nov 1992 03:20:27 GMT
  11. Lines: 34
  12.  
  13. Unfortunately, DEC's Ultrix dbx outputs different strings  for breakpoints,
  14. etc. than the dbx that all the "dbx.el"s I've found on the net are
  15. written to work with.  If it were simply a matter of changing the 
  16. regexp of breakpoints, then I could get this to work, but
  17. unfortunately the DEC dbx does not print out the file name at every
  18. breakpoint, only the line number (and the breakpoint number, the function
  19. name, and the PC).
  20.  
  21. The only way I see to get this to work would be to have the dbx-mode
  22. do a "where", find the current stack frame (the one marked with a ">"),
  23. and then go to that file and line number.
  24.  
  25.     (dbx) where
  26.     >  0 main() ["tt.c":5, 0x120000d30]
  27.     (dbx)
  28.  
  29. Since I'm not an EMACS lisp guru and I'm under tight schedules, I'm hoping
  30. that someone else out there has written a dbx.el for DEC's Ultrix dbx that 
  31. can handle the "up", "down", "return", etc. commands, but mostly I'm just
  32. interested in having a pointer into the source while I do "step" and
  33. "next" commands.
  34.  
  35. Any help would be greatly appreciated!
  36.  
  37.     Ken Whaley
  38.  
  39. whaley@kpc.com
  40.  
  41.  
  42. --
  43. Kenneth Whaley
  44. Kubota Pacific Computer, Inc.
  45. 2630 Walsh Avenue
  46. Santa Clara, CA.  95051
  47.