This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdbtk: Patch for updating filename Combobox


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
   }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]