This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: gdbtk: Patch for updating filename Combobox
- From: Roland Schwingel <Roland dot Schwingel at onevision dot de>
- To: Keith Seitz <keiths at redhat dot com>, "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Wed, 28 May 2003 10:43:22 +0200
- Subject: Re: gdbtk: Patch for updating filename Combobox
- Organization: OneVision Software AG
Hi Keith....
> On Fri, 2003-05-23 at 06:53, Roland Schwingel wrote:
> > Here is a very small patch to fix an update problem for the filename
> > combobox of gdbtk.
> > It appears that after dynamic loads the combobox is not updated
with the
> > filenames of the dynamically loaded objects.
>
> The real problem is, of course, that there is no event notification
> telling us this has happened.
>
> Hmm. Well, I just took a look at some of the code. Something is broken.
> It should work (as long as gdb is calling the post_add_symbol_hook). See
> gdbtk_post_add_symbol in interface.tcl.
>
> Can you verify that this hook is/is not being called when the load
> happens?
I just checked it by adding a printf() to gdb/generic/gdbtk-hooks.c
in gdbtk_post_add_symbol() and you are right it appears that this method
is not called.
Filling of the filename combobox appears to be broken since gdb 5.1 for me.
I can remember it worked with 5.0 but no longer since then. So I made my
"solution" I posted here last week. (which is not a real solution just a
workaround if there is another mechanism which should take care about this.)
Roland