| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| To: | cygwin AT cygwin DOT com |
| Subject: | gdb doesn't work |
| From: | Roman Belenov <rbelenov AT yandex DOT ru> |
| User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
| Date: | 01 Oct 2001 18:37:11 +0400 |
| Message-ID: | <u8zevjujs.fsf@yandex.ru> |
| Lines: | 31 |
| MIME-Version: | 1.0 |
It seems that debugging with gdb is broken in the latest version of
cygwin. I tried debugging trivial program (main(){}) and break main;
run gives the following (program was compiled by running gcc -g 1.c):
(gdb) break main
Breakpoint 1 at 0x40104a: file 1.c, line 1.
(gdb) run
Starting program: /cygdrive/e/users/roman/a.exe
gdb: unknown target exception 0x000006d1 at 0x77e89b01
Program received signal ?, Unknown signal.
0x77e89b01 in _libkernel32_a_iname ()
(gdb) bt
#0 0x77e89b01 in _libkernel32_a_iname ()
#1 0x0022f408 in ?? ()
#2 0x77d5935a in _libkernel32_a_iname ()
#3 0x751511cb in _libkernel32_a_iname ()
#4 0x751aa02c in _libkernel32_a_iname ()
#5 0x751a866d in _libkernel32_a_iname ()
#6 0x61067cec in _libkernel32_a_iname ()
#7 0x61068256 in _libkernel32_a_iname ()
#8 0x61003d4f in _libkernel32_a_iname ()
#9 0x6100421d in _libkernel32_a_iname ()
#10 0x6100425c in _libkernel32_a_iname ()
#11 0x0040109f in cygwin_crt0 ()
at /cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/cygwin_crt0.c:33
Are there any suggestions ?
--
With regards, Roman.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |