[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] binary-less debugging
|
In case it helps make your changes easier, in DSF, we don't specify the
binary file in the gdb command line.
Instead we wait until GDB is started and use the MI command
-file-exec-and-symbols
For us, it makes it easier not so specify a binary by not sending
this command.
Marc
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]On
Behalf Of John Cortell
Sent: Friday, May 02, 2008 11:01 AM
To: CDT General developers list.; CDT General developers list.
Subject: Re: [cdt-dev] binary-less debugging
Having a binary makes plenty of sense for JTAG debugging. There's
just different types of launches that one may want.
- Download, launch and debug an executable
- Connect to the target and use the debug information in an
executable to provide source level debugging of code already running
- Connect without using any debug information--"poke around"
Being able to not specify an executable is desirable for the third
scenario and it would be nice if we could get that. I think Ken Ryall
looked into it initially and found a lot of dependencies on the
binary. He can probably chime in and indicate why he didn't go through with it.
John
At 09:53 AM 5/2/2008, Elena Laskavaia wrote:
>I want to fix CDI launch (CDIDebugModel.newDebugTarget) to make binary
>argument optional (i.e. null possible),
>because passing debugging binary for many cases does not make any sense
>- such as for JTag debugging.
>In this case it launch gdb without binary argument, and set-up can use
>gdb commands to set symbol file, etc.
>
>It does not mean that it would be optional in UI, default debug launch
>still requires it.
>
>Any objections?
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev