This is the mail archive of the
insight-prs@sourceware.org
mailing list for the Insight project.
insight/315: insight suddenly quits on cygwin
- From: ramsey dot haddad at yahoo dot com
- To: insight-gnats at sources dot redhat dot com
- Date: 4 Jun 2007 08:52:22 -0000
- Subject: insight/315: insight suddenly quits on cygwin
- Reply-to: ramsey dot haddad at yahoo dot com
>Number: 315
>Category: insight
>Synopsis: insight suddenly quits on cygwin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 04 08:53:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: ramsey.haddad@yahoo.com
>Release: unknown-1.0
>Organization:
>Environment:
cygwin on winXP
>Description:
i compiled the small file just to try out insight. But when i highlight argv[i] on line 16 with the mouse, the application quits.
echo $? after the program quits gives 0
>How-To-Repeat:
gcc -g -o mydbg mydbg.c
insight ./mydbg.exe
Ctrl-N (to open the gdb console window)
b 13
run hello world
highlight argv[i] on line 16
*application quits*
echo $?
returns 0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="mydbg.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="mydbg.c"
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZnVuYyhpbnQgYXJnYywgY2hhciAqYXJndltdKQp7Cglp
bnQgaTsKCWZvciAoaSA9IDA7IGkgPCBhcmdjOyBpKyspCgkJcHJpbnRmKCIlc1xuIixhcmd2W2ld
KTsKCXJldHVybiBhcmdjOwoKfQoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKewoJ
aW50IGk7Cglmb3IgKGkgPSAwOyBpIDwgYXJnYzsgaSsrKQoJCXByaW50ZigiJXNcbiIsYXJndltp
XSk7CgoJZnVuYyhhcmdjLCBhcmd2KTsKCXJldHVybiAwOwoKfQoK