summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/ChangeLog
blob: c22f169608a263f5408e7c22cc488e81aafc698a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
2003-05-08  Andrew Cagney  <cagney@redhat.com>

	* generic/gdbtk-register.c (get_register): Replace
	MAX_REGISTER_VIRTUAL_SIZE and MAX_REGISTER_RAW_SIZE with
	MAX_REGISTER_SIZE.
	(register_changed_p, setup_architecture_data): Ditto.

2003-04-30  Andrew Cagney  <cagney@redhat.com>

	* generic/gdbtk-cmds.c (gdb_disassemble_driver): Instead of
	TARGET_PRINT_INSN_INFO, "dis_asm_memory_error",
	"dis_asm_read_memory", and "dis_asm_print_address", use
	"deprecated_tm_print_insn_info"

2003-04-11  Andrew Cagney  <cagney@redhat.com>

	* generic/gdbtk-stack.c (get_frame_name): Use get_frame_pc and
	get_next_frame.

2003-03-18  Keith Seitz  <keiths@redhat.com>

	From Nick Kelsey <nickk@ubicom.com>:
	* process.itb (build_win): Removed ide_sizebox instantiation that is
	no longer required and is causing errors for win hosts.
	* tdump.tcl (build_win): Ditto.
	* locals.tcl (build_win): Removed ide_sizebox instantiation that is
	no longer required and already commented out.
	* regwin.itb (build_win): Ditto.
	* srcwin.itb (constructor): Ditto.
	* stackwin.itb (constructor): Ditto.
	* watch.tcl (constructor): Ditto.

2003-03-24  Martin M. Hunt  <hunt@redhat.com>

	* generic/gdbtk-register.c (get_register_types): Use 
	register_type instead of REGISTER_VIRTUAL_TYPE.
	(get_register): Ditto.

2003-03-17  Keith R Seitz  <keiths@redhat.com>

	* generic/gdbtk-register.c (get_register): Use frame_register
	instead of get_saved_register (which was deleted from gdb).

2003-03-06  Martin M. Hunt  <hunt@redhat.com>

	* generic/gdbtk-interp.c (gdbtk_interpreter_init): Remove
	unused variable.

	* generic/gdbtk-cmds.c (gdb_update_mem): Remove unused variable.
	(gdbtk_print_source): Deleted.
	(gdbtk_print_asm): Deleted.

2003-03-06  Martin M. Hunt  <hunt@redhat.com>
	
	* generic/gdbtk-bp.c (gdb_get_tracepoint_info): Return CORE_ADDR.

2003-03-06  Martin M. Hunt  <hunt@redhat.com>
	
	* generic/gdbtk-cmds.c (gdb_disassemble): Deleted.
	(sprintf_append_element_to_obj): Deleted.

	* generic/gdbtk-bp.c (get_breakpoint_commands): Use
	Tcl_ListObjAppendElement() instead of 
	sprintf_append_element_to_obj().
	
2003-03-05  Martin M. Hunt  <hunt@redhat.com>

	* library/srctextwin.itb (SrcTextWin::FillAssembly): 
	Remove unused variables asm_lo_addr and asm_hi_addr.
	(FillMixed): Ditto.

2003-03-05  Martin M. Hunt  <hunt@redhat.com>	

	* generic/gdbtk-cmds.c (Gdbtk_Init): Create gdb_CA_to_TAS.
	(gdb_load_disassembly): Now takes CORE_ADDRs. Returns CORE_ADDRs
	for low and high.
	(gdbtk_load_asm): Use CORE_ADDRs.
	(gdb_loc): Return CORE_ADDRs.
	(gdb_entry_point): Return CORE_ADDR.
	(gdb_incr_addr): Update description.
	(gdb_CA_to_TAS): New function. Takes a CORE_ADDR and returns 
	a target sddress string.

	* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Change to
	take a CORE_ADDR.
	(gdb_get_breakpoint_info): Returns a CORE_ADDR.
	(gdb_set_bp_addr): Takes a CORE_ADDR.
	
	* library/bpwin.itb (bp_add): Call gdb_CA_to_TAS before 
	displaying address.
	(bp_modify): Ditto.

	* library/srcwin.itb (location): Call gdb_CA_to_TAS before 
	displaying address. Don't add "0x" in front of address.
	(set_execution_status): Call gdb_CA_to_TAS before 
	displaying address. Don't call [gdb_cmd printf] to format
	output. Weird.

2003-02-25  David Carlton  <carlton@math.stanford.edu>

	* generic/gdbtk.h: Replace all instances of SYMBOL_NAME by
	DEPRECATED_SYMBOL_NAME.
	* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto.
	* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright.

2003-02-21  Tom Tromey  <tromey@redhat.com>

	* generic/gdbtk-interp.c (gdbtk_interpreter_init): Declare locals
	before code.

2003-02-21  Daniel Jacobowitz  <drow@mvista.com>

	* generic/gdbtk-stack.c (gdb_get_blocks, gdb_block_vars)
	(gdb_get_vars_command): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.

2003-02-20  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c (gdb_search): Change SYMBOL_SOURCE_NAME
	to SYMBOL_PRINT_NAME to track recent changes in gdb.

2003-02-20  Pierre Muller  <muller@ics.u-strasbg.fr>

	* generic/gdbtk-cmds.c: Add missing "block.h" include.
	generic/gdbtk-stack.c: Ditto.
	generic/gdbtk-wrapper.c: Ditto.

2003-02-18  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-main.c (main): Change name of intepreter to "insight".
	* generic/gdbtk.h: Add ifdef wrappers.
	(gdbtk_init): Declare.
	(gdbtk_source_start_file): Declare.
	* generic/gdbtk.c (gdbtk_init): Export.
	Reomve init_ui_hook stuff.
	Do not add hooks here anymore (moved into interps).
	Do not muck with gdbk_stdout et al (moved into interps).
	(gdbtk_source_start_file): Code ripped out of gdbtk_init
	which deals with sourcing the main startup file.
	(gdbtk_init_1): Hack: New function.
	(argv0): Hack: New static global.
	(tk_init): Moved to gdbtk-interps.c.
	(gdbtk_resume): Likewise.
	(gdbtk_suspend): Likewise.
	(gdbtk_prompt_p): Likewise.
	(gdbtk_exec): Likewise.
	(gdbtk_command_loop): Likewise.
	(_initialize_gdbtk): Move interpreter stuff to gdbtk-interps.c.
	Hack: Add new init_ui_hook.
	* generic/gdbtk-interps.c: New file.

2003-02-17  Christopher Faylor  <cgf@redhat.com>

	Revert below change.

2003-02-17  Christopher Faylor  <cgf@redhat.com>

	* gdbtk/gdbtk.c (tk_procs): Make file global.  Declare at top.
	(_initialize_gdbtk): Move interp_add from here.
	(gdb_tk): Call interp_add here.  Pass correct uiout to interp_new.

2003-02-14  Keith Seitz  <keiths@redhat.com>

	From Chris Faylor <cgf@redhat.com>:
	* generic/gdbtk-main.c (main): Initialize args.interpreter_p.

2003-02-14  Martin M. Hunt  <hunt@redhat.com>

	* library/globalpref.itb (GlobalPref::_change_icons): Fix
	curselection call for combobox.

2003-02-12  Andrew Cagney  <ac131313@redhat.com>

	* generic/gdbtk-hooks.c (tk_command_loop): Move function ...
	* generic/gdbtk.c (gdbtk_command_loop): ... to here.  Add data
	parameter.

	* generic/gdbtk.c: Include "interps.h".
	(_initialize_gdbtk): Register the "gdbtk" interpreter.  Don't set
	init_ui_hook.
	(gdbtk_init): Change parameter to a void data pointer.
	(tk_init, gdbtk_resume, gdbtk_suspend): New functions.
	(gdbtk_prompt_p, gdbtk_exec): New functions.

	* generic/gdbtk-hooks.c (gdbtk_add_hooks): Don't set
	command_loop_hook.  Update copyright.
	
2003-02-11  Martin M. Hunt  <hunt@redhat.com>

	* library/help/images/browser1.png: New file.
	* library/help/images/browser2.png: New file.	

2003-02-11  Keith R Seitz  <keiths@redhat.com>

	* generic/gdbtk-register.c (register_changed_p): If the selected
	frame is NULL, do not call frame_register_read, since that will
	now cause an internal error.

