GDB on Fiasco-UX?

Udo A. Steinberg us15 at os.inf.tu-dresden.de
Mon Aug 7 19:44:17 CEST 2006


On Mon, 07 Aug 2006 19:16:06 +0200 Andreas Niederl (AN) wrote:

AN> is Fiasco-UX suited for debugging with GDB?

Yes

AN> [...], but it always results in segmentation faults concerning the 
AN> calls to the cli and sti instructions.

You must tell GDB to ignore SIGSEGV signals and pass them on to Fiasco-UX.
The following at the GDB prompt will do:

handle 11 nostop noprint

Of course you could also do this from .gdbinit. Note that when using Fiasco-UX
with GDB you'll lose the ability to use Fiasco's built-in debugger JDB as
SIGTRAP is used by GDB.

		- Udo

-- 
Dipl.-Inf. Udo Steinberg                     
Technische Universität Dresden               http://os.inf.tu-dresden.de/~us15
Institute for System Architecture            Tel: +49 351 463 38401
D-01062 Dresden                              Fax: +49 351 463 38284
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20060807/9cc80c2d/attachment.asc>


More information about the l4-hackers mailing list