Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cygwin GDB
Cygwin GDB [message #81025] Wed, 24 September 2003 19:24 Go to next message
Eclipse UserFriend
Originally posted by: edwardsc.au.ibm.com

I have just installed CDT 1.2.0.53 into Eclipse 2.1.0 on Win2000 and am
having some trouble getting the debugger to work. Making and compiling
works just fine, but when I try to debug using Cygwin GDB Debugger, I
get the following error:

Exceptions occurred attempting to resume.
Target request failed: Target is not responding (timed out)

Also, if I try to terminate or suspend the application, I get a popup
with the above message and Eclipse locks up for about 20-30 seconds
(even though my GDB timeout is 10000). I've googled for the above
message and parts thereof, but no luck... any ideas? Thanks a lot.

My cygwin version is 1.5.4-1, gcc is 3.2-3 and gdb is 20030901-1.

BTW... CDT is excellent! I am really impressed with the efforts so far
and the plans for the future. Thanks a lot.

--
Craig Edwards
Sydney, Australia
Re: Cygwin GDB [message #81040 is a reply to message #81025] Wed, 24 September 2003 21:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Check if gdb is in your path.

"Craig Edwards" <edwardsc@au.ibm.com> wrote in message
news:MPG.19dcd2b6f7fbe315989680@news.eclipse.org...
> I have just installed CDT 1.2.0.53 into Eclipse 2.1.0 on Win2000 and am
> having some trouble getting the debugger to work. Making and compiling
> works just fine, but when I try to debug using Cygwin GDB Debugger, I
> get the following error:
>
> Exceptions occurred attempting to resume.
> Target request failed: Target is not responding (timed out)
>
> Also, if I try to terminate or suspend the application, I get a popup
> with the above message and Eclipse locks up for about 20-30 seconds
> (even though my GDB timeout is 10000). I've googled for the above
> message and parts thereof, but no luck... any ideas? Thanks a lot.
>
> My cygwin version is 1.5.4-1, gcc is 3.2-3 and gdb is 20030901-1.
>
> BTW... CDT is excellent! I am really impressed with the efforts so far
> and the plans for the future. Thanks a lot.
>
> --
> Craig Edwards
> Sydney, Australia
Re: Cygwin GDB [message #81082 is a reply to message #81040] Wed, 24 September 2003 22:48 Go to previous message
Eclipse UserFriend
Originally posted by: edwardsc.au.ibm.com

In article <bktf92$uae$1@eclipse.org>, mikhailkhod@rogers.com says...
> Check if gdb is in your path.

Yep, it is. I can, from CMD.EXE, change to my workspace directory and
execute gdb against the executable with no probs. In doing so, I
noticed a file called gdb.exe.stackdump (created this morning just
before I posted) that contains:

Exception: STATUS_ACCESS_VIOLATION at eip=610B7374
eax=00000010 ebx=00000010 ecx=00000004 edx=00000000 esi=D011FEE9 edi=
100F88C0
ebp=0022F398 esp=0022F38C program=c:\cygwin\bin\gdb.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0022F398 610B7374 (100F88C0, D011FEE9, 00000010, 00000928)
0022F3C8 004A767A (100F87F8, 00000020, D011FEE9, 004A4ADA)
0022F3E8 004A75C1 (00000020, D011FEE9, 00000000, 00000000)
0022F408 004B6175 (00000020, 00000000, 00000000, 00000928)
0022F438 004A5B8D (100F87F8, 00000020, 0022F4E0, 0022F4C0)
0022F488 00477794 (100E9170, 00000020, 0022F4C0, 0022F4BC)
0022F4C8 004781EE (100E91C8, 00000020, 0022F4E0, 00519EF4)
0022F508 004153CA (00000020, 00000020, 0000001F, 0042DE50)
0022F538 0041535E (101AD9B8, 10104B80, 00000000, 10105718)
0022F558 00416E77 (10105718, 0022F574, 610CEB18, 77F8D04A)
0022F588 00416A9C (100EC220, 0022F710, 0022F694, 6105669E)
0022F6B8 00422BE1 (00416960, 100EC220, 0022F710, 0022F6E4)
0022F6E8 00422C9B (100EC220, 00416960, 0022F710, 00414F79)
0022F728 00416C70 (101AD960, 00000001, 0022F758, 00484C83)
0022F738 00414879 (101AD960, 0022FC10, 00000050, 100E54C0)
0022F758 00484C83 (00000000, 0000000C, 0022F788, 0049CCDC)
End of stack trace (more stack frames may be present)

--
Craig Edwards
Sydney, Australia
Previous Topic:refactoring plans for CDT 2.0?
Next Topic:GNU-TOOLS
Goto Forum:
  


Current Time: Sun Apr 27 02:20:11 EDT 2025

Powered by FUDForum. Page generated in 0.03395 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top