home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / misc / 4166 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.4 KB

  1. Xref: sparky comp.sys.sun.misc:4166 comp.sys.sun.apps:1881
  2. Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
  3. From: barnett@grymoire.crd.ge.com (Bruce Barnett)
  4. Newsgroups: comp.sys.sun.misc,comp.sys.sun.apps
  5. Subject: Re: Why is .dbxinit read before symbol table?
  6. Message-ID: <BARNETT.92Sep10093357@grymoire.crd.ge.com>
  7. Date: 10 Sep 92 14:33:57 GMT
  8. References: <las68iINN42n@news.bbn.com>
  9. Sender: usenet@crd.ge.com (Required for NNTP)
  10. Reply-To: barnett@crdgw1.ge.com
  11. Organization: GE Corp. R & D, Schenectady, NY
  12. Lines: 17
  13. In-Reply-To: wsadkin@bbn.com's message of 9 Sep 92 15:32:34 GMT
  14. Nntp-Posting-Host: grymoire.crd.ge.com
  15.  
  16. In article <las68iINN42n@news.bbn.com> wsadkin@bbn.com (Will Sadkin) writes:
  17. >   Can anyone tell me why the .dbxinit file (or -s <startup file>) is read
  18. >   *prior* to reading the symbol table for the program being debugged?  To
  19.  
  20. I use my ~/.dbxinit it to define a set of projects. Each one is
  21. associated with a button or menu choice. I can then click on a button
  22. and "goto" the proper directory, read the local .dbxinit file, etc.
  23. Since you can switch from debugging one executable to another on the
  24. fly, it makes sense that the startup of dbx should be separated from
  25. reading the symbol table.
  26.  
  27.  
  28. You can do the same thing by adding a button that does the 
  29. "source .mydbxinit" file on command, or make an alias for it.
  30.  
  31. --
  32. Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
  33.