Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] Console vs UI

On Fri, Feb 01, 2008 at 12:53:24PM -0800, Pawel Piech wrote:
>    Hi Marc,
>    My only goal when porting the console support from CDI-MI to DSF-MI was to
>    achieve feature parity.
> 
>    I really love the idea of a command line interface to the debugger,
>    however to make it really useful I think we would need more support from
>    GDB.  The problem is that the Command Line Interface (CLI) commands and
>    their results are opaque to the debugger integration.  I.e. when user
>    changes a variable using the console, there is no MI-protocol event
>    generated to tell the debugger to refresh.  So what we would need from GDB
>    is more events to notify the UI of target state changes including:
>    - target running (there is a stopped event, but not running)
>    - breakpoints changed
>    - memory changed
>    - registers changed
>    - thread started/exited.

You may want to investigate Xcode - they have a lot of local changes
to GDB to make it notify the IDE after a user changes state in the
console.  They were never merged to GDB simply because of a lack of
time on everyone's sides; they'd need work, but could be resurrected.

-- 
Daniel Jacobowitz
CodeSourcery


Back to the top