OSDN Git Service

6c22903ad3e252b3bf36b1b667fab65b139e393c
[pf3gnuchains/pf3gnuchains4x.git] / gdb / gdbtk / ChangeLog-2002
1 2002-12-20  Martin M. Hunt  <hunt@redhat.com>
2
3         * library/srcbar.itcl (SrcBar): Don't load vmake icon.
4
5         * library/images: Removed back.gif, build.gif, file.gif, fore.gif,
6         gdbtk.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif.
7
8         * library/images2: Removed back.gif, build.gif, file.gif, fore.gif,
9         gdbtk.gif, load.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif.
10         
11 2002-12-18  Martin M. Hunt  <hunt@redhat.com>
12
13         * library/main.tcl: Don't try to print errors to stderr on Windows.
14
15 2002-12-18  Martin M. Hunt  <hunt@redhat.com>
16         
17         * library/regwin.itb (RegWin::update): When updating, check
18         that a cell still exists before checking its value.
19         (RegWin::_select_group): Clear cells with changed values before
20         changing group.  After new group is selected, highlight any changed
21         values still visible.
22
23 2002-12-17  Martin M. Hunt  <hunt@redhat.com>
24
25         * library/interface.tcl (gdbtk_tcl_fputs_target_err):
26         New function.
27         (gdbtk_tcl_fputs_target): Open console window if it is 
28         not already open.       
29         (gdbtk_gets): New function.
30         Opens a console window if necessary and calls Console::gets.
31
32         * library/console.ith (gets): Declare method.
33         (_input_mode): New private variable.
34         (_input_result): Ditto.
35         (_input_error): Ditto.
36         (_cancel): New private method
37         (invoke): Add arg.
38
39         * library/console.itb (_setprompt): Allow setting prompt
40         to nothing.  Delete to beginning of line before writing prompt.
41         (gets): New public method to prompt user for input.
42         (_cancel): New private method to handle ^C when inputting data.
43         (invoke): Check for ^d when in input mode.
44
45 2002-12-17  Martin M. Hunt  <hunt@redhat.com>
46
47         * library/regwin.itb (_load_prefs): Get list of registers from
48         the group name.
49         (_build_win): Remove old menu system.  Replace with an optionmenu
50         that contains all the valid group names for this architecture.
51         (_layout_table): No need to update old menu.
52         (_but3): Add "Close" to popup menu.
53         (_delete_from_display): No need to update old menu.
54         (_display_all): Ditto.
55         (_post_menu): Deleted.
56         (_select_group): New method. Callback for group optionmenu.
57         
58         * library/regwin.ith: New private variable _group.
59         New private method _select_group.  Removed _post_menu.
60
61         * generic/gdbtk-register.c: Include reggroups.h.
62         (gdb_register_info): Add "group" and "grouplist".
63         (gdb_regformat): Fix Tcl_WrongNumArgs call so it doesn't crash.
64         (gdb_reggrouplist): New function. Returns the names of the
65         register groups.
66         (gdb_reggroup): New function. Returns the register numbers of the
67         registers in a group.
68
69 2002-12-06  Andrew Cagney  <ac131313@redhat.com>
70
71         * generic/gdbtk-cmds.c (gdb_update_mem): Don't add a 0x prefix.
72
73 2002-12-05  Martin M. Hunt  <hunt@redhat.com>
74
75         * library/regwin.itb (update): Revert previous patch to this
76         function. But also don't tag blank cells.
77         (_but3): Fix help call.
78
79 2002-12-04  Martin M. Hunt  <hunt@redhat.com>
80
81         * library/regwin.itb (_but3): Fix help call. 
82
83         * library/helpviewer.tcl (open_help): Fix KDE apps list.
84
85         * library/debugwin.itb (build_win): Fix help call.
86         
87         * library/regwin.itb (update): Remove some old code
88         that marked registers as changed when the target started.
89         (_build_win): Make changed registers more visible by
90         changing their bg to Colors(change).
91
92         * library/prefs.tcl (pref_set_option_db): Create a new
93         Color(change) which is the color of text indicating a change.
94         Current default is green.
95
96         * library/vartree.itb (_init_data): Make changed values
97         Color(change). Can't change bg, so we change fill color.
98
99 2002-12-04  Keith Seitz  <keiths@redhat.com>
100
101         * generic/gdbtk-hooks.c: Include tcl.h and tk.h to pull
102         in declarations for some Tk functions used in this file.
103         * generic/gdbtk-cmds.c: Likewise.
104
105 2002-12-03  Martin M. Hunt  <hunt@redhat.com>
106
107         * library/vartree.itb (_but3): Add popup menu item to dump
108         memory at the value of the variable.
109
110         * library/vartree.itb (buildlayer): Check for error when updating
111         a variable's value.
112         (update_var): Ditto.
113         
114         * library/srcpref.itb: Latest tk doesn't support
115         "-col" as a grid option.  Use "-column".
116
117         * library/regwin.itb: Ditto.
118
119         * library/main.tcl: Require package "debug". Make
120         package loading a bit more robust.
121
122 2002-11-30  Andrew Cagney  <ac131313@redhat.com>
123
124         * generic/gdbtk-stack.c: Replace selected_frame with
125         deprecated_selected_frame.
126         * generic/gdbtk-register.c: Ditto.
127         * generic/gdbtk-cmds.c (gdb_loc): Replace selected_frame with
128         deprecated_selected_frame.  Use get_frame_pc and find_frame_sal.
129
130 2002-11-27  Martin M. Hunt  <hunt@redhat.com>
131
132         * generic/gdbtk.c (gdbtk_init): Don't call Tix_Init.
133         Don't include tix.h
134
135         * generic/gdbtk-hooks.c: Don't include tix.h.
136
137         * generic/gdbtkj-cmds.c: Don't include tix.h.
138         
139 2002-11-27  Andrew Cagney  <cagney@redhat.com>
140
141         * generic/gdbtk-stack.c (get_frame_name): Use get_frame_type
142         instead of deprecated_frame_in_dummy.
143         * generic/gdbtk-cmds.c (gdb_loc): Ditto.
144
145 2002-11-19  Andrew Cagney  <ac131313@redhat.com>
146
147         * generic/gdbtk-stack.c (gdb_selected_frame): Use get_frame_base
148         instead of FRAME_FP.  Mention that get_frame_id() should be used.
149         
150 2002-11-19  Andrew Cagney  <ac131313@redhat.com>
151
152         * generic/gdbtk-cmds.c (gdb_loc): Use get_frame_type instead of
153         ->signal_handler_caller.
154         * generic/gdbtk-stack.c (get_frame_name): Ditto.
155         (get_frame_name): Ditto.
156
157 2002-11-12  Andrew Cagney  <ac131313@redhat.com>
158
159         From 2002-11-11 David Carlton <carlton@math.stanford.edu>
160         * generic/gdbtk-stack.c (get_frame_name): Replace call to
161         frame_in_dummy with one to deprecated_frame_in_dummy.
162         * generic/gdbtk-cmds.c (gdb_loc): Ditto.
163
164 2002-11-11  Martin M. Hunt  <hunt@redhat.com>   
165
166         * library/srctextwin.itb (do_key): Add arg to
167         print call.
168
169 2002-11-11  Martin M. Hunt  <hunt@redhat.com>   
170         
171         * library/data.ith: Deleted.
172         * library/data.itb: Deleted.
173         
174 2002-11-11  Martin M. Hunt  <hunt@redhat.com>           
175
176         * library/memwin.itb: Supply arg to _update_address.
177
178 2002-11-11  Martin M. Hunt  <hunt@redhat.com>   
179         
180         * library/toolbar.tcl: Deleted this obsolete file.
181         * library/tclIndex: Rebuilt.
182
183 2002-11-11  Martin M. Hunt  <hunt@redhat.com>           
184
185         * library/srcbar.itcl (create_help_menu): For unix systems,
186         if compatibility is set to KDE or GNOME, put the help menu
187         in the right place. Otherwise put it on the far right, like
188         Motif does.
189
190 2002-11-11  Martin M. Hunt  <hunt@redhat.com>   
191         
192         * library/helpviewer.tcl: New file. Finds
193         an appropriate help browser and displays the help files.
194
195         * library/vartree.itb: Fix open_help calls.
196         
197         * library/helpviewer.ith: Deleted.
198         * library/helpviewer.itb: Deleted.
199         
200         * library/prefs.tcl (pref_set_defaults): Remove 
201         pref gdb/help/browser. Add pref gdb/help/browsername.  
202         We couldn't simply rename because it would break older 
203         versions of Insight that expect gdb/help/browser to be 
204         a number.
205
206 2002-11-08  Martin M. Hunt  <hunt@redhat.com>
207
208         * library/prefs.tcl (pref_save): Fix GDBtkInitVersion.
209         (pref_save): Check that value is not null before writing.
210         
211 2002-11-07  Martin M. Hunt  <hunt@redhat.com>
212
213         * library/util.tcl (CygScrolledListbox): Delete.
214
215         * library/srctextwin.itb: Change from CygScrolledListbox
216         to iwidgets::scrolledlistbox. Set foreground and background.
217         Center popup over source window.
218
219 2002-11-06  Martin M. Hunt  <hunt@redhat.com>
220
221         * library/locals.tcl (build_win): Fix so window opens
222         on Windows.     
223
224 2002-11-06  Martin M. Hunt  <hunt@redhat.com>   
225         * library/debugwin.itb: Remove VariableWin.  Add VarTree.
226
227 2002-11-06  Martin M. Hunt  <hunt@redhat.com>   
228         * library/watch.tcl: Completely rewritten to use VarTree.
229         * library/locals.tcl: Completely rewritten to use VarTree.
230         * library/variables.tcl: Deleted.
231         * library/vartree.ith: New file.
232         * library/vartree.itb: New file. Implements a variable
233         tree.
234         * library/tclIndex: Rebuilt.
235         
236 2002-11-06  Martin M. Hunt  <hunt@redhat.com>
237         * library/globalpref.itb (_build_win): Add radiobox
238         to select KDE/GNOME/default for pref gdb/compat. Remove
239         browser option. 
240
241         * library/regwin.itb (build_win): Colors(hbg) has been 
242         removed so use Colors(bg) instead.
243
244         * library/prefs.tcl (pref_set_defaults): Add a new
245         preference "gdb/compat" which can be set to KDE, GNOME, 
246         Windows or default. This allows us to change Insight's
247         behavior based on windowing system.
248         (pref_set_colors): Attempt to read in .gtkrc files.
249         Do different things for KDE vs GNOME.
250         (pref_load_default): New function. Load default colors.
251         (pref_load_gnome): New function. Find and open GNOME file.      
252         (load_gnome_file): New function. Loads GNOME file.              
253         (pref_set_option_db): New function.  Set option database.
254
255 2002-11-06  Martin M. Hunt  <hunt@redhat.com>   
256         * generic/gdbtk-varobj.c: Remove FREEIF and replace with xfree.
257         Make format_string static.
258         (variable_update): Return an object
259         with "-1" in it on error.
260         
261 2002-11-06  Keith Seitz  <keiths@redhat.com>
262
263         * generic/gdbtk-hooks.c (gdbtk_call_command): Make a null
264         cleanup and run it after every issued gdb command. Apparently
265         some commands depend on this. [This should really be part of
266         main gdb...]
267
268 2002-10-15  Martin M. Hunt  <hunt@redhat.com>
269
270         * library/tclIndex: Rebuilt.
271
272         * library/* : auto_mkindex cannot rebuild
273         tclIndex because it does not recognize the namespace
274         import in main.tcl.  To get it to work again, rename the
275         following:
276                 body -> itcl::body
277                 configbody -> itcl::configbody
278                 class -> itcl::class
279
280 2002-10-10  Martin M. Hunt  <hunt@redhat.com>
281
282         * generic/gdbtk-cmds.c (gdb_update_mem): No results
283         were being returned. Append results to result_ptr_obj_ptr.
284
285 2002-10-10  Martin M. Hunt  <hunt@redhat.com>
286         
287         * library/session.tcl (save): Save target_cmd,
288         attach, load, run, and cont as session prefs.
289         (notice_file_change): Load in above session
290         prefs.
291         
292         * library/interface.tcl (set_target): Set icons busy
293         before attempting target command and set back to idle after.
294         (run_executable): Return on ATTACH_ERROR.
295         (gdbtk_run): If run button is hit when a program
296         is currently being debugged, put up a dialog allowing
297         user to continue or cancel.
298
299 2002-10-09  Martin M. Hunt  <hunt@redhat.com>
300         
301         * library/targetselection.itb (init_target_db): Add gdbserver
302         target.
303         (get_target_list): Always add "gdbserver" to list of valid 
304         targets.
305         (valid_target): Always allow "gdbserver".
306
307 2002-09-27  Keith Seitz  <keiths@redhat.com>
308
309         * generic/gdbtk-hooks.c (gdbtk_add_hooks): Add gdbtk_annotate_signal
310         as annotate_signalled_hook.
311
312 2002-09-26  Andrew Cagney  <ac131313@redhat.com>
313
314         From Grace Sainsbury <graces@redhat.com>:
315         * generic/gdbtk-main.c: New file.
316
317 2002-09-24  Martin M. Hunt  <hunt@redhat.com>
318
319         * library/srctextwin.itb (FillMixed): Fix debug
320         statement for 64-bit.
321         (_highlightAsmLine): Fix 64-bit arithmetic.
322
323 2002-09-19  Martin M. Hunt  <hunt@redhat.com>
324
325         * library/srctextwin.itb (FillAssembly): Fix debug
326         statement for 64-bit addresses.
327         (showBPBalloon): Fix for 64-bit addresses.
328
329         * library/memwin.itb (incr_addr): Fix 64-bit addresses.
330
331 2002-09-18  Keith Seitz  <keiths@redhat.com>
332
333         * library/console.itb (_build_win): Bind control-c and control-v
334         to copy and paste.
335
336 2002-08-15  Keith Seitz  <keiths@redhat.com>
337
338         * README: Massive update.
339
340 2002-08-14  Keith Seitz  <keiths@redhat.com>
341
342         * README.GDBTK: Updated and renamed to README.
343         * README: "New" file.
344
345 2002-08-14  Keith Seitz  <keiths@redhat.com>
346
347         * library/srcbar.itcl (create_plugin_menu): Deal with
348         multi plugin directories.
349         Catch any errors that might occur reading plugin.tcl.
350         * library/main.tcl: Add plugins from new default directory.
351         (INSIGHT_PLUGINS): New environment variable to point to other
352         plugin directories.
353
354 2002-08-14  Keith Seitz  <keiths@redhat.com>
355
356         * library/plugins: Removed.
357         * plugins/: New folder to hold plugins.
358         * Makefile.am, Makefile.in, aclocal.m4, configure,
359         configure.in: New files.
360         
361 2002-08-14  Keith Seitz  <keiths@redhat.com>
362
363         * generic/gdbtk.c (view_command): New function to display
364         location in source window.
365         (gdbtk_init): Add new gdb "view" command.
366
367 2002-08-06  Keith Seitz  <keiths@redhat.com>
368
369         * library/srcwin.itb (_build_win): Anchor status label so that
370         text appears at left instead of centered.
371
372 2002-08-03  Andrew Cagney  <ac131313@redhat.com>
373
374         * generic/gdbtk-bp.c: Include "gdb_string.h".
375         * generic/gdbtk-register.c: Ditto.
376         * generic/gdbtk-varobj.c: Ditto.
377
378 2002-08-01  Keith Seitz  <keiths@redhat.com>
379
380         * library/prefs.tcl (pref_read): Don't suppress setting the default
381         colors if the user has suppressed reading the preferences file.
382
383 2002-07-31  Keith Seitz  <keiths@redhat.com>
384
385         * library/browserwin.itb (_full_funcs_combo): Remove "-modal"
386         option from tk_messageBox call. It was redhat-local in tk8.0,
387         but is no longer in tk8.3.
388         * library/download.itb (download_it): Likewise.
389         * library/interface.tcl (gdbtk_tcl_query): Likewise.
390         (show_warning): Likewise.
391         (set_exe): Likewise.
392         (set_target): Likewise.
393         * library/memwin.itb (error_dialog): Likewise.
394         * library/srcwin.itb (fillFuncCB): Likewise.
395         * library/util.tcl (tfind_cmd): Likewise.
396
397 2002-07-03  Martin M. Hunt  <hunt@redhat.com>
398
399         * generic/gdbtk-hooks.c (gdbtk_call_command): Use cmd_func().
400
401 2002-06-12  Keith Seitz  <keiths@redhat.com>
402
403         * library/gdbmenubar.itcl (add): Add new "cascade" type.
404         (menubar_add_cascade): New method to build cascading menus.
405
406 2002-06-07  Martin M. Hunt  <hunt@redhat.com>
407
408         * library/prefs.tcl (pref_set_colors): New function.  Set up colors
409         from Windows system colors or X resource database. Save in array.
410         (pref_set_defaults): Remove gdb/font/normal_fg, etc.
411         (pref_read): Call pref_set_colors.
412
413         * library/main.tcl: Remove call to "tix resetoptions TixGray".
414
415         * library/bpwin.itb, library/browserwin.itb, library/console.itb,
416         library/globalpref.itb, library/memwin.itb, library/process.itb,
417         library/regwin.itb, library/srcpref.itb, library/srctextwin.itb,
418         library/stackwin.itb, library/tdump.tcl, library/tracedlg.tcl,
419         library/variables.tcl: Replace calls to [pref get gdb/fonts/*] 
420         for colors with references to Color array. Remove all tixOptions calls.
421         Fix up colors as necessary.
422         
423 2002-05-31  Martin M. Hunt  <hunt@redhat.com>
424
425         * library/prefs.tcl (pref_read): If the regular expression
426         cannot parse line, print debug message and skip it.
427
428 2002-05-15  Martin M. Hunt  <hunt@redhat.com>
429
430         * library/help/register.html: Rewrite docs.
431         
432         * library/regwin.ith (_types): New private variable array to save
433         the possible types for each register.
434         (_type): New private variable array to save the selected type for 
435         each register.
436         (_rows): New private variable. Number of rows in the table.
437         (_cols): New private variable. Number of cols in the table.
438         (_load_prefs): New private method.
439         (_open_memory): New private method.
440         (_edit_menu): Deleted:
441         (_select): Deleted.
442         (_change_format): Add optional type argument.
443         
444         * library/regwin.itb (RegWin::_load_prefs): New method. Collects
445         all the prefs stuff here instead of in _layout_table. Prefs
446         code was all rewritten to handle new types and formats.
447         (RegWin::_build_win): Disable Double-1 binding. Bind
448         button 1 to edit the cell. Don't make an Edit menu item.
449         Remove Natural, Binary, Octal, and Raw formats. Add "Open
450         Memory Window" menu item. 
451         (RegWin::_dimensions): This function was being abused so I removed 
452         it. Replaced with inline code in _layout_table which saves its
453         computed values so it doesn't have to be recalculated unless 
454         something changes.
455         (RegWin::_layout_table): Rewritten to be more efficient. Grabs
456         all values in one call to gdb_reginfo instead of one for each register.
457         Uses new types and formats.  Calls _load_prefs.
458         (RegWin::_accept_edit): Use type information when setting value.
459         When done, call _unedit to remove tags.
460         (RegWin::_open_memory): Open memory window with initial value
461         set to the value of a register. 
462         (RegWin::_but3): Add types menu items. Limit format options
463         to reasonable ones. Add "Open Memory Window". Add "Help" 
464         (RegWin::_edit): Just call _select_cell.
465         (RegWin::_edit_menu): Deleted.
466         (RegWin::_move): Don't recompute rows and cols; use _rows and
467         _cols computed by _layout_table.
468         (RegWin::_post_menu): Update types and formats. Disable "Open Memory
469         Window" if register is not integer. Remove Edit.
470         (RegWin::_select): Deleted.
471         (RegWin::_select_cell): Tag cell as being edited. Then
472         call focus, which is a workaround for a TkTable glitch where
473         the insertion bar sometimes disappeared.
474         (RegWin::_unedit): Clear selection. Call focus. Don't change
475         any bindings.
476         (RegWin::_get_value): Eliminate previous crap and just call 
477         "gdb_reginfo value".
478         (RegWin::_change_format): Add optional type arg.  Call 
479         "gdb_reginfo format".
480         (RegWin::_update): Get a list of all the changed registers
481         instead of checking one at a time.
482
483         * generic/gdbtk-register.c (Gdbtk_Register_Init): Don't
484         create gdb_pc_reg.  It is not used. Call register_gdbarch_swap 
485         with regformat and regtype.
486         (gdb_register_info): Add "type" and "format" options.
487         (get_pc_register): Delete.
488         (get_register_types): New function.  Returns list of valid types 
489         for a list of registers.
490         (get_register): Use saved format and type for each register. Check if
491         there are any registers yet (target not running). Use mem_file 
492         to collect output. Append output to a list.
493         (map_arg_registers): If passed a list, iterate though each element
494         and build a list of values to return.
495         (setup_architecture_data): Memory was not being initialized, so
496         use xcalloc(). Allocate memory for regformat and regtype.
497         (gdb_regformat): New function called by "gdb_reginfo format".
498         
499 2002-05-15  Martin M. Hunt  <hunt@redhat.com>
500
501         * generic/gdbtk-cmds.c (gdb_eval): For mem_file stuff, delete
502         the file when done and free memory.
503         
504 2002-05-06  Martin M. Hunt  <hunt@redhat.com>
505
506         * library/session.tcl (notice_file_change): Catch the
507         directory change, in case the directory no longer exists.
508
509 2002-05-05  Alexandre Oliva  <aoliva@redhat.com>
510
511         * generic/gdbtk-register.c (get_register, register_changed_p):
512         Don't depend on variable-sized automatic arrays.
513
514 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
515
516         * generic/gdbtk-wrapper.h (GDB_select_frame): Delete declaration.
517         * generic/gdbtk-wrapper.c (GDB_select_frame): Delete function.
518         (wrap_select_frame): Delete function.
519
520 2002-04-26  Martin M. Hunt  <hunt@redhat.com>
521
522         * library/interface.tcl (gdbtk_force_quit): New function.
523         Closes source windows then calls gdb_force_quit.
524         (gdbtk_quit): Call gdbtk_force_quit.
525
526 2002-04-24  Keith Seitz  <keiths@redhat.com>
527
528         * library/managedwin.ith (_ignore_on_save): New protected method.
529         * library/managedwin.itb (shutdown): If _ignore_on_save, don't
530         save this window to the active window list in the preferences
531         file.
532         * library/debugwin.ith (DebugWin::_ignore_on_save): Don't save
533         this window to preferences active list.
534         (DebugWinDOpts::_ignore_on_save): Likewise.
535         * library/pluginwin.itcl (_ignore_on_save): Likewise.
536         * library/download.ith (_ignore_on_save): Likewise.
537
538 2002-04-22  Keith Seitz  <keiths@redhat.com>
539
540         * generic/gdbtk-stack.c (Gdbtk_Stack_Init): Don't link
541         selected_frame_level directly.
542         * generic/gdbtk-hooks.c (gdbtk_selected_frame_changed): Set
543         the global "gdb_selected_frame_level" directly.
544
545 2002-04-21  Andrew Cagney  <ac131313@redhat.com>
546
547         * generic/gdbtk-wrapper.c (GDB_find_frame_addr_in_frame_chain):
548         Delete function.
549         (wrap_find_frame_addr_in_frame_chain): Delete function.
550         * generic/gdbtk-wrapper.h (GDB_find_frame_addr_in_frame_chain):
551         Delete declaration.
552
553 2002-04-17  Andrew Cagney  <cagney@redhat.com>
554
555         * generic/gdbtk.c (gdbtk_init): Use error or throw_exception to
556         report an error.
557
558 2002-04-12  Andrew Cagney  <cagney@redhat.com>
559
560         * generic/gdbtk-register.c (register_changed_p): Use
561         frame_register_read instead of read_relative_register_raw_bytes.
562         (get_register): Delete out-of-date comment.
563         
564 2002-04-08  Andrew Cagney  <ac131313@redhat.com>
565
566         * generic/gdbtk-wrapper.c (wrap_get_frame_block): Add missing NULL
567         parameter.  Match recent get_frame_block changes.
568
569 2002-04-05  Keith Seitz  <keiths@redhat.com>
570
571         * generic/gdbtk-stack.c (gdb_block_vars): Update get_frame_block to
572         match recent gdb changes.
573         (gdb_get_blocks): Likewise.
574         (gdb_get_vars_command): Likewise.
575         (gdb_selected_block): Likewise.
576
577 2002-04-04  Keith Seitz  <keiths@redhat.com>
578
579         * library/download.itb (constructor): Set feedback meter
580         to "0.0".
581         Remove "steps" array.
582         (update_download): Use fractional completions for feedback.
583         (done): Ditto.
584         * library/download.ith (protected variable steps): Remove.
585
586 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
587
588         * generic/gdbtk-cmds.c (gdb_disassemble_driver): Skip
589         end-of-function markers in the line table.
590
591 2002-04-01  Keith Seitz  <keiths@redhat.com>
592
593         * generic/gdbtk-cmds.c (gdb_load_disassembly): Use string_to_core_addr
594         instead of parse_and_eval_address.
595         Use xfree instead of free.
596
597 2002-03-25  Elena Zannoni  <ezannoni@redhat.com>
598
599         * generic/gdbtk-hooks.c: Include cli/cli-decode.h for
600         cmd_list_element.
601
602 2002-03-25  Alexandre Oliva  <aoliva@redhat.com>
603
604         * generic/gdbtk.c (HAS_STDARG): Define.
605         * generic/gdbtk-cmds.c (HAS_STDARG): Likewise.
606         * generic/gdbtk-hooks.c (HAS_STDARG): Likewise.
607
608 2002-03-14  Keith Seitz  <keiths@redhat.com>
609
610         * library/bpwin.itb (constructor): Set some sane initial
611         size.
612
613 2002-03-07  Martin M. Hunt  <hunt@redhat.com>
614
615         * library/srctextwin.itb (SrcTextWin::showBPBalloon): Put 
616         linefeeds between multiple breakpoints.
617
618 2002-03-06  Martin M. Hunt  <hunt@redhat.com>
619
620         * library/srctextwin.itb (SrcTextWin::showBPBalloon):
621         Reformat output. Add conditions, ignore count, commands.
622
623         * library/interface.tcl (gdbtk_tcl_readline): Remove
624         call to "command::insert" and instead insert the command
625         into the console window.
626         (gdbtk_tcl_readline_end): Catch the unsets and do not call
627         non-existent function command::end_multi_line_input.
628
629 2002-03-06  Martin M. Hunt  <hunt@redhat.com>
630         
631         * library/bpwin.itb: Left-justify the labels in
632         the table.
633
634 2002-03-06  Keith Seitz  <keiths@redhat.com>
635
636         * generic/gdbtk-cmds.c: Include "ctype.h" if available.
637         (gdb_get_mem): Renamed to gdb_update_mem.
638         (gdb_update_mem): Take array as first tcl argument. This
639         array will hold the data for the table, which is now stuffed
640         in C instead of tcl.
641         (gdb_eval): Use our own ui-file instead of gdb_stdout.
642         * library/memwin.ith (_update_address): New method.
643         (update_address): Address expression is no longer optional.
644         * library/memwin.itb (build_win): Use _update_address instead of
645         update_address.
646         (toggle_enabled): Ditto.
647         (newsize): Use _update_address instead of update_addr.
648         (update_address_cb): Use _update_address instead of update_address.
649         (do_popup): Likewise.
650         (goto): Likewise.
651         (incr_addr): Use _update_address instead of update_addr.
652         (edit): Use gdb_update_mem instead of gdb_get_mem.
653         (update_addr): use gdb_update_mem to do all the window updating.
654
655 2002-03-06  Martin M. Hunt  <hunt@redhat.com>
656
657         * library/srcwin.itb: Don't try to set balloon help
658         for search widget; it moved to srcbar.
659
660 2002-03-05  Martin M. Hunt  <hunt@redhat.com>
661
662         * library/prefs.tcl (pref_read): If a preference specifies
663         "src-font", substitute "global/fixed".
664         (pref_set_defaults): Change defaults from "src-font" to 
665         "global/fixed". Do not create font object "src-font". Do
666         not add hook to trace its changes.
667         (pref_src-font_trace): Remove.
668
669         * library/console.itb (Console::_update_option): Remove 
670         font update because this happens automatically.
671
672         * library/globalpref.itb: No need to set
673         changed flag for fonts; updates happen automatically
674         when prefs are updated.
675
676         * library/bpwin.itb: Replaced src-font with global/fixed.
677         * library/browserwin.itb: Ditto.
678         * library/mempref.itb: Ditto.
679         * library/memwin.itb: Ditto.
680         * library/process.itb: Ditto.
681         * library/regwin.itb: Ditto.
682         * library/srcbar.itcl: Ditto.
683         * library/srcpref.itb: Ditto.
684         * library/srctextwin.itb: Ditto.
685         * library/srcwin.itb: Ditto.
686         * library/stackwin.itb: Ditto.
687         * library/tdump.tcl: Ditto.
688         * library/tracedlg.tcl: Ditto.
689         * library/variables.tcl: Ditto.
690         * library/watch.tcl: Ditto.
691         
692 2002-03-01  Keith Seitz  <keiths@redhat.com>
693
694         * generic/gdbtk-register.c (register_changed_p): Don't use REGISTER_BYTES.
695         There is no guarantee anymore that REGISTER_BYTES contains
696         NUM_REGS+NUM_PSEUDO_REGS registers.
697         (setup_architecture_data): Likewise.
698
699 2002-02-25  Ian Roxborough  <irox@redhat.com>
700
701         * library/srcbar.itcl (SrcBar::create_buttons): Added
702         "Search in source file" entry box and label to the top
703         row toolbar.
704         * library/srcwin.itb (SrcWin::_build_win): Removed
705         "Search in source file" entry box.
706         (SrcWin::_search): Renamed to "search", add string
707         parameter and cleaned up.
708         * library/srcwin.ith (SrcWin): Removed private
709         method "_search" and added public method "search".
710
711 2002-02-17  Tom Tromey  <tromey@redhat.com>
712
713         * library/tclIndex: Updated.
714         * library/srcbar.itcl (SrcBar): Use new Session namespace.
715         * library/main.tcl: Use new Session namespace.
716         * library/interface.tcl (gdbtk_tcl_preloop): Use new Session
717         namespace.
718         (gdbtk_cleanup): Likewise.
719         (_close_file): Likewise.
720         * library/session.tcl: Use a namespace.  Renamed all functions.
721
722 2002-02-13  Martin M. Hunt  <hunt@redhat.com>
723
724         * generic/gdbtk-hooks.c (gdbtk_print_frame_info): Don't 
725         set GDB globals current_source_symtab and current_source_line.
726         Let GDB do it. 
727
728 2002-02-13  Keith Seitz  <keiths@redhat.com>
729
730         * library/managedwin.itb (_create): If given a transient window,
731         make sure that the SrcWin that is to become its master exists;
732         otherwise, use ".".
733
734 2002-02-12  Keith Seitz  <keiths@redhat.com>
735
736         From Don Bowman <don@sandvine.com>:
737         * library/targetselection.itb (init_target_db): Add target
738         vxWorks.
739         Update copyright.
740
741 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
742
743         * generic/gdbtk-cmds.c (gdb_listfuncs): Don't call
744         BLOCK_SHOULD_SORT.
745         * library/browserwin.itb (BrowserWin::_fill_funcs_combo): Sort
746         the output of gdb_listfuncs.
747
748 2002-02-07  Martin M. Hunt  <hunt@redhat.com>
749
750         * generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
751         generic/gdbtk-hooks.c, generic/gdbtk-stack.c: Cleanup includes.
752
753 2002-02-06  Martin M. Hunt  <hunt@redhat.com>
754
755         * generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
756         generic/gdbtk-hooks.c, generic/gdbtk-register.c,
757         generic/gdbtk-stack.c, generic/gdbtk-varobj.c,
758         generic/gdbtk-wrapper.c: Cleanup. Fix indentation. Fix
759         function declarations. Remove unused variables. Add 2002
760         copyrights.
761
762 2002-02-06  Keith Seitz  <keiths@redhat.com>
763
764         * library/images/cygnus.gif: Remove.
765         * library/images2/cygnus.gif: Remove.
766
767 2002-02-05  Elena Zannoni  <ezannoni@redhat.com>
768
769         * generic/gdbtk-cmds.c (gdbtk_load_asm, gdbtk_print_asm): Use
770         TARGET_PRINT_INSN instead of tm_print_insn.
771
772 2002-01-18  Keith Seitz  <keiths@redhat.com>
773
774         * library/console.ith (get_text): Delete.
775         (test): New public method.
776         * library/console.itb (get_text): Delete.
777         (test): New public method.
778
779 2002-01-15  Keith Seitz  <keiths@redhat.com>
780
781         * generic/gdbtk-varobj.c (variable_value): When varobj_get_value
782         fails, use error_last_message to return the error to tcl land.
783         This allows us to display nice messages about why "0xdeadbeef" is
784         not accessible!
785
786 2002-01-11  Martin M. Hunt  <hunt@redhat.com>
787
788         * library/memwin.itb (idle): Check for existence of window.
789         Prevents race-condition error.
790
791         * library/srctextwin.itb (enable): Check for existence of $twin.
792
793         * library/interface.tcl (gdbtk_tcl_exec_file_display): 
794         Set pathname in host-independent manner using "file" and
795         gdb_current_directory.
796
797 2002-01-10  Keith Seitz  <keiths@redhat.com>
798
799         * library/Makefile (ITCL_SH): Renamed to "ITCLSH".
800         (tclIndex): We no longer have an Itcl shell, so we must use
801         "package require Itcl".
802
803 2002-01-08  Keith Seitz  <keiths@redhat.com>
804
805         * generic/gdbtk-cmds.c (gdb_find_file_command): If the symtab
806         doesn't have the filename's fullname, look it up with
807         symtab_to_filename.
808
809 2002-01-08  Keith Seitz  <keiths@redhat.com>
810
811         * library/srcwin.itb (location): Fix typo. It's "addr" not
812         "address".
813
814 2002-01-08  Tom Tromey  <tromey@redhat.com>
815
816         * library/interface.tcl (gdbtk_tcl_preloop): Use current directory
817         when `--args' given.
818
819 2002-01-07  Ian Roxborough  <irox@redhat.com>
820
821         * library/srcbar.itcl (SrcBar::create_buttons): Line number
822         and address fields have been removed and added to the
823         status bar.
824         * library/srcwin.itb (SrcWin::_build_win): Add address and
825         line number fields to status bar.  Moved download progress
826         bar to status bar.
827         (SrcWin::download_progress):  Use canvas on status bar.
828         Remember to adjust width of 64-bit address.
829         (SrcWin::location): Set line number and address on status bar.
830         * library/srcwin.ith (SrcWin): Added new private variable.
831
832 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
833
834         * generic/gdbtk-cmds.c (gdb_disassemble_driver): Replace
835         LITTLE_ENDIAN with BFD_ENDIAN_LITTLE.
836         * generic/gdbtk-register.c (get_register): Ditto.
837
838 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
839
840         * generic/gdbtk-wrapper.h: Add typedef value_ptr.
841
842 2002-01-03  Martin M. Hunt  <hunt@redhat.com>
843
844         * library/session.tcl (SESSION_serialize_bps): Ignore
845         breakpoints set on internal_error and info_command because
846         these are set by .gdbinit and will be recreated by it.
847         This is a bit of a hack and should be fixed properly
848         someday.
849         
850         * library/debugwin.itb: Fix incorrect button names
851         so they will be enabled/disabled properly.
852
853         * library/srctextwin.itb: Set focus on srcwin only
854         if another window doesn't have the focus.
855
856 2002-01-02  Keith Seitz  <keiths@redhat.com>
857
858         * library/interface.tcl (set_exe): Allow users to debug
859         executables with no debug information.
860
861 2002-01-02  Keith Seitz  <keiths@redhat.com>
862
863         * library/console.ith (insert): Add tag parameter.
864         (einsert): Delete.
865         * library/console.itb: (insert): Add tag parameter.
866         (einsert): Delete.
867         * library/interface.tcl (gdbtk_tcl_fputs): Use Console::insert.
868         (gdbtk_tcl_fputs_error): Likewise.
869         (gdbtk_tcl_fputs_log): Likewise.
870         (gdbtk_tcl_fputs_target): Likewise.
871         (set_target): Likewise.
872
873 2002-01-02  Ian Roxborough  <irox@redhat.com>
874
875         * library/managedwin.itb (ManagedWin::_create):  When
876         making a modal window transient, use the source window
877         as the master and not ".".
878