home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.misc:4150 comp.sys.sun.apps:1862
- Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!news.bbn.com!daedalus.bbn.com!wsadkin
- From: wsadkin@bbn.com (Will Sadkin)
- Newsgroups: comp.sys.sun.misc,comp.sys.sun.apps
- Subject: Why is .dbxinit read before symbol table?
- Message-ID: <las68iINN42n@news.bbn.com>
- Date: 9 Sep 92 15:32:34 GMT
- Sender: wsadkin@daedalus.bbn.com (Will Sadkin)
- Lines: 25
- NNTP-Posting-Host: daedalus.bbn.com
-
-
- Can anyone tell me why the .dbxinit file (or -s <startup file>) is read
- *prior* to reading the symbol table for the program being debugged? To
- me, this make the whole concept rather useless... I want my startup file
- to contain a line like "stop in init_proc", but dbx just says
- "1: no module, procedure or file named init_proc" when I run it, because it
- hasn't read the symbol table when it tries to run the commands in the file.
-
- WHY OH WHY doesn't it read the symbol table 1st?
-
- I am trying to attach to a running process, and get it to stop when it
- gets to a particular routine (same one every time) without having to type
- it by hand on each run. (This is not a problem on other platforms...)
-
- Can anyone tell me:
- a) if this is possible using sun's dbx?
- b) how do I accomplish it?
-
- Thanks,
- /Will
- -------------------------------------------------------------------------------
- Will Sadkin | "Never draw what you can copy;
- BBN Systems & Technologies | never copy what you can trace;
- wsadkin@bbn.com | never trace what you can cut out and paste down!"
- -------------------------------------------------------------------------------
-