Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: "'cygwin AT cygwin DOT com'" Date: Thu, 20 Sep 2001 22:46:52 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Help... GDB no longer works after updating... Reply-to: gp AT familiehaase DOT de Message-ID: <3BAA71DC.13490.346157FE@localhost> In-reply-to: <30BDEE18E474D511BB0A00D0B7BB87AF0928D5@camel.mha.ca> X-mailer: Pegasus Mail for Win32 (v3.12cDE) Kris Erickson schrieb am 2001-09-19, 18:03: >Here is a simple test file I created, the error that it generates and executing >the show command. [...] >cygwin session follows >------------------------------------ $ cat hello.c #include int main(void) { printf("Hello World\n"); } >Administrator AT STORK ~/tmp >$ gdb -nw test.exe >GNU gdb 5.0 (20010428-1) >Copyright 2001 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i686-pc-cygwin"... >(gdb) run >Starting program: /home/administrator/tmp/test.exe >gdb: unknown target exception 0x000006d1 at 0x77e87e08 > >Program received signal ?, Unknown signal. >0x77e87e08 in _libkernel32_a_iname () >(gdb) info target >Symbols from "/home/administrator/tmp/test.exe". >Win32 child process: > Using the running image of child thread 2808.0x7d8. > While running this, GDB does not access memory from... >Local exec file: > `/home/administrator/tmp/test.exe', file type pei-i386. > Entry point: 0x401000 > 0x00401000 - 0x00401400 is .text > 0x00402000 - 0x00402200 is .data > 0x00403000 - 0x0040300c is .bss > 0x00404000 - 0x00404200 is .idata $ gdb -nw hello.exe GNU gdb 5.0 (20010428-1) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) run Starting program: /home/Siebenschlaefer/script/c/hello.exe Hello World Program exited with code 014. (gdb) info target Symbols from "/home/Siebenschlaefer/script/c/hello.exe". Local exec file: `/home/Siebenschlaefer/script/c/hello.exe', file type pei-i386. Entry point: 0x401000 0x00401000 - 0x00401400 is .text 0x00402000 - 0x00402200 is .data 0x00403000 - 0x0040300c is .bss 0x00404000 - 0x00404200 is .idata (gdb) Hmmm, no problems here. Gerrit -- $ uname -a CYGWIN_NT-4.0 LORELEY 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/