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 Message-ID: From: Ian Collins To: "Gnu-Win32 (E-mail)" Subject: Does anyone have attachable gdb Date: Wed, 10 Feb 1999 17:21:46 +1300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" :-) Has anyone managed to get gdb 4.17.1 (in b20.1, NT4, SP3) to attach to a process (or be able to run programs that use terminal ioctl calls)? If so, how!!! I'm loathe to go back to the good old days when you sprinkle printf statements through your code to isolate a problem. 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 Thanks, Ian Collins -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com