home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!news.bbn.com!daedalus.bbn.com!wsadkin
- From: wsadkin@bbn.com (Will Sadkin)
- Newsgroups: comp.sys.sun.apps
- Subject: problem when dbx'ing a running process
- Date: 8 Sep 1992 16:33:40 GMT
- Lines: 21
- Sender: wsadkin@daedalus.bbn.com (Will Sadkin)
- Distribution: world
- Message-ID: <laplf4INN53g@news.bbn.com>
- NNTP-Posting-Host: daedalus.bbn.com
-
- --
- I have written a program which fork/execs itself to run dbx on the child
- process (the original program); it's supposed to attach to the child (which
- is paused, waiting for a signal), and use the -sr <file> option to run
- and then remove a startup file. The startup file contains a command to stop
- in a particular routine.
- Unfortunately, the dbx says:
- /tmp/dbxinit.nnnn: 1: no module, procedure or file named `<procname>'
- (dbx)
- When I then type
- (dbx) stop in <procname>
- it works just fine. (I can then type cont, and the program stops right where
- I wanted it to. In my opinion, the init file should work, and this is a bug...
- Anyone have any ideas on how to get around it? (sun?)
-
- /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!"
- -------------------------------------------------------------------------------
-