[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] load and unload symbol file
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuong, Patrick
> Sent: Monday, August 30, 2010 2:15 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] load and unload symbol file
>
> Hi Marc,
>
> I can open a bug for gdb console. Can this be done generic to
> support non-gdb too? There is an ISymbolDataChangeDMEvent,
> can this be use by both gdb and non-gdb? Views would listen
> to this event and update itself without having to use the
> Refresh Debug Views button.
That sounds good. When the backend finds out that symbols
have been loaded they should issue that event. For DSF-GDB,
we should do it when we realize we have parsed the command
loads/unloads symbols.
> Since you mentioned the refresh button, the button is
> disabled when pressed; I have to select another element in
> the debug view to have it enabled again. I think this is a
> bug, do you know whether there is a bugzilla entry for this?
This is a DSF button, so you have to select a DSF element
in the debug view.
> Also, the disassembly view's refresh button is not integrated
> with the other debug's refresh button. Do you think it make
> sense to have it part of the standard refresh button? If so,
> I can file a bug for it.
I believe so.
>
>
>
> Patrick
>
>
>
> ________________________________
>
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Monday, August 30, 2010 12:44 PM
> To: 'CDT General developers list.'
> Subject: Re: [cdt-dev] load and unload symbol file
>
>
>
> Commands from the gdb console are not all integrated very well.
>
> If there is no gdb event to indicate that something changed,
> then you need to refresh manually.
>
> Instead of stepping, you could use the Refresh Debug Views
> button that is part of the
>
> "Debug Update Modes" action set. Note that not all views
> have refresh support though.
>
>
>
> You can open a bug for the support of this set of gdb
> commands from the console.
>
>
>
> Marc
>
>
>
>
>
>
>
>
>
> ________________________________
>
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuong, Patrick
> Sent: Monday, August 30, 2010 11:59 AM
> To: CDT General developers list.
> Subject: [cdt-dev] load and unload symbol file
>
> Hi,
>
>
>
> I used the gdb console to unload all symbol files and
> load new symbol files. The debug view, expressions view,
> disassembly view doesn't update. I have to perform an
> instruction stepping in the debug view, than the debug view
> and the expressions view will get updated. The disassembly
> view has to be manually refreshed to get it updated.
>
>
>
> Is this a missing feature, or it is expected to have
> the user manually perform some steps to get the views to update?
>
>
>
> Thanks,
>
> Patrick
>
>