[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] [DSF-GDB] Remote Attach problem
|
BTW, the "local gdb attach" does not have this problem even with gdb
6.8. It's only the "remote gdbserver attach" which behaves differently.
I see the same behavior in migrating to DSF with our implemnetation of
gdb which is based on 6.8. Even worse I only get the "Stop" button
enabled after the attach.
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Andy Jin
Sent: July 8, 2010 2:12 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] [DSF-GDB] Remote Attach problem
The DSF-GDB remote attach to process is not working well with gdb
version lower than 7.0.
I have a simple "HelloWorld" program compiled for Linux. It does an
infinite looping and "sleep(5)" in the loop. I use the remote gdbserver
attach to the process. The process stops but the "Debug" view only gives
me the "Resume" and "Stop" buttons, the rest of the buttons are
disabled. There is not thread info under the process. If I "resume" and
then "pause" the process, I get the thread info and the rest of the
buttons are enabled I can step-in and step-over.
I tried gdb 7.0, there is no problem. I was given the tread info and all
the buttons were enabled right after the attach.
The above tests used Linux gdb.
Thanks,
- Andy
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev