1 |
578 |
markom |
2000-12-13 Fernando Nasser
|
2 |
|
|
|
3 |
|
|
* variables.tcl (constructor): Use the file_changed_hook to remove
|
4 |
|
|
all variables if the exec file changes. This prevents the Watch
|
5 |
|
|
Window to dump core because the "types" are not valid anymore.
|
6 |
|
|
|
7 |
|
|
2000-12-13 Fernando Nasser
|
8 |
|
|
|
9 |
|
|
* session.tcl (session_save): Save target name.
|
10 |
|
|
(session_load): Restore target name.
|
11 |
|
|
|
12 |
|
|
2000-12-08 Tom Tromey
|
13 |
|
|
|
14 |
|
|
* managedwin.itb (ManagedWin::startup): Only open source window
|
15 |
|
|
if it doesn't already exist.
|
16 |
|
|
|
17 |
|
|
* toolbar.tcl (create_help_menu): Remove `Cygnus' item.
|
18 |
|
|
|
19 |
|
|
* console.itb (Console::invoke): Trim trailing newlines from
|
20 |
|
|
text.
|
21 |
|
|
|
22 |
|
|
2000-12-07 Tom Tromey
|
23 |
|
|
|
24 |
|
|
* managedwin.itb (ManagedWin::reveal): Don't set focus.
|
25 |
|
|
|
26 |
|
|
* tclIndex: Rebuilt.
|
27 |
|
|
* interface.tcl (set_exe_name): Save session.
|
28 |
|
|
(gdbtk_quit_check): Save session.
|
29 |
|
|
* session.tcl: New file.
|
30 |
|
|
* srcbar.tcl (create_menu_items): Add menu items to recall old
|
31 |
|
|
sessions.
|
32 |
|
|
|
33 |
|
|
* bpwin.itb (BpWin::goto_bp): Handle multiple source windows.
|
34 |
|
|
* srctextwin.itb (SrcTextWin::get_file): New method.
|
35 |
|
|
(SrcTextWin::set_tag_to_stack): New method.
|
36 |
|
|
* srctextwin.ith (get_file): Declare.
|
37 |
|
|
* srcwin.ith (update_hook_init, window_list, pc_window): New
|
38 |
|
|
common variables.
|
39 |
|
|
(_choose_window, choose_and_update, is_fixed, get_file): Declare.
|
40 |
|
|
* srcwin.itb (SrcWin::_choose_window): New method.
|
41 |
|
|
(SrcWin::choose_and_update): Likewise.
|
42 |
|
|
(SrcWin::_update): Renamed from update. Now private. Added `loc'
|
43 |
|
|
argument.
|
44 |
|
|
(SrcWin::get_file): New method.
|
45 |
|
|
(SrcWin::is_fixed): Likewise.
|
46 |
|
|
(SrcWin::constructor): Only add update hook once. Append this
|
47 |
|
|
object to window list.
|
48 |
|
|
(SrcWin::destructor): Don't add update hook. Remove this object
|
49 |
|
|
from window list. Clear pc_window if necessary.
|
50 |
|
|
(SrcWin::get_top): New method.
|
51 |
|
|
(SrcWin::_set_tag_to_stack): New method.
|
52 |
|
|
(SrcWin::choose_and_display): New method.
|
53 |
|
|
|
54 |
|
|
* srctextwin.itb (SrcTextWin::do_source_popup): Added "Set
|
55 |
|
|
Breakpoint" to popup menu.
|
56 |
|
|
|
57 |
|
|
* srcwin.itb (SrcWin::edit): Use uplevel, not eval, to evaluate
|
58 |
|
|
external editor expression.
|
59 |
|
|
|
60 |
|
|
2000-12-06 Tom Tromey
|
61 |
|
|
|
62 |
|
|
* targetselection.itb (TargetSelection::build_win): Add option to
|
63 |
|
|
start xterm.
|
64 |
|
|
* interface.tcl (run_executable): Call tty::create if requested.
|
65 |
|
|
* tty.tcl: New file.
|
66 |
|
|
|
67 |
|
|
2000-12-02 Tom Tromey
|
68 |
|
|
|
69 |
|
|
* console.ith (_set_wrap): Declare.
|
70 |
|
|
(_update_option): Likewise.
|
71 |
|
|
* console.itb (Console::constructor): Install preference hooks
|
72 |
|
|
(commented out pending a bug fix).
|
73 |
|
|
(Console::destructor): Remove preference hooks.
|
74 |
|
|
(Console::_set_wrap): New method.
|
75 |
|
|
(Console::_update_option): New method.
|
76 |
|
|
(Console::_build_win): Use _set_wrap.
|
77 |
|
|
|
78 |
|
|
2000-12-01 Larry Smith
|
79 |
|
|
|
80 |
|
|
* console.itb (invoke): Added logic to allow user to build
|
81 |
|
|
up multiline "tk" commands based on results from checking
|
82 |
|
|
command with [info complete $cmd]s.
|
83 |
|
|
|
84 |
|
|
2000-11-30 Tom Tromey
|
85 |
|
|
|
86 |
|
|
* srctextwin.ith (enable_disable_at_line): Declare.
|
87 |
|
|
* srctextwin.itb (SrcTextWin::build_popups): Create popup for
|
88 |
|
|
disabled breakpoint. Add "disable" to breakpoint menu.
|
89 |
|
|
(enable_disable_at_line): New method.
|
90 |
|
|
(SrcTextWin::do_bp): Don't remove the tag we are adding -- remove
|
91 |
|
|
the "opposite" tag.
|
92 |
|
|
|
93 |
|
|
2000-11-30 Tom Tromey
|
94 |
|
|
|
95 |
|
|
* prefs.tcl (pref_save): Put version number into file. Added
|
96 |
|
|
`session' to list of top-level keys. Allow keys with many `/'s.
|
97 |
|
|
(pref_read): Recognize version number.
|
98 |
|
|
(escape_value): Generate URL-style encoding.
|
99 |
|
|
(unescape_value): Added `version' argument. Handle URL decoding.
|
100 |
|
|
|
101 |
|
|
2000-11-29 Larry Smith
|
102 |
|
|
|
103 |
|
|
* regwin.itb (build_win,but3): Added "Double" menu entry to
|
104 |
|
|
permit selection of "f" format for register display.
|
105 |
|
|
|
106 |
|
|
2000-11-06 Fernando Nasser
|
107 |
|
|
|
108 |
|
|
* interface.tcl (show_warning): Add missing argument to ide_messageBox
|
109 |
|
|
and add comments explaining why we use it for windows.
|
110 |
|
|
|
111 |
|
|
2000-11-01 Larry Smith
|
112 |
|
|
|
113 |
|
|
* console.itb (_build_win): Added code to remove horizontal
|
114 |
|
|
scrollbar by setting -hscrollmode none, which enables the
|
115 |
|
|
console widget to wrap text properly.
|
116 |
|
|
* globalpref.itb (build_win): added checkbutton to enable
|
117 |
|
|
wrapping text in the console window.
|
118 |
|
|
|
119 |
|
|
2000-10-31 Larry Smith
|
120 |
|
|
|
121 |
|
|
* targetselection.ith (run_method): Add variable for
|
122 |
|
|
"Run Program" and "Continue..." buttons
|
123 |
|
|
* targetselection.itb (build_win): put "Run Program" and
|
124 |
|
|
"Continue From..." buttons into a frame and save them in new
|
125 |
|
|
run_method variable.
|
126 |
|
|
* change targetselection.itb (change_target) disables "Run
|
127 |
|
|
Program" and "Continue..." buttons when the target is "exec",
|
128 |
|
|
enables them for all others.
|
129 |
|
|
|
130 |
|
|
2000-10-26 Larry Smith
|
131 |
|
|
|
132 |
|
|
* targetselection.itb: Run Program and Continue From Last Stop
|
133 |
|
|
are now radio buttons rather than checkbuttons
|
134 |
|
|
|
135 |
|
|
2000-10-26 Mo DeJong
|
136 |
|
|
|
137 |
|
|
* attachdlg.itb (list_pids): Use "ps axw" to get pid list
|
138 |
|
|
when running under Linux. Use string match instead of
|
139 |
|
|
regexp match is ps filter entry.
|
140 |
|
|
* attachdlg.ith (list_pids): Change default argument to "*".
|
141 |
|
|
|
142 |
|
|
2000-10-23 Fernando Nasser
|
143 |
|
|
|
144 |
|
|
* util.tcl (find_iwidgets_library): Use the directories that were
|
145 |
|
|
actually searched in the error message.
|
146 |
|
|
|
147 |
|
|
2000-10-13 Fernando Nasser
|
148 |
|
|
|
149 |
|
|
With Steven Johnson
|
150 |
|
|
This change fixes part of the possible scenarios where a race condition
|
151 |
|
|
would cause core dumps if there were commands changing registers or
|
152 |
|
|
other target resources in a startup script.
|
153 |
|
|
The remaining scenarios are fixed by a patch to generic/gdbtk-hooks.c
|
154 |
|
|
* interface.tcl (gdbtk_update_safe): New function. Like gdbtk_update
|
155 |
|
|
but does nothing if target is running.
|
156 |
|
|
(gdbtk_register_changed): Call the above safe version.
|
157 |
|
|
(gdbtk_memory_changed): Likewise.
|
158 |
|
|
|
159 |
|
|
2000-10-11 Fernando Nasser
|
160 |
|
|
|
161 |
|
|
* srctextwin.itb (build_popups): Fix typos that caused duplicate
|
162 |
|
|
"Jump to Here" menu entries in the breakpoint-set right-click pop-up
|
163 |
|
|
menu.
|
164 |
|
|
|
165 |
|
|
2000-10-04 Fernando Nasser
|
166 |
|
|
|
167 |
|
|
* download.itb (download_it): Fix previous changes for non-windows
|
168 |
|
|
hosts.
|
169 |
|
|
* srctextwin.itb (LoadFromCache): Ditto.
|
170 |
|
|
|
171 |
|
|
2000-10-04 Fernando Nasser
|
172 |
|
|
|
173 |
|
|
* download.itb (download_it): Convert filename to native before
|
174 |
|
|
passing it to a Tcl command.
|
175 |
|
|
* srctextwin.itb (_mtime_changed): Ditto.
|
176 |
|
|
(LoadFromCache): Ditto.
|
177 |
|
|
|
178 |
|
|
2000-09-18 Fernando Nasser
|
179 |
|
|
|
180 |
|
|
* watch.tcl (build_win): Use code when setting callback.
|
181 |
|
|
|
182 |
|
|
2000-08-10 Fernando Nasser
|
183 |
|
|
|
184 |
|
|
* targetselection.itb (change_baud): Fix typo (ETH, not ETX).
|
185 |
|
|
|
186 |
|
|
2000-08-10 Fernando Nasser
|
187 |
|
|
|
188 |
|
|
* targetselection.itb (init_target_db): Add 115200 baud option to
|
189 |
|
|
target remote.
|
190 |
|
|
|
191 |
|
|
2000-08-10 Fernando Nasser
|
192 |
|
|
|
193 |
|
|
* targetselection.itb (change_baud): Don't set baud for ETX.
|
194 |
|
|
|
195 |
|
|
2000-08-10 Fernando Nasser
|
196 |
|
|
|
197 |
|
|
* srctextwin.itb (jump_to_here): New method. Implements the
|
198 |
|
|
"Jump to Here" popup menu option.
|
199 |
|
|
(build_popups): Add the "Jump to Here" option to the popup menu.
|
200 |
|
|
* srctextwin.ith: Add declaration of jump_to_here().
|
201 |
|
|
|
202 |
|
|
2000-08-09 Fernando Nasser
|
203 |
|
|
|
204 |
|
|
* srctextwin.itb (FillSource): Add comments.
|
205 |
|
|
* srcwin.itb (set_execution_status): Fix typo in SRC+ASM message.
|
206 |
|
|
It is gdb_cmd, not gb_cmd.
|
207 |
|
|
|
208 |
|
|
2000-08-08 Fernando Nasser
|
209 |
|
|
|
210 |
|
|
* srctextwin.itb (LoadFromCache): Do not cache if cannot stat the file.
|
211 |
|
|
This lead to problems trying to access a incomplete cache entry later.
|
212 |
|
|
|
213 |
|
|
2000-06-06 Fernando Nasser
|
214 |
|
|
|
215 |
|
|
* util.tcl (find_iwidgets_library): Add missing global declaration
|
216 |
|
|
which caused a stack trace instead of the proper error message.
|
217 |
|
|
|
218 |
|
|
2000-05-04 Fernando Nasser
|
219 |
|
|
|
220 |
|
|
* regwin.itb (build_win, update): Safer test for editable.
|
221 |
|
|
|
222 |
|
|
2000-05-01 Fernando Nasser
|
223 |
|
|
|
224 |
|
|
* variables.tcl (edit): Make changes to a variable which is a register
|
225 |
|
|
to be reflected on the register window by running the update hook.
|
226 |
|
|
|
227 |
|
|
2000-05-01 Fernando Nasser
|
228 |
|
|
|
229 |
|
|
* regwin.itb (build_win): Adjust size of columns independently, force
|
230 |
|
|
typed registers to raw mode and check if values can be edited.
|
231 |
|
|
Also, add "Add to Watch" option to the menu.
|
232 |
|
|
(update): Similar changes to similar code.
|
233 |
|
|
(init_reg_display_vars): Initialize new variables used above.
|
234 |
|
|
(reg_select): Deactivate menu options when action is not possible.
|
235 |
|
|
(but3): Ditto.
|
236 |
|
|
(edit): Do not edit if it is not editable.
|
237 |
|
|
(acceptEdit): Fix bug is error message box display.
|
238 |
|
|
(addToWatch): New mwthod. Add a register to the Watch window.
|
239 |
|
|
* regwin.ith: Add addToWatch to the class.
|
240 |
|
|
* tclIndex: Regenerate.
|
241 |
|
|
|
242 |
|
|
2000-04-27 James Ingham
|
243 |
|
|
|
244 |
|
|
These changes allow Insight to handle the case where there are
|
245 |
|
|
symbols for the source files, but the source files are not in the
|
246 |
|
|
location pointed to by the symbol.
|
247 |
|
|
|
248 |
|
|
* srctextwin.itb (SrcTextWin::setTabs): Make the "asm" type for
|
249 |
|
|
the source display "S" not "", which is not very clear.
|
250 |
|
|
(SrcTextWin::configWin): ditto.
|
251 |
|
|
(SrcTextWin::FillAssembly): Handle all return values from
|
252 |
|
|
LoadFromCache.
|
253 |
|
|
* (SrcTextWin::LoadFile): Handle "couldn't find file" return from
|
254 |
|
|
LoadFromCache.
|
255 |
|
|
* (SrcTextWin::LoadFromCache): If the source file could not be
|
256 |
|
|
found, return -1 rather than choking.
|
257 |
|
|
Also change "asm" type for source from "" to "S".
|
258 |
|
|
* srctextwin.ith: Change the defaults for the "asm" type from ""
|
259 |
|
|
to "S" for Source display. This is just cosmetic, but clearer.
|
260 |
|
|
|
261 |
|
|
2000-04-13 Tom Tromey
|
262 |
|
|
|
263 |
|
|
* console.itb (Console::_complete): Dequoted first argument to
|
264 |
|
|
switch. Window name is `$_twin', not `_twin'.
|
265 |
|
|
|
266 |
|
|
2000-04-10 Tom Tromey
|
267 |
|
|
|
268 |
|
|
* srctextwin.itb (SrcTextWin::build_popups): Don't set actibe
|
269 |
|
|
background on popup menu item.
|
270 |
|
|
|
271 |
|
|
2000-04-08 Tom Tromey
|
272 |
|
|
|
273 |
|
|
* console.itb (Console::_build_win): Make Control-a, Control-u,
|
274 |
|
|
and Control-w bindings show the insertion point.
|
275 |
|
|
|
276 |
|
|
2000-04-05 James Ingham
|
277 |
|
|
|
278 |
|
|
* regwin.itb (RegWin::build_win): Enable the "Display all
|
279 |
|
|
registers" menu at startup if any registers have been removed.
|
280 |
|
|
(RegWin::save_reg_display_vars): Handle cases where the register
|
281 |
|
|
set is not contiguous.
|
282 |
|
|
(RegWin::destructor): Actually save away the removed registers.
|
283 |
|
|
The latter two are Steve Johnson's change.
|
284 |
|
|
|
285 |
|
|
* regwin.ith (RegWin): Added "all_regs_shown" and
|
286 |
|
|
"disp_all_menu_item" to handle tracking whether any registers have
|
287 |
|
|
been removed from the display.
|
288 |
|
|
|
289 |
|
|
|
290 |
|
|
2000-04-03 Steve Johnson
|
291 |
|
|
|
292 |
|
|
* regwin.itb (dimensions): Use rows from preference file rather
|
293 |
|
|
than hard-coding a preference.
|
294 |
|
|
* prefs.tcl (pref_set_defaults): Add gdb/reg/rows preference.
|
295 |
|
|
|
296 |
|
|
2000-04-03 James Ingham
|
297 |
|
|
|
298 |
|
|
* util.tcl (find_iwidgets_library): Follow links in determining
|
299 |
|
|
the location of the executable.
|
300 |
|
|
|
301 |
|
|
2000-03-30 Fernando Nasser
|
302 |
|
|
|
303 |
|
|
* variables.tcl (edit): Remove call to close, which caused editing
|
304 |
|
|
of variables to fail.
|
305 |
|
|
Note: I don't know why we would need to do this here as it seems
|
306 |
|
|
that the "delete entry" operation will do that.
|
307 |
|
|
Perhaps this was to account to some old widget bug.
|
308 |
|
|
But we cannot call close here because it calls UnEdit,
|
309 |
|
|
which unsets some of the edit state.
|
310 |
|
|
(open): Make sure to abort any ongoing edit. This was causing problems
|
311 |
|
|
when someone tried to expand an structure while editing its pointer.
|
312 |
|
|
|
313 |
|
|
2000-03-28 James Ingham
|
314 |
|
|
|
315 |
|
|
* managedwin.itb (ManagedWin::startup): Open the SrcWin, this does
|
316 |
|
|
two things, 1) Makes sure that there IS a SrcWin, and 2) brings
|
317 |
|
|
the first such window to the foreground...
|
318 |
|
|
|
319 |
|
|
2000-03-28 Jim Blandy
|
320 |
|
|
|
321 |
|
|
Handle the fact that there are holes in the register numbering.
|
322 |
|
|
* regwin.itb (RegWin::init_reg_display_vars): Ask gdb_regnames to
|
323 |
|
|
provide the register numbers, too; don't just assume that the Nth
|
324 |
|
|
element is register N.
|
325 |
|
|
|
326 |
|
|
2000-03-27 James Ingham
|
327 |
|
|
|
328 |
|
|
* interface.tcl (gdbtk_quit): Let the window manager store away
|
329 |
|
|
the list of active windows before quitting.
|
330 |
|
|
(gdbtk_tcl_preloop): Open all the windows that were active in the
|
331 |
|
|
former session.
|
332 |
|
|
* prefs.tcl (pref_set_defaults): Set the default value of the
|
333 |
|
|
"gdb/window/active" pref. Stores the list of active windows.
|
334 |
|
|
* managedwin.itb (ManagedWin::pickle): New method - store away
|
335 |
|
|
instructions to recreate this window.
|
336 |
|
|
(ManagedWin::shutdown): New Method - run through the active windows
|
337 |
|
|
pickling them all.
|
338 |
|
|
(ManagedWin::startup): Restore all the saved active windows.
|
339 |
|
|
* managedwin.ith: Declare pickle, shutdown & startup.
|
340 |
|
|
* tclIndex: regenerate.
|
341 |
|
|
|
342 |
|
|
2000-03-10 James Ingham
|
343 |
|
|
|
344 |
|
|
* targetselection.ith (get_target_list): Should be a proc, since
|
345 |
|
|
it does nothing instance-specific.
|
346 |
|
|
|
347 |
|
|
* util.tcl (keep_raised): For some reason raising a window, then
|
348 |
|
|
deiconifying it is MUCH faster on "e" & WindowMaker under XFree.
|
349 |
|
|
Go figure. Other WM's don't seem to care, so do it this way...
|
350 |
|
|
* managedwin.itb (ManagedWin::reveal): Ditto...
|
351 |
|
|
|
352 |
|
|
2000-03-10 Elena Zannoni
|
353 |
|
|
|
354 |
|
|
* srcbar.tcl (do_attach): Just call gdbtk_attach_native.
|
355 |
|
|
(do_connect): Replace gdbtk_attach_target call with
|
356 |
|
|
gdbtk_attach_remote call.
|
357 |
|
|
|
358 |
|
|
* interface.tcl (gdbtk_attach_native): Renamed from do_attach method
|
359 |
|
|
and moved from srcbar.tcl.
|
360 |
|
|
(gdbtk_attach_remote): New proc. Renamed from gdb_attach_target,
|
361 |
|
|
to better distinguish from the native version.
|
362 |
|
|
(run_executable): Change gdbtk_attach_target call into
|
363 |
|
|
gdbtk_attach_remote.
|
364 |
|
|
|
365 |
|
|
* srctextwin.itb: Add keyboard accelerator for Attach command.
|
366 |
|
|
|
367 |
|
|
* tclIndex: Rebuild.
|
368 |
|
|
|
369 |
|
|
2000-03-09 Elena Zannoni
|
370 |
|
|
|
371 |
|
|
From: James Ingham :
|
372 |
|
|
* attachdlg.itb (build_win): Pack the dialog better, so that when
|
373 |
|
|
window is resized components are not hidden.
|
374 |
|
|
|
375 |
|
|
2000-03-02 Elena Zannoni
|
376 |
|
|
|
377 |
|
|
* attachdlg.itb: Give a name to the window.
|
378 |
|
|
|
379 |
|
|
2000-03-01 James Ingham
|
380 |
|
|
|
381 |
|
|
* interface.tcl (_open_file): The window which had the focus could
|
382 |
|
|
get deleted by the vwait implicit in the tk_getOpenFile call. So
|
383 |
|
|
check and make sure it is still around before raising it...
|
384 |
|
|
|
385 |
|
|
2000-02-23 Keith R Seitz
|
386 |
|
|
|
387 |
|
|
* srctextwin.ith (_highlightAsmLine): Define new method.
|
388 |
|
|
* srctextwin.itb (_highlightAsmLine): New method.
|
389 |
|
|
(FillAssembly, FillMixed): Use _highlightAsmLine to highlight
|
390 |
|
|
the current assembly line.
|
391 |
|
|
|
392 |
|
|
Fri Feb 4 23:19:03 2000 Andrew Cagney
|
393 |
|
|
|
394 |
|
|
* gdb/gdbtcl2: Directory renamed to gdb/gdbtk/library.
|
395 |
|
|
|
396 |
|
|
2000-01-12 Fernando Nasser
|
397 |
|
|
|
398 |
|
|
* targetselection.itb (init_target_db): Add the word "serial" to
|
399 |
|
|
the Angel target to make the distinction clear from the UDP connection.
|
400 |
|
|
|
401 |
|
|
2000-01-05 Fernando Nasser
|
402 |
|
|
|
403 |
|
|
From Dave Vogel (dave@lightsurf.com):
|
404 |
|
|
* targetselection.itb (init_target_db, config_dialog): Add support
|
405 |
|
|
for selecting a target running the Angel monitor (RDI protocol)
|
406 |
|
|
over an UDP connection.
|
407 |
|
|
* interface.tcl (set_target_name): Set hostname when target is RDI
|
408 |
|
|
over UDP (see previous entry).
|
409 |
|
|
|