Path: utzoo!attcan!uunet!husc6!purdue!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: Core files ... it works Keywords: core data bss XINU, save/restore regs Message-ID: <12303@mimsy.UUCP> Date: 4 Jul 88 16:37:07 GMT References: <344@ajpo.sei.cmu.edu> <441@anagld.UUCP> <790@scubed.UUCP> <551@philmds.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 10 In article <551@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes: >How about using setjmp() and longjmp()? Isn't that a - fairly - portable way >to get/restores the registers? Alas, no. It may not save and restore *any* registers, especially given the statement in the dpANS that local variables must be declared `volatile' to get any guarantee from longjmp(). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris