home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 10016 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  697 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!scd.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpfcmgw!chan
  2. From: chan@hpfcmgw.FC.HP.COM (Chan Benson)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: attaching xdb to a running process...
  5. Message-ID: <17780233@hpfcmgw.FC.HP.COM>
  6. Date: 3 Sep 92 16:00:17 GMT
  7. References: <3739@tivoli.UUCP>
  8. Organization: HP Fort Collins, CO
  9. Lines: 21
  10.  
  11.  
  12. Hi Stuart,
  13.  
  14. A really grody technique you might want to try is to replace your
  15. call to pause with something like
  16.  
  17.     {
  18.         int i = 1;
  19.  
  20.     while (i);
  21.     }
  22.  
  23. And then use xdb to change i to 0
  24.  
  25. >p i = 0
  26.  
  27.  
  28. Give it a shot.
  29.  
  30.             -- Chan Benson
  31.             HP Fort Collins
  32.