From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA03687; Sun, 28 Sep 2003 01:01:27 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA02789 for ; Sun, 28 Sep 2003 01:01:26 +0200 (MET DST) Received: from comtv.ru (comtv.ru [217.10.32.42]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h8RN1O509219 for ; Sun, 28 Sep 2003 01:01:25 +0200 (MET DST) Received: from av1474.oops ([10.0.66.9] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.3) with ESMTP id 13806642; Sun, 28 Sep 2003 03:01:23 +0400 Date: Sun, 28 Sep 2003 03:04:25 +0400 (MSD) From: malc X-X-Sender: malc@home.oyster.ru To: Chris Hecker cc: caml-list@inria.fr Subject: Re: [Caml-list] native mode backtrace patch for 3.06 In-Reply-To: <4.3.2.7.2.20030927035246.03ed7a18@localhost> Message-ID: References: <4.3.2.7.2.20030927035246.03ed7a18@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; malc:01 malc:01 pulsesoft:01 caml-list:01 backtrace:01 3.06:01 hecker:01 backtrace:01 rotate:01 cdc:99 554:99 selm:01 ifi:01 pulsesoft:01 compiler:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, 27 Sep 2003, Chris Hecker wrote: > > I've written a somewhat-hacked backtrace patch for the native mode compiler. I've added a -gb option, and if you build and link with it on, the app prints out a list of the most recent 32 functions called (the code address and name) on a fatal_uncaught_exception, like this: > > Fatal error: exception Not_found > Backtrace: > 31: 0x0045AA28 Math2d__add_71 > 30: 0x0045B7E4 Math2d__rotate_sc_161 > > 3: 0x00438D7C Debugoutput__feature_from_index_191 > 2: 0x00437CDC Debugoutput__fun_562 > 1: 0x00438BA0 Debugoutput__correct_feature_from_limb_175 > 0: 0x00437C2C Debugoutput__fun_554 http://groups.google.com/groups?q=fourth+shared+patch&hl=en&lr=&ie=UTF-8&selm=fa.gbof7hv.fmmo03%40ifi.uio.no&rnum=1 Cross platform support for this was done, nearly one year ago.. (Link is dead, but im not) -- mailto:malc@pulsesoft.com ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners