OSDN Git Service

* dll_init.cc (dll_global_dtors): Add an additional test to avoid walking the
[pf3gnuchains/pf3gnuchains4x.git] / gdb / gdbtk / ChangeLog-2004
1 2004-12-13  Ben Elliston  <bje@au.ibm.com>
2
3         Remove some warnings:
4         * generic/gdbtk-hooks.c (gdbtk_pre_add_symbol): Cast `name'.
5         * generic/gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Remove.
6
7 2004-12-08  Keith Seitz  <kseitz@sources.redhat.com>
8
9         * library/download.ith (completed_steps): New variable.
10         * library/download.itb (Download::constructor): Remove
11         "-fraction" option from iwidgets feedback widget. It's not a valid
12         option!
13         (update_download): Compute the step number and use that to
14         update the feedback widget.
15         (done): Use completed_steps to figure out how many steps
16         the dumb feedback meter needs to show full.
17         (download_it): Initialize completed_steps.
18         
19 2004-11-18  Keith Seitz  <kseitz@sources.redhat.com>
20
21         * generic/gdbtk-wrapper.c (wrap_type_print): Use value_type instead
22         of VALUE_TYPE.
23         * generic/gdbtk-cmds.c (gdb_eval): Likewise.
24
25 2004-10-31  David Lecomber <dsl@sources.redhat.com>
26         * generic/gdbtk-register.c: Add message parameter
27         to call of get_selected_frame.
28
29 2004-08-27  Martin Hunt  <hunt@redhat.com>
30
31         * library/ipc.tcl: New file.
32         * library/ipcpref.ith: New file.
33         * library/ipcpref.itb: New file.
34
35         * library/srcwin.itb (SrcWin::inferior): Call ipc
36         send if enabled.
37         
38         * library/prefs.tcl (pref_set_defaults): Enable color
39         schemes by default. Add IPC defaults.
40         
41         * library/srcbar.itcl (create_pref_menu): Create
42         "Advanced" cascade menu and put "Edit Color Schemes"
43         and "IPC Support" under it.
44
45         * library/managedwin.itb (ManagedWin::destructor): 
46         If IPC enabled then send "quit" on exit.
47         
48         * library/main.tcl: Start IPC if enabled.
49
50         * library/prefs.tcl (pref_set_defaults): Add IPC defaults.
51
52         * library/gdbmenubar.itcl (menubar_get_current_menu): 
53         New method.
54
55 2004-08-09  Ben Elliston  <bje@au.ibm.com>
56
57         * generic/gdbtk-register.c (get_register_size): Use
58         register_size() instead of DEPRECATED_REGISTER_RAW_SIZE.
59         (get_register): Likewise.
60         (register_changed_p): Likewise.
61
62 2004-07-02  Martin Hunt  <hunt@redhat.com>
63
64         * library/targetselection.itb: Use /dev/comX for
65         cygwin instead of just comX.
66
67         * library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.
68
69 2004-07-02  Martin Hunt  <hunt@redhat.com>
70         
71         * generic/gdbtk-cmds.c (symtab_to_filename): New function. Like
72         symtab_to_fullname() but returns the filename if the fullname 
73         cannot be found.
74         
75         * generic/gdbtk-cmds.c (gdb_find_file_command): Revert
76         patch of 2004-06-11. Use symtab_to_filename() again.
77         (gdb_loc): Ditto.
78         (gdb_loadfile): Ditto.
79         * generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
80         (gdb_get_tracepoint_info): Ditto.
81
82         * generic/gdbtk-cmds.h: Declare symtab_to_filename().
83
84 2004-06-26  Andrew Cagney  <cagney@gnu.org>
85
86         * generic/gdbtk-hooks.c (gdbtk_add_hooks): Call
87         deprecated_set_gdb_event_hooks.
88
89 2004-06-25  Andrew Cagney  <cagney@gnu.org>
90
91         * generic/gdbtk.h: "ui_loop_hook" was deprecated, update.
92         * generic/gdbtk-hooks.c (gdbtk_add_hooks, x_event): Ditto.
93         * generic/gdbtk-cmds.c: Ditto.
94
95 2004-06-24  Andrew Cagney  <cagney@gnu.org>
96
97         * generic/gdbtk-hooks.c (gdbtk_add_hooks): Update references to
98         pre_add_symbol_hook and post_add_symbol_hook, both deprecated.
99         * library/interface.tcl (gdbtk_memory_changed): Update comments.
100         
101 2004-06-24  Andrew Cagney  <cagney@gnu.org>
102
103         * generic/gdbtk-hooks.c (ui_loop_hook, pre_add_symbol_hook)
104         (post_add_symbol_hook, selected_frame_level_changed_hook): Delete
105         extern declarations.
106
107 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
108
109         * generic/gdbtk-cmds.c (gdb_load_info): Use bfd_get_section_size
110         instead of bfd_get_section_size_before_reloc.
111
112 2004-06-11  Martin Hunt  <hunt@redhat.com>
113
114         * generic/gdbtk-cmds.c (gdb_find_file_command): Use
115         symtab_to_fullname() instead of symtab_to_filename().
116         (gdb_loc): Ditto.
117         (gdb_loadfile): Ditto.
118         * generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
119         (gdb_get_tracepoint_info): Ditto.       
120
121         * generic/gdbtk-register.c (get_register): Simplify and remove
122         references to DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL.
123
124 2004-05-27  Martin Hunt  <hunt@redhat.com>
125
126         * library/tdump.tcl (build_win): Remove old nonworking
127         code to select scrolledtext mode.  Just use "dynamic".
128
129 2004-04-22  Keith Seitz  <kseitz@sources.redhat.com>
130
131         * generic/gdbtk-hooks.c (gdbtk_add_hooks): "Update" deprecated hooks.
132         "Houston... We have a problem."
133         * generic/gdbtk-interp.c (gdbtk_interpreter_resume): Likewise.
134         * generic/gdbtk.c (gdbtk_init_1): Likewise.
135         
136 2004-04-19  Roland McGrath  <roland@redhat.com>
137
138         * generic/gdbtk-hooks.c: Update gdbtk_pre_add_symbol forward decl to
139         match defn type change.
140
141 2004-04-15  Roland McGrath  <roland@redhat.com>
142
143         * generic/gdbtk-hooks.c (gdbtk_pre_add_symbol): Add const to arg type.
144         (pre_add_symbol): Likewise in extern decl.
145
146 2004-04-05  Martin Hunt  <hunt@redhat.com>
147
148         * library/session.tcl: Make hostname and portname
149         session-dependent. Add gdb_bg_num (the color
150         scheme number) as a per-session variable.
151
152         * library/prefs.tcl (pref_read): If color schemes are in use,
153         set colors based on the current scheme.
154         (pref_save): Add "bg" section.
155         (pref_set_defaults): Define new variable gdb/use_color_schemes
156         and define 16 default background colors.
157
158         * library/managedwin.itb (ManagedWin::window_name): Append
159         window "instance" string to window name.
160         (ManagedWin::window_instance): Set window instance string.
161
162         * library/debugwin.itb: Add a reconfig method to restore
163         unique black textbackground, overriding color scheme.
164
165         * library/csprefs.itb:
166         * library/csprefs.ith: New files. Implement color scheme
167         preferences.
168
169         * library/util.tcl (set_bg_colors): New function.
170         (r_setcolors): New function.
171
172         * library/regwin.itb (_prefs_changed): Deleted.
173         (reconfig): New function.  Updates tkTable color tags
174         if color scheme changes.
175         * library/regwin.ith: Update to reflect above changes.
176
177         * library/srcbar.itcl (create_pref_menu): Add pulldown
178         menus for "Edit Color Schemes..." and "Use Color Schemes".
179         (reconfig): Fix up menu items for color schemes.
180
181         * library/globalpref.itb (_init_var): Add
182         gdb/use_color_schemes to variable list.
183         (_build_win): Add a checkbutton to enable/disable
184         color schemes.
185
186         * library/gdbmenubar.itcl (menubar_add_cascade): Add a class
187         argument so cascade menus can be managed by class too.
188
189         * library/interface.tcl (gdbtk_tcl_fputs): Check for
190         existence of gdbtk_state(console).  Stops annoying error
191         messages.
192         (gdbtk_tcl_fputs_error): Ditto.
193         (gdbtk_tcl_fputs_log): Ditto.
194
195 2004-03-29  Martin Hunt  <hunt@redhat.com>
196
197         * generic/gdbtk-register.c (map_arg_registers): If a specific
198         register was requested, just return it without validating it
199         has a name.
200         (get_register): Check DEPRECATED_REGISTER_CONVERTIBLE_P ().
201
202 2004-02-17  Martin Hunt  <hunt@redhat.com>
203
204         * generic/gdbtk-register.c (Gdbtk_Register_Init): Replace
205         calls to register_gdbarch_swap with deprecated_register_gdbarch_swap.
206
207         * library/srcwin.itb: Remove an apparently redundant call
208         to gdbtk_locate_main and location. This actually broke in
209         situations where no source files were found.