home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:15391 comp.sys.m68k:1529
- Newsgroups: comp.unix.questions,comp.sys.m68k
- Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!adams
- From: adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams)
- Subject: Signal handling and ptrace() of sysV68R3.7.xx kernel by Motorola
- Sender: news@news.th-darmstadt.de (The News System)
- Message-ID: <ADAMS.93Jan10212953@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
- Date: Sun, 10 Jan 1993 21:29:53 GMT
- Distribution: comp
- Nntp-Posting-Host: pdv2.fmr.maschinenbau.th-darmstadt.de
- Organization: TH-Darmstadt
- Lines: 23
-
-
- We had GDB-3.5 up and running for 2 years under R[456]..x,
- converting to R7.x exhibited following behaviour:
-
- Unchanged GDB-3.5, compiled under R6.2 and working, stopped itself
- debugging a program telling "Aborted by SIGILL at 0xffffffff
- [SIG_DEFAULT]", if target hits a break point.
-
- ptrace interface of GDB changed to SIGTRAP as proposed in the NEW man
- pages of R7.0, yields same behaviour as above, SIGILL just changed to
- SIGTRAP.
-
- Might there be a problem, that signals sent to the target, are
- also delivered to the debugger?
-
- Up to now my impression was, that the kernel just has to return the
- debugger from its "wait" call and pass the waitstatus including signal
- number of ptraced child as a return value to the debugger.
-
- Were there massive changes regarding kernel interface between
- R6.2 and R7.[01] ?
-
- best adams
-