home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12417 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!nntp!ppessi
  3. From: ppessi@vipunen.hut.fi (Pekka Pessi)
  4. Subject: GCC - How to debug a program using ixemlib?
  5. Message-ID: <PPESSI.92Aug18050721@vipunen.hut.fi>
  6. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  7. Nntp-Posting-Host: vipunen.hut.fi
  8. Organization: Helsinki University of Technology, Finland
  9. Date: 18 Aug 92 05:07:21
  10. Lines: 19
  11.  
  12.  
  13.     I have some problems trying to debug GNU GCC compiled programs
  14.     using ixemlib. Is there some way to tell ixemlib that those
  15.     nasty ILLEGALs are really breakpoints made by my debugger?
  16.     Should I link with a libg.a, for instance? (Any hints how
  17.     to get libg.a are approciated.)
  18.  
  19.     Currently I have patched _ixopen not to set tc_TrapCode, but
  20.     it is quite a kluge. I have tried to RTFS but I have not found
  21.     anything suitable.
  22.  
  23.     Also, what can I assume in atexit'ed function? Is stdio still
  24.     working? Or unix compatible system calls? (I want to restore
  25.     stdin to cooked mode and disable all RAW event reporting.) If
  26.     I call restoring function before exit(), it works fine. If it
  27.     is atexit()'ed, result is a meditation moment.
  28.  
  29. --
  30. Pekka Pessi    /    ppessi@niksula.hut.fi
  31.