2003-02-10  Andrew Cagney  <ac131313@redhat.com>

	* generic/gdbtk-varobj.c (gdb_variable_command): Ditto for
	`commands'.
	(variable_type): Ditto for `first'.
	(variable_obj_command): Ditto.
	(variable_create): Ditto for create_options.
	(variable_type): Ditto for `last'.  Use `string' and not `first'
	when modifying the buffer.
	(struct disassembly_client_data ): Ditto for `asm_argv'
	* generic/gdbtk-register.c (gdb_register_info): Ditto for
	`commands'.
	* generic/gdbtk-hooks.c (tk_command_loop): Ditto for `msg'.
	* generic/gdbtk-cmds.c (gdb_search): Ditto for `switches'.
	(gdbtk_load_source): Ditto for `text_argv'.
	(struct disassembly_client_data ): Ditto for `source_argv'.
	(gdbtk_load_asm): Ditto for `text_argv'.
	(struct disassembly_client_data ): Ditto for `asm_argv'
	(gdb_loadfile): Ditto for `text_argv'.
	* generic/gdbtk.c (TclDebug): Make `v' a constant pointer.
	(gdbtk_init): Ditto for `old_chain', `src_path', `msg', and
	`lib_path'.

2003-02-10  Martin M. Hunt  <hunt@redhat.com>

	* library/browserwin.itb: Set textbackground option to
	$::Colors(textbg) instead of "white".

2003-02-10  Martin M. Hunt  <hunt@redhat.com>	

	* library/interface.tcl (gdbtk_attach_native): Don't force the user
	to choose an exec file when attaching.

	* library/attachdlg.itb: Some fixes to work with latest iwidgets.

2003-02-10  Martin M. Hunt  <hunt@redhat.com>
	
	* library/prefs.tcl (pref_set_defaults): Remove prefs
	gdb/browser/width, gdb/browser/top_height, gdb/browser/view_height,
	gdb/browser/view_is_open. Add gdb/browser/layout.

	* library/browserwin.ith: Update declarations to match 
	changes in browserwin.itb.

	* library/browserwin.itb (constructor): Don't set toplevel
	bindings. Set _layout from prefs.
	(destructor): Don't check $resize_after. Don't save view_is_open.
	(_build_win): Create a popup menu and bind to button 3.
	Split the rest into 4 functions; _build_file_frame, 
	_build_filter_frame, _build_function_frame, and _build_view_frame.
	Pack these 4 frames according to $_layout.
	(_toggle_more): Deleted.
	(_bind_toplevel): Deleted.
	(_do_resize): Deleted.
	(_resize): Deleted.
	(_fill_source): Always fill because source is always visible.
	(_fill_funcs_combo): Limit width of combo to 40 chars.
	(_build_filter_frame): New function.
	(_build_file_frame): New function.
	(_build_function_frame): New function.
	(_build_view_frame): New function.
	(_switch_layout): New function. Toggle between layouts.

	* library/tclIndex: Rebuilt.
	
	* library/help/browser.html: Rewrite.

2003-02-03  Martin M. Hunt  <hunt@redhat.com>

	* library/targetselection.itb (TargetSelection::build_win): Remove 
	duplicate label.

2003-02-03  Martin M. Hunt  <hunt@redhat.com>	

	* library/globalpref.itb, library/mempref.itb, library/srcpref.itb,
	library/srcwin.itb, library/targetselection.itb, library/tracedlg.tcl:
	Set background color of comboboxes to Colors(textbg).

	* library/main.tcl: Load combobox version 2.2.

	* library/prefs.tcl: Minor optimization. Change order of main_names
	to have the most common, "main", first.
	
2003-02-03  Martin M. Hunt  <hunt@redhat.com>
	
	* library/targetselection.itb (TargetSelection::port_list): Keep
	checking ports on Windows until we can open no more. Replaces
	fixed limit of 9.

2003-02-03  Martin M. Hunt  <hunt@redhat.com>
	
	* library/session.tcl (_recreate_bps): Catch errors.

2003-02-03  Martin M. Hunt  <hunt@redhat.com>
	
	* library/interface.tcl (gdbtk_locate_main): Rewrite for efficiency.
	No longer uses gdb_search.  Caches result. 
	(initialize_gdbtk): Initialize gdb_locate_main cache.
	* library/main.tcl: Call initialize_gdbtk after loading prefs.

2003-01-21  Martin M. Hunt  <hunt@redhat.com>
	* library/main.tcl: Don't require iwidgets 3.0.

	* library/console.itb (Console::_build_win): Rename
	tkTextClosestGap to tk::TextClosestGap. Rename tkCancelRepeat
	to tk::CancelRepeat. Rename tkPriv to tk::Priv. Needed for tk 8.4.1.

	* library/bpwin.itb (BpWin::build_win): Don't
	create sizebox.
	* library/locals.tcl (build_win): Ditto.
	* library/regwin.itb (RegWin::_build_win): Ditto.
	* library/srcwin.itb (SrcWin::constructor): Ditto.
	* library/stackwin.itb (StackWin::build_win): Ditto.
	* library/watch.tcl (build_win): Ditto.
	
	* generic/gdbtk.c (gdbtk_init): Look for iwidgets in
	"iwidgets" instead of "iwidgets3.0.0".
	Don't call ide_create_sizebox_command.

	* ChangeLog: New log for 2003.
	* ChangeLog-2002: Renamed from ChangeLog.