This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
gdbtk: Patch for updating filename Combobox
- From: Roland Schwingel <Roland dot Schwingel at onevision dot de>
- To: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Fri, 23 May 2003 15:53:08 +0200
- Subject: gdbtk: Patch for updating filename Combobox
- Organization: OneVision Software AG
Hi...
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.
This is fixed with this patch... Whenever the srcwin loads a new file
not only the function combobox
is updated. Also the filename combobox is updated now.
The patch is for gdb/gdbtk/library/srcwin.itb
Roland
--- srcwin.itb 2003-03-27 19:02:08.000000000 +0100
+++ srcwin.itb.patched 2003-05-23 15:46:20.000000000 +0200
@@ -457,6 +457,8 @@
# update file and function combobox
if {$name != $current(filename)} {
_set_name $name
+ set need_files 1
+ fillNameCB
fillFuncCB $name
}