[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] RE: [DSF-GDB] Remote Attach problem
- From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
- Date: Thu, 8 Jul 2010 14:48:15 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: email@example.com
- Thread-index: AcseyQktgA7gdOEoRO6/9N4omZKPMwAAbfaQ
- Thread-topic: [DSF-GDB] Remote Attach problem
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andy Jin
> Sent: Thursday, July 08, 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
> 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 you refresh the view, I think it will fix things.
(to enable the refresh button:
Customize perspective->Command group availabitlity
and check "Debug update modes. You get a refresh button
on most of the views)
Please file a bug, maybe we are missing an event when
using the CLI 'attach' command.
> 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.
> - Andy
> cdt-dev mailing list