Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Christopher Faylor Message-ID: <19990210095912.A31857@cygnus.com> Date: Wed, 10 Feb 1999 09:59:12 -0500 To: Ian Collins , "Gnu-Win32 (E-mail)" Subject: Re: Does anyone have attachable gdb References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: ; from Ian Collins on Wed, Feb 10, 1999 at 05:21:46PM +1300 The pc = 0xwhatever represent the addresses. You can use gdb or addr2line to decode the addresses. With gdb: l *0x401081 With addr2line: addr2line -e yourexecutable.exe 0x401081 On Wed, Feb 10, 1999 at 05:21:46PM +1300, Ian Collins wrote: >Also, I don't want to belabor a point, but what the heck do you do with the >friendly core files created, eg, > >[main] ug 19141 (0) exception: trapped! > >[main] ug 19141 (0) exception: code 0xC0000094 at 0x40109B > >[main] ug 19141 (0) exception: ax 0x1 bx 0x244FF60 cx 0x1 dx 0x0 > >[main] ug 19141 (0) exception: si 0x244FF62 di 0x0 bp 0x244FF30 sp 0x244FF30 > >[main] ug 19141 (0) exception: exception is: STATUS_INTEGER_DIVIDE_BY_ZERO > >[main] ug 19141 (0) stack: Stack trace: > >[main] ug 19141 (0) stack: frame 0: sp = 0x244FD4C, pc = 0x6100A2C3 > >[main] ug 19141 (0) stack: frame 1: sp = 0x244FD88, pc = 0x77F94512 > >[main] ug 19141 (0) stack: frame 2: sp = 0x244FDAC, pc = 0x77F88EEB > >[main] ug 19141 (0) stack: frame 3: sp = 0x244FE38, pc = 0x77F76266 > >[main] ug 19141 (0) stack: frame 4: sp = 0x244FF30, pc = 0x401081 > >[main] ug 19141 (0) stack: frame 5: sp = 0x244FF3C, pc = 0x40104F > >[main] ug 19141 (0) stack: frame 6: sp = 0x244FF48, pc = 0x61004402 > >[main] ug 19141 (0) stack: frame 7: sp = 0x244FF88, pc = 0x61004420 > >[main] ug 19141 (0) stack: frame 8: sp = 0x244FF94, pc = 0x4011CE > >[main] ug 19141 (0) stack: frame 9: sp = 0x244FFA4, pc = 0x40103A > >[main] ug 19141 (0) stack: frame 10: sp = 0x244FFC0, pc = 0x77F1B304 > >[main] ug 19141 (0) stack: frame 11: sp = 0x244FFF0, pc = 0x0 > >[main] ug 19141 (0) stack: End of stack trace -- cgf AT cygnus DOT com http://www.cygnus.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com