Commit | Line | Data |
---|---|---|
4ef1f467 DT |
1 | Mon Dec 28 17:44:36 1998 David Taylor <taylor@texas.cygnus.com> |
2 | ||
3 | ||
4 | The following changes were made by Jim Blandy <jimb@cygnus.com>, | |
5 | Edith Epstein <eepstein@cygnus.com>, Elena Zannoni | |
6 | <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David | |
7 | Taylor <taylor@cygnus.com>, as part of the project to merge in | |
8 | changes originally made by HP; HP did not create ChangeLog | |
9 | entries. | |
10 | ||
11 | * gdbtk.c (gdbtk_init): change stderr to gdb_stderr. | |
12 | ||
13 | * gdbtk-cmds.c | |
14 | (get_pc_register): Use paddr_nz, not sprintf's %llx and | |
15 | a cast to `long long'. Those aren't portable. | |
16 | (gdb_eval): add embedded_offset param to val_print call | |
17 | (get_register): add embedded_offset param to val_print call | |
18 | ||
19 | * gdbtk-hooks.c | |
20 | (tk_command_loop): change instream to a FILE. | |
21 | (gdbtk_flush): change both the declaration and definition to | |
22 | use GDB_FILE rather than FILE. | |
23 | ||
54faf0d7 KS |
24 | Mon Dec 21 11:11:02 1998 Keith Seitz <keiths@cygnus.com> |
25 | ||
26 | * gdbtk-cmds.c (get_register): Call get_saved_register instead of | |
27 | read_relative_register_raw_bytes to fetch registers. | |
28 | ||
c888792a KS |
29 | Thu Dec 17 09:00:56 1998 Keith Seitz <keiths@cygnus.com> |
30 | ||
31 | * gdbtk-cmds.c (gdb_search): Don't mention C++ RTTI and | |
32 | global constructor/destructor symbols. | |
33 | ||
f0b51514 AC |
34 | Tue Dec 15 10:09:31 1998 Andrew Cagney <cagney@b1.cygnus.com> |
35 | ||
36 | * gdbtk-cmds.c (gdb_disassemble): Fix typo. | |
37 | ||
38 | Sun Dec 13 09:52:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
39 | ||
40 | * gdbtk-cmds.c: Update TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN. | |
41 | ||
42 | Fri Dec 11 09:52:04 1998 Andrew Cagney <cagney@chook> | |
43 | ||
44 | * gdbtk-cmds.c: Replace reg_name with REGISTER_NAME. | |
45 | ||
44ffbd6e | 46 | Mon Dec 14 13:20:50 1998 Jim Ingham <jingham@cygnus.com> |
f0b51514 | 47 | |
44ffbd6e JI |
48 | * Makefile.in, configure.in configure - add support for LIBGUI |
49 | outside the IDE context. | |
50 | ||
1798621b GN |
51 | Thu Nov 19 13:14:57 1998 Geoffrey Noer <noer@cygnus.com> |
52 | ||
53 | * gdbtk-cmds.c: Can't start using new API names yet. Switch back | |
54 | to calling cygwin32_ funcs until some time has passed... | |
55 | * gdbtk.c: Ditto. Also, include sys/cygwin.h for Cygwin, instead | |
56 | of providing own proto. | |
57 | ||
d836385e GN |
58 | Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com> |
59 | ||
60 | Changes to account for name change from cygwin32 to cygwin and | |
61 | clean up Win32-related ifdefs. | |
62 | ||
63 | * gdbtk.c: lose "32" from cygwin_ func calls. ifndef for | |
64 | checking DISPLAY should be for _WIN32, not WINNT. | |
65 | * gdbtk.h: pick GDBTK_PATH_SEP based on _WIN32, not WINNT. | |
66 | * gdbtk-cmds.c (gdb_path_conv): lose "32" from cygwin_ func call, | |
44ffbd6e | 67 | change ifdef to __CYGWIN32__ instead of WINNT. |
d836385e GN |
68 | * {gdbtk.c, gdbtk-hooks.c}: __CYGWIN32__ refs drop the "32". |
69 | ||
2aae6397 JI |
70 | Thu Nov 12 15:20:15 1998 Jim Ingham <jingham@cygnus.com> |
71 | ||
72 | * gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the | |
73 | gdb_cmd, which is from_tty. This is passed to the gdb command | |
74 | parser. It is 0 by default, and the console window passes 1. | |
75 | ||
76 | * gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c | |
77 | with all the other link-var'ed variables | |
78 | ||
79 | * gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if | |
80 | we are called from_tty. | |
81 | ||
82 | * gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons | |
83 | from a trace_start_command callback rather than doing it as a | |
84 | special case in gdb_cmd. | |
85 | ||
86 | * tracepoint.c (tstart_command, tstop_command): Add call to | |
87 | trace_start_stop_hook here. | |
88 | ||
63d138d9 JI |
89 | Wed Nov 4 12:41:42 1998 Jim Ingham <jingham@cygnus.com> |
90 | ||
91 | * gdbtk-cmds.c (gdb_set_bp_addr): Pass the type, enable & thread | |
92 | to gdbtk_tcl_breakpoint. | |
93 | * gdbtk-hooks.c (gdbtk_trace_find): Added this function. It is | |
94 | the hook function for tfind commands. | |
95 | * tracepoint.c (trace_find_command): Added the trace_find_hook, | |
96 | run when you do trace_find_command. | |
97 | * tracepoint.h: Define the trace_find_hook. | |
98 | ||
badb1b51 KS |
99 | 1998-11-03 Keith Seitz <keiths@cygnus.com> |
100 | ||
101 | * v850ice.c (do_gdb): New function. | |
102 | (ice_stepi): Use do_gdb to step properly. | |
103 | (ice_nexti): Use do_gdb to step properly. | |
104 | (view_source): Correct call to src window's location for new version. | |
105 | ||
63d138d9 JI |
106 | Mon Nov 2 11:16:10 1998 Jim Ingham <jingham@cygnus.com> |
107 | ||
108 | * gdbtk-cmds (gdb_get_tracepoint_info): Demangle C++ function names. | |
109 | ||
110 | Fri Oct 30 11:22:23 1998 Jim Ingham <jingham@cygnus.com> | |
111 | ||
112 | * gdbtk-cmds (gdb_get_tracepoint_info): Fixed typo. | |
113 | ||
5c01b16e MH |
114 | Wed Oct 28 16:19:02 1998 Martin M. Hunt <hunt@cygnus.com> |
115 | ||
116 | * gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full | |
117 | pathname instead of just basename. | |
118 | ||
63d138d9 JI |
119 | Wed Oct 28 10:14:33 1998 Jim Ingham <jingham@cygnus.com> |
120 | ||
121 | * gdbtk-cmds.c: Made the bdtypes & bpdisp arrays shared so they | |
122 | could be used in gdbtk-hooks.c (breakpoint_notify). | |
123 | Also fixed a few error messages to actually print the bp number | |
124 | rather that #%d... | |
125 | * gdbtk-hooks.c (breakpoint_notify): pass more of the information | |
126 | about the breakpoint into the Tcl command, so it does not have to | |
127 | try and guess about information we have on the C side. | |
128 | * gdbtk.h: Export the bptypes & pbdisp arrays. | |
129 | ||
91e14aa9 SS |
130 | 1998-10-13 Jason Molenda (jsm@bugshack.cygnus.com) |
131 | ||
132 | * gdbtk.c, gdbtk-cmds.c: Cast parameters passed to make_cleanup to | |
133 | use the new make_cleanup_func typedef. | |
134 | ||
4fb67eb5 KS |
135 | 1998-10-08 Keith Seitz <keiths@cygnus.com> |
136 | ||
137 | * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook for | |
138 | (new) file_changed_hook. | |
139 | (gdbtk_exec_file_changed): Rename to gdbtk_exec_file_display | |
140 | to mimic hook's name. | |
141 | (gdbtk_file_changed): New hook function. | |
142 | ||
287026b7 AC |
143 | Tue Oct 6 22:57:13 1998 Andrew Cagney <cagney@b1.cygnus.com> |
144 | ||
145 | * configure.in (links): Link gdbtcl2 directory instead of gdbtcl. | |
146 | ||
23e1f78b MH |
147 | Mon Oct 5 00:34:00 1998 Martin M. Hunt <hunt@cygnus.com> |
148 | ||
149 | * gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a | |
150 | breakpoint at an address. Use this instead of gdb_cmd "break" | |
151 | because the syntax of the break command is broken and doesn't | |
152 | allow you to create a thread-specific BP at an address. Also | |
153 | this is faster. | |
154 | ||
d84563bc MH |
155 | Sun Oct 4 22:35:47 1998 Martin M. Hunt <hunt@cygnus.com> |
156 | ||
157 | * gdbtk-cmds.c (gdb_set_bp): Add an optional thread number. | |
158 | (gdb_find_bp_at_line): New function. Returns a list of bpnums | |
159 | at the specified line number. | |
160 | (gdb_find_bp_at_addr): New function. Returns a list of bpnums | |
161 | at an address.. | |
162 | ||
2c04e0d9 KS |
163 | 1998-10-02 Keith Seitz <keiths@cygnus.com> |
164 | ||
165 | * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles | |
166 | exec_file changes. | |
167 | (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed) | |
168 | ||
169 | * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so | |
170 | compare against something a little more meaningful (target_ignore). | |
171 | ||
4ce8d0e9 KS |
172 | 1998-09-24 Keith Seitz <keiths@cygnus.com> |
173 | ||
174 | * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets. | |
175 | ||
176 | * v850ice.c (WM_ADDR_TO_SYM): New message. | |
177 | (v850ice_wndproc): Add handler for WM_SOURCE. | |
178 | (v850ice_wait): Call the ui_loop_hook occasionally. | |
179 | (ice_cont): Acknowledge message before doing anything. | |
180 | (ice_stepi): Ack message and let gdbtk do stepping. | |
181 | (ice_nexti): Ack message and let gdbtk do stepping. | |
182 | (view_source): New function ICE calls to display source code. | |
183 | ||
fa41e1a3 DM |
184 | start-sanitize-ide |
185 | Mon Sep 21 13:33:27 1998 Drew Moseley <dmoseley@cygnus.com> | |
186 | ||
187 | * Makefile.in: Added sanitize markers around IDE code | |
188 | * configure.in (host_libs): Added sanitize markers around IDE code | |
189 | * configure: Regenerated configure from configure.in | |
190 | ||
191 | end-sanitize-ide | |
864e89fc KS |
192 | 1998-09-18 Keith Seitz <keiths@cygnus.com> |
193 | ||
194 | * gdbtk-cmds.c (get_frame_name): Demangle function names, too. | |
195 | ||
d0757953 JI |
196 | Thu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com> |
197 | ||
198 | *gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not | |
199 | null before trying to use it... | |
200 | ||
b2a9dbf7 KS |
201 | 1998-09-02 Keith Seitz <keiths@cygnus.com> |
202 | ||
203 | * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading -- | |
204 | the ui_progress_hook that has been installed will actually | |
205 | update the gui for us. | |
206 | ||
d5adad6a TT |
207 | Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com> |
208 | ||
209 | * gdbtk-hooks.c (context_hook): Don't define. | |
210 | ||
4af2d83a KS |
211 | 1998-08-31 Keith Seitz <keiths@cygnus.com> |
212 | ||
213 | * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors" | |
214 | and "global constructors", do not append any elements to the result. | |
215 | ||
4ff5d55a MH |
216 | Sun Aug 30 00:49:18 1998 Martin M. Hunt <hunt@cygnus.com> |
217 | ||
218 | * gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context | |
219 | with tcl variable gdb_context_id. | |
220 | ||
221 | * gdbtk-hooks.c (gdbtk_context_change): Implement new hook called | |
222 | context_hook. Called when threads change. | |
223 | ||
224 | * gdbtk.c: Initialize gdb_context. | |
225 | ||
226 | * gdbtk.h: Declare gdb_context. | |
227 | ||
228 | * infrun (wait_for_inferior): Call context_hook. | |
229 | ||
230 | * thread.c (thread_command): Call context_hook. | |
231 | ||
232 | * defs.h: Declare context_hook. | |
233 | ||
973b0216 MH |
234 | Fri Aug 28 12:14:49 1998 Martin M. Hunt <hunt@cygnus.com> |
235 | ||
236 | * gdbtk-cmds.c (gdb_loadfile): Open the file after doing | |
237 | the symtab lookup and calling symtab_to_filename(). This | |
238 | makes GDBtk work with the GDB "dir" command. | |
239 | ||
3d64f1e0 KS |
240 | 1998-08-18 Keith Seitz <keiths@cygnus.com> |
241 | ||
242 | * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook. | |
243 | (gdbtk_selected_frame_changed): New function. | |
244 | ||
245 | * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter. | |
246 | Link gdb's global selected_frame_level with interpreter global | |
247 | gdb_selected_frame_level. | |
248 | (gdb_stack): New function to faciltate speedier backtraces from | |
249 | gdbtk. | |
250 | (get_frame_name): New helper function for gdb_stack. | |
251 | ||
1aecc7dc MH |
252 | Tue Aug 18 15:42:40 1998 Martin M. Hunt <hunt@cygnus.com> |
253 | ||
254 | * gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors | |
255 | and destructors from the function list. | |
256 | ||
c076f1ed DM |
257 | start-sanitize-ide |
258 | Thu Aug 13 15:15:59 1998 Drew Moseley <dmoseley@cygnus.com> | |
259 | ||
260 | * Makefile.in (FOUNDRY_LIB_BASE): Added the Foundry SDK code that allows | |
261 | gdbtk to be linked with the Foundry libraries provided by a prebuilt/released | |
262 | binary version of Foundry. The libraries and header files need to come from | |
263 | the installed location of Foundry rather than the devo subdirectories. | |
264 | * configure.in (ENABLE_IDE): Foundry SDK additions. Added the "with-foundry-libs" | |
265 | configure option. | |
266 | * configure: Foundry SDK additions. Regenerated from configure.in. | |
267 | ||
268 | end-sanitize-ide | |
1dd251f9 DM |
269 | Thu Aug 13 15:09:59 1998 Drew Moseley <dmoseley@cygnus.com> |
270 | ||
271 | * gdbtk.c (gdbtk_cleanup): added a scope-level around the contents | |
272 | of the #ifdef so that the variable declarations in there would not | |
273 | be illegal in a C compilation. | |
274 | ||
6f5af15b MH |
275 | Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com> |
276 | ||
277 | * gdbtk.c (gdbtk_call_command): Removed because it is now | |
278 | in gdbtk-hooks.c | |
279 | (null_routine): Removed. | |
280 | ||
281 | * gdbtk-hooks.c (tracepoint_notify): Fix sprintf to | |
282 | match number of arguments. | |
283 | ||
284 | * gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an | |
285 | argument, call find_pc_line() to get a complete | |
286 | symtab_and_line struct. | |
287 | ||
850e1491 KS |
288 | Fri Jul 24 14:25:43 1998 Keith Seitz <keiths@cygnus.com> |
289 | ||
290 | * gdbtk-cmds.c (gdb_search): Add missing NULL to switches. | |
291 | Add missing flags to result_ptr. | |
292 | Pass along any errors caused by getting the list of files from | |
293 | tcl. | |
294 | Allocate correct amount of memory for the file list. | |
295 | Don't do any unecessary cleanups. | |
296 | ||
6e778194 MH |
297 | Fri Jul 24 01:08:37 1998 Martin M. Hunt <hunt@cygnus.com> |
298 | ||
299 | * gdbtk-cmds.c (gdb_loadfile): When there are no | |
300 | linenumbers, use only one tab. | |
301 | ||
4d14b252 MH |
302 | Sat Jul 18 12:28:39 1998 Martin M. Hunt <hunt@cygnus.com> |
303 | ||
304 | * gdbtk.c (gdbtk_cleanup): Add call to tcl function | |
305 | gdbtk_cleanup. We need this so the GUI gets to clean | |
306 | up no matter how GDB exits. | |
307 | ||
f3b86a30 JI |
308 | Wed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com> |
309 | ||
310 | * Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c & | |
311 | gdbtk-cmds.c to comply with the gdb conventions. Changed the | |
312 | configure & makefile to reflect the change... | |
313 | ||
ca4e7e14 JI |
314 | Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com> |
315 | ||
316 | * gdbtk.c: removed all the commands and hooks from this file so | |
317 | now it contains only the startup code. | |
318 | * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows | |
319 | that caused gdbtk not to find the share directory unless | |
320 | GDBTK_LIBRARY was set. | |
321 | * gdbtk_cmds.c: New file - this contains all the Tcl commands that | |
322 | gdb defines. All the old commands were moved here, the | |
323 | string-based commands were converted to object commands, and the | |
324 | object-based commands were all converted to uniformly use the | |
325 | call_wrapper. A new function, Gdbtk_Init was added to centralize | |
326 | initializing the gdb package. | |
327 | * gdbtk_hooks.c: New file - All the hooks were moved here, and a new | |
328 | function, gdbtk_add_hooks was added to centralize adding all these | |
329 | hook functions. gdbtk_fputs was also modified to handle the new | |
330 | result_ptr structure. See the comments in gdbtk.h for more | |
331 | details. | |
332 | * gdbtk.h: New file - this contains all the defines and globals | |
333 | shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c | |
334 | * Makefile.in, configure.in & configure: mutatis mutandi for the | |
335 | new files. | |
336 | ||
337 | ||
509b70ac KS |
338 | Mon Jun 29 11:49:17 1998 Keith Seitz <keiths@cygnus.com> |
339 | ||
340 | * main.c (main): Don't include gdbtk test code if GDBTK is | |
341 | not defined by configure. | |
342 | ||
343 | * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS. | |
344 | ||
345 | * configure: Regenerate. | |
346 | ||
7f6cb62e KS |
347 | Fri Jun 26 13:56:07 1998 Keith Seitz <keiths@cygnus.com> |
348 | ||
349 | * gdbtk.c: Change all references to static global "interp" to | |
350 | "gdbtk_interp" and export this global. | |
351 | (gdbtk_init): If gdbtk_source_filename is not NULL, source this file | |
352 | into the interpreter when it goes idle. | |
353 | Add new command "gdb_search". | |
354 | (gdb_search): New function which searches the symbol table. | |
355 | (gdbtk_test): New function called by main when the --tclcommand | |
356 | option is used. | |
357 | ||
358 | * main.c (main): Add a new option "--tclcommand" which is used | |
359 | by the testsuite to source a file into the interpreter when it | |
360 | goes idle. | |
361 | ||
91e14aa9 SS |
362 | Sun Jun 21 09:31:12 1998 Ron Unrau (runrau@cygnus.com) |
363 | ||
364 | * gdbtk.c (gdb_set_bp): Use new interface. | |
365 | ||
9682b440 | 366 | Wed Jun 17 19:12:23 1998 Jeff Holcomb <jeffh@cygnus.com> |
367 | ||
368 | * Makefile.in (install-only): Install tracing help files. | |
369 | ||
0436459d JI |
370 | Mon Jun 15 13:18:21 1998 Jim Ingham <jingham@cygnus.com> |
371 | ||
372 | * gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST | |
373 | ELEMENTS. This allows gdbtk to work when installed in a directory | |
374 | which has a space in the path. D. Moseley pointed out the bug. | |
375 | ||
376 | ||
fadce6f6 KS |
377 | Tue Jun 9 14:10:46 1998 Keith Seitz <keiths@cygnus.com> |
378 | ||
fadce6f6 KS |
379 | * gdbtk.c (gdb_get_vars_command): Return static variables and |
380 | variables stored in registers. | |
381 | ||
649bc055 KS |
382 | * main.c (main): Call pre/post_add_symbol_hook's when loading |
383 | executables and symbol files. | |
384 | ||
aa3b21bf MH |
385 | Fri Jun 5 00:16:22 1998 Martin M. Hunt <hunt@cygnus.com> |
386 | ||
387 | * gdbtk.c (gdbtk_init): Change all references to | |
388 | GDBTK_IDE to IDE_ENABLED. | |
389 | ||
94a6f14f MH |
390 | Thu Jun 4 18:31:53 1998 Martin M. Hunt <hunt@cygnus.com> |
391 | ||
392 | * gdbtk.c (gdbtk_init): Initialize tkTable. | |
393 | ||
fed03c01 EZ |
394 | Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
395 | ||
396 | * gdbtk.c: merged: | |
397 | ||
398 | - Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
399 | (call_obj_wrapper): in case of error, copy the | |
400 | error message from the result to the error_string. | |
401 | (gdbtk_fputs): add comments. | |
402 | (gdb_actions_command): call validate_actionline when installing the | |
403 | tracepoint, to do the syntax checking of the actions for us. | |
404 | - Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
405 | (gdb_get_trace_frame_num): new function to get the | |
406 | trace frame number from gdb. | |
407 | (gdbtk_init): added new command gdb_get_trace_frame_num. | |
408 | - Jim Blandy <jimb@zwingli.cygnus.com> | |
409 | (struct wrapped_call_objs): Change the `func' member to | |
410 | be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector | |
411 | of objects as arguments. Change the object vector to be const, | |
412 | since that's what all the users of this structure seem to expect. | |
413 | (call_obj_wrapper): Cast clientData properly before storing it in | |
414 | the wrapped_args structure. | |
415 | ||
47792960 KS |
416 | Thu May 28 17:19:14 1998 Keith Seitz <keiths@cygnus.com> |
417 | ||
418 | * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from | |
419 | Chris Faylor (cgf@cygnus.com). | |
420 | ||
421 | * configure.in: Link cygwin32 with subsystem console. | |
422 | ||
423 | * configure: Regenerated | |
424 | ||
21b3bc77 KS |
425 | Sun May 24 14:00:24 1998 Keith Seitz <keiths@cygnus.com> |
426 | ||
427 | * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so that | |
428 | we can use this member to track real timeouts. | |
429 | (hardwire_readchar): Modify for cygwin32 so that we only ever use a real | |
430 | system timeout of one second. Track the "real" timeout as a series of these | |
431 | one second timeouts. | |
432 | Call ui_loop_hook to keep the gui alive. | |
433 | ||
434 | * top.c: Define new hook for cygwin32, "ui_loop_hook". | |
435 | ||
436 | * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around | |
437 | update problems. | |
438 | ||
cb432079 EZ |
439 | Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
440 | ||
441 | * gdbtk.c: reinserted the changes that were accidentally deleted: | |
442 | (_initialize_gdbtk): Use correct device names in | |
443 | cygwin-specific call (cosmetic change). | |
444 | (gdbtk_ignorable_warning): removed va_list parameter, | |
445 | which was unused. | |
446 | (_initialize_gdbtk): add cygwin32 specific code to | |
447 | allow `gdb -nw' to work when specified specified from a windows | |
448 | console-mode command line. | |
449 | ||
91e14aa9 SS |
450 | 1998-05-19 Jim Blandy <jimb@zwingli.cygnus.com> |
451 | ||
452 | * gdbtk.c (struct wrapped_call_objs): Change the `func' member to | |
453 | be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector | |
454 | of objects as arguments. Change the object vector to be const, | |
455 | since that's what all the users of this structure seem to expect. | |
456 | (call_obj_wrapper): Cast clientData properly before storing it in | |
457 | the wrapped_args structure. | |
458 | ||
b33b741a JI |
459 | Wed May 13 11:12:58 1998 James Ingham <jingham@leda.cygnus.com> |
460 | ||
461 | * gdbtk.c: Fixed a goof in the definition of the gdb_get_args & | |
462 | gdb_get_locals Tcl commands. Moved the previous ChangeLog entry | |
463 | from ChangeLog to ChangeLog-gdbtk (here)... | |
464 | ||
cc1ad645 JH |
465 | Tue May 12 13:29:20 1998 Jeff Holcomb <jeffh@cygnus.com> |
466 | ||
467 | * Makefile.in (install-only): Add images/icons.txt and | |
468 | images2/icons.txt to files that need to be installed. | |
469 | ||
b33b741a JI |
470 | Tue May 12 12:03:16 1998 James Ingham <jingham@leda.cygnus.com> |
471 | ||
472 | * gdbtk.c: Add an object call wrapper for the new Tcl_Obj based | |
473 | commands. This way the obj commands will also go through | |
474 | catch_errors. This is just a bandaid while I rewrite the | |
475 | string-based commands to use the object format. | |
476 | ||
cb432079 | 477 | Tue May 5 09:30:25 1998 Christopher Faylor <cgf@cygnus.com> |
dfe9d309 CF |
478 | |
479 | * gdbtk.c (_initialize_gdbtk): Use correct device names in | |
480 | cygwin-specific call (cosmetic change). | |
481 | ||
5eb2b01c EZ |
482 | Wed Apr 29 15:53:16 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
483 | ||
484 | * gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter, | |
485 | which was unused. | |
486 | ||
91e14aa9 SS |
487 | Tue Apr 28 19:41:33 1998 Tom Tromey <tromey@cygnus.com> |
488 | ||
489 | * Makefile.in (GDBTKLIBS): New macro. | |
490 | (INSTALLED_LIBS): Include GDBTKLIBS. | |
491 | (CLIBS): Likewise. | |
492 | * configure: Rebuilt. | |
493 | * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS. | |
494 | (GDBTKLIBS): AC_SUBST. | |
495 | ||
e4a3374f KS |
496 | Thu Apr 23 19:01:05 1998 Keith Seitz <keiths@onions.cygnus.com> |
497 | ||
498 | * Makefile.in (install-only): Install help files. | |
499 | ||
cb432079 EZ |
500 | Wed Apr 22 21:17:35 1998 Christopher Faylor <cgf@cygnus.com> |
501 | ||
502 | * gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to | |
503 | allow `gdb -nw' to work when specified specified from a windows | |
504 | console-mode command line. | |
505 | ||
3c59320f SS |
506 | Wed Apr 15 11:23:53 1998 Stan Shebs <shebs@andros.cygnus.com> |
507 | ||
508 | * gdbtcl: Remove directory and contents, this version of | |
509 | the interface is obsolete. | |
510 | ||
d2a3ee23 MH |
511 | Mon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com> |
512 | ||
513 | * gdbtk.c (gdb_loadfile): Change fstat() call to stat(). | |
514 | Needed because you can't convert a FILE* to an fd. | |
515 | ||
e6e9507d EZ |
516 | Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
517 | ||
518 | * gdbtk.c: (perror_with_name_wrapper) new function to call | |
519 | perror_with_name safely. | |
520 | (gdb_loadfile) added source vs. executable time stamp check. | |
521 | (gdbtk_warning) new function to pass a warning message to the gui. | |
522 | (gdbtk_ignorable_warning) new function to pass a warning | |
523 | to the gui. Used only for the src. vs. exec check. | |
524 | (gdbtk_init) added warning_hook | |
525 | added include <sys/stat.h> | |
526 | ||
7234efcb KS |
527 | Mon Apr 13 12:58:26 1998 Keith Seitz <keiths@onions.cygnus.com> |
528 | ||
529 | * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease | |
530 | timer interval a little. | |
531 | (gdbtk_stop_timer): Include on all platforms. | |
532 | (gdbtk_wait): No more signals! Use a timer on all platforms to keep the | |
533 | GUI alive. | |
534 | (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers | |
535 | on all platforms. | |
536 | ||
6da4c15f JM |
537 | Fri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com) |
538 | ||
539 | * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically. | |
540 | ||
1a509d60 MH |
541 | Thu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com> |
542 | ||
543 | * gdbtk.c (gdbtk_init): Remove redundant variable "IDE". | |
544 | ||
c3292c17 SS |
545 | Tue Apr 7 15:13:58 1998 Stan Shebs <shebs@andros.cygnus.com> |
546 | ||
547 | * gdbtk.tcl: Remove, no longer used. | |
548 | ||
4350602f KS |
549 | Tue Apr 7 12:49:45 1998 Keith Seitz <keiths@onions.cygnus.com> |
550 | ||
551 | * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks. | |
552 | ||
390ca26a KS |
553 | Tue Mar 31 15:42:06 1998 Keith Seitz <keiths@onions.cygnus.com> |
554 | ||
c3292c17 SS |
555 | * gdbtk.c (gdb_loadfile): Don't use the return result from |
556 | sprintf, which returns a char * under SunOS4. | |
390ca26a | 557 | |
8b5befef ILT |
558 | Tue Mar 31 17:18:43 1998 Ian Lance Taylor <ian@cygnus.com> |
559 | ||
560 | * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if | |
561 | --enable-ide. | |
562 | * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src. | |
563 | (LIBIDETCL): Define. | |
564 | * configure: Rebuild. | |
565 | ||
c62a71b6 KS |
566 | Sun Mar 29 21:19:46 1998 Keith Seitz <keiths@onions.cygnus.com> |
567 | ||
568 | * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address. | |
569 | (tracepoint_exists): Remove code which confuses assembly traces. | |
570 | ||
0b7148e4 KS |
571 | Sat Mar 28 12:13:23 1998 Keith Seitz <keiths@onions.cygnus.com> |
572 | ||
573 | * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks | |
574 | should not be called. | |
575 | ||
41158958 EZ |
576 | Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
577 | ||
578 | * gdbtk.c: (gdb_trace_status) new function. | |
579 | (gdbtk_init) added command "gdb_is_tracing". | |
580 | (tracepoint_notify) added passcount information. | |
581 | ||
ed5fa7c3 MH |
582 | Thu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com> |
583 | ||
584 | * gdbtk.c (gdbtk_fputs): Insert fencepost. | |
585 | (gdb_loc): Correct pc calculation. | |
586 | (gdb_immediate_command): Return if a load is in progress. | |
587 | (gdb_cmd): Return if a load is in progress. | |
588 | (target_stop_wrapper): New function. | |
589 | (gdb_stop): Call target_stop_wrapper. | |
590 | (x_event): Add fencepost and optimize load cancel check. | |
591 | (gdbtk_start_timer): Set up structs only once. | |
592 | (gdbtk_stop_timer): Just use preset structs to set timer parameters. | |
593 | (gdb_loadfile): If file cannot be loaded, return error message. | |
594 | (gdb_loadfile): Add space before tab so that lines without | |
595 | a '-' can later be changed to have one. | |
596 | ||
e924e162 EZ |
597 | Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
598 | ||
599 | * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands. | |
600 | ||
ac3dff67 EZ |
601 | Mon Mar 23 13:41:39 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
602 | ||
603 | * gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents | |
604 | of the memory window at once. | |
605 | ||
929db6e5 EZ |
606 | Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
607 | ||
608 | Merged changes from Foundry: list follows by author: | |
609 | ||
610 | - Tom Tromey <tromey@cygnus.com> | |
611 | ||
612 | * Makefile.in (gdbres.o): New target. | |
613 | (WINDRES): New define. | |
614 | * configure: Rebuilt. | |
615 | * configure.in (WINDRES): Define. | |
616 | (CONFIG_OBS): Include gdbres.o on Windows. | |
617 | * gdbtool.ico: New file. | |
618 | * gdb.rc: New file. | |
619 | * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command. | |
620 | (gdbtk_cleanup): Call ide_interface_deregister_all. | |
621 | (gdbtk_init): Pass event handle to cleanup. | |
622 | (TclDebug): Use Tcl_Merge to construct command. | |
623 | (gdbtk_init): Call ide_create_cygwin_path_command. | |
624 | ||
625 | - Martin M. Hunt <hunt@cygnus.com> | |
626 | ||
627 | * gdbtk.c (gdb_set_bp): Set addr_string for bp. | |
628 | (gdb_get_breakpoint_info): Demangle function | |
629 | names in breakpoint info. | |
630 | Include "demangle.h". | |
631 | (gdb_loc, gdb_listfuncs): Demangle C++ | |
632 | function names. | |
633 | (gdb_set_bp): Properly quote filename to fix | |
634 | problems with spaces. Send pc back as a hex string. | |
635 | (gdb_listfuncs): Remove debugging line. | |
636 | Turn off some debugging lines. | |
637 | (breakpoint_notify): Return correct line number. | |
638 | (gdb_get_breakpoint_info): Return correct line number. | |
639 | (gdb_set_bp): New function to provide a better way to | |
640 | set breakpoints. | |
641 | (gdbtk_readline, gdbtk_readline_begin): Memory | |
642 | allocated by tcl needs to be freed by Tcl_Free(). | |
643 | (find_file_in_dir): Deleted. | |
644 | (gdb_find_file_command): Call full_lookup_symtab(). | |
645 | (gdb_listfuncs): Call full_lookup_symtab(). | |
646 | (full_lookup_symtab): New function. Like lookup_symtab | |
647 | except handles multiple files with the same basename, | |
648 | full pathnames, and always sets symtab->fullname. | |
649 | (gdb_loadfile): Call full_lookup_symtab(). Clear | |
650 | realloc'd memory. | |
651 | (gdb_loadfile): Don't tag lines without source. | |
652 | Tag source lines with source_tag. | |
653 | (gdb_find_file_command, find_file_in_dir): | |
654 | Rewrite. Now searches symtabs and psymtabs for a match | |
655 | on the partial or full filename. Returns the full pathname. | |
656 | (gdb_loadfile): Realloc additional memory | |
657 | if someone loads in a file with more than 160,000 | |
658 | lines. I don't know if this really works because | |
659 | I don't have enough memory to test it. | |
660 | (gdb_sourcelines): Deleted. | |
661 | (gdb_loadfile): New function. Takes a text widget | |
662 | and loads it with the contents of a file. Marks | |
663 | and tags source lines. | |
664 | (pc_changed): New function. | |
665 | (get_pc_register): Returns the value of | |
666 | the PC to GDB. | |
667 | (gdb_loc): If looking on the stack, return | |
668 | real pc along with calling source line. | |
669 | (gdb_loc): Return "" instead of "N/A" if | |
670 | filename is not found. | |
671 | (gdb_get_breakpoint_info): Same. | |
672 | (get_register): For Natural mode, set format to 0. | |
673 | Minor bugfixes from keiths. | |
674 | (TclDebug): New function for debugging use. | |
675 | (gdb_loc): Return correct PC for frames | |
676 | that are not the innermost frame. | |
677 | (gdb_listfiles): Rewritten to use object | |
678 | API. Now takes an optional dirname which will cause | |
679 | only files in that directory or its subdirectories | |
680 | to be returned. Now returns basenames instead of | |
681 | full pathnames. | |
682 | (gdb_cmd): Set/reset load_in_progress flag. | |
683 | (call_wrapper): Don't pop up dialog for errors in | |
684 | downloads; just abort download. | |
685 | (gdbtk_load_hash): Set return value correctly. | |
686 | ||
687 | - Keith Seitz <keiths@onions.cygnus.com> | |
688 | ||
689 | * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be | |
690 | called by routines which might block, allowing us to update the GUI. | |
691 | (gdbtk_wait): Move timer calls to annotation hooks. | |
692 | (gdbtk_init): Define the annotation hooks. | |
693 | (gdbtk_annotate_starting): New function for cygwin32 hosts. | |
694 | (gdbtk_annotate_stopped): New function for cygwin32 hosts. | |
695 | (gdbtk_annotate_exited): New function for cygwin32 hosts. | |
696 | (gdbtk_annotate_signalled): New function. for cygwin32 hosts. | |
697 | (gdbtk_init): Use gdbtk_print_frame_info hook. | |
698 | (gdbtk_print_frame_info): New function which sets current_source_symtab | |
699 | based on the given symtab and line info. | |
700 | (gdb_immediate_command): New function which does | |
701 | not buffer any | |
702 | output. (Contrast to gdb_cmd.) | |
703 | (gdb_prompt_command): New function to return gdb's prompt. | |
704 | (find_file_in_dir): New functon which searches source paths | |
705 | for a given filename. | |
706 | (gdb_find_file): New function which returns path to given file -- uses | |
707 | find_file_in_dir. | |
708 | (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and | |
709 | "gdb_prompt" | |
710 | commands into interpreter. | |
711 | ||
712 | - Ian Lance Taylor <ian@cygnus.com> | |
713 | ||
714 | * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static | |
715 | variable. | |
716 | (gdb_cmd): If __CYGWIN32__, if executing the load command, call | |
717 | gdbtk_start_timer and gdbtk_stop_timer. | |
718 | (call_wrapper): If __CYGWIN32__, if the timer is going, turn it | |
719 | off. Clear load_in_progress. | |
720 | (x_event): If load_in_progress, quit if download_cancel_ok. | |
721 | (gdbtk_start_timer): Set gdbtk_timer_going. | |
722 | (gdbtk_stop_timer): Clear gdbtk_timer_going. | |
723 | (gdbtk_wait): Call x_event. | |
724 | (gdbtk_init): Call ide_create_win_grab_command if | |
725 | __CYGIN32__. | |
726 | (gdb_clear_file): Clear stop_pc. | |
727 | ||
91e14aa9 SS |
728 | Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com) |
729 | ||
730 | * gdbtk.c (gdb_listfiles): Fix thinko in last change. | |
731 | ||
732 | Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
733 | ||
734 | * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically. | |
929db6e5 | 735 | |
a5f4fbff KS |
736 | Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com> |
737 | ||
738 | * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook. | |
739 | (gdbtk_print_frame_info): Define this hook so that current_source_symtab | |
740 | is set properly. | |
741 | (gdb_actions_command): Use free_actions () from tracepoint.c/h. | |
742 | ||
d001edb7 KS |
743 | Mon Jan 26 11:37:55 1998 Keith Seitz <keiths@onions.cygnus.com> |
744 | ||
745 | * gdbtk.c (gdb_actions_command): Make note of next action | |
746 | before freeing all references to it. | |
747 | ||
0776b0b0 MH |
748 | Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com> |
749 | ||
750 | * gdbtk.c: Merge from Foundry branch. | |
751 | (TclDebug): New debugging function. | |
752 | (gdb_loc): For frames, find address of calling function | |
753 | instead of whatever is on the stack (usually the next | |
754 | instruction). | |
755 | (gdb_listfiles): Takes an optional pathname argument and | |
756 | returns an alphabetized list of basenames of files in the | |
757 | path. | |
758 | ||
11f91b2b KS |
759 | Wed Jan 22 10:37:02 1998 Keith Seitz <keiths@onions.cygnus.com> |
760 | ||
0776b0b0 MH |
761 | * symfile.c: Define two new hooks for symbol reading: |
762 | "pre_add_symbol_hook" and "post_add_symbol_hook". These hooks | |
763 | are called before we begin reading symbols, and after we finish. | |
764 | (generic_load): Use new symbol reading hooks and get rid of | |
765 | compiler warning. | |
11f91b2b KS |
766 | |
767 | * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading. | |
768 | (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook. | |
769 | (gdbtk_post_add_symbol): New function: the post-add-symbol hook. | |
770 | (find_file_in_dir): New function. Moved the guts of gdb_find_file_command | |
771 | into here to allow its use by others. | |
772 | (gdb_loc): Use find_file_in_dir to return the real path to the file | |
773 | (or "N/A" if we can't find it). | |
774 | ||
775 | * configure.in (TIX_LIB_EXT): Define new variable for those special cases | |
776 | when TCL_SHLIB_SUFFIX is not enough to specify the dependency. | |
777 | ||
778 | * configure: Regenerate. | |
779 | ||
77636dea FF |
780 | Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com> |
781 | ||
782 | * Makefile.in (uninstall): Remove installed gdbtcl dir, if one | |
783 | was installed. | |
784 | ||
0422b59e KS |
785 | Thu Jan 15 12:42:28 1998 Keith Seitz <keiths@onions.cygnus.com> |
786 | ||
787 | * gdbtk.c (gdb_immediate_command): New function which does not buffer any | |
788 | output. (Contrast to gdb_cmd.) | |
789 | (gdbtk_init): Install "gdb_immediate" command into interpreter. | |
790 | ||
bb3d9f43 KS |
791 | Wed Jan 14 16:38:44 1998 Keith Seitz <keiths@pizza.cygnus.com> |
792 | ||
793 | * configure.in (--enable-gdbtk): If tcl was built with --enable-shared, | |
794 | use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that | |
795 | we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}". | |
796 | ||
797 | * configure: Regenerate. | |
798 | ||
a26171ca MS |
799 | Wed Dec 31 16:50:26 1998 Keith Seitz (keiths@onions.cygnus.com) |
800 | ||
801 | * gdbtk.c (gdb_actions_command): extract and save step count | |
802 | from "while-stepping" command | |
803 | ||
1ab578bf SS |
804 | Tue Dec 16 21:16:42 1997 Ian Lance Taylor <ian@cygnus.com> |
805 | ||
806 | * Makefile.in (LIBGUI): New variable. | |
807 | (GUI_CFLAGS_X): New variable. | |
808 | (IDE_CFLAGS): Add $(GUI_CFLAGS_X). | |
809 | * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS. | |
810 | * configure: Rebuild. | |
811 | ||
812 | Wed Dec 10 13:16:45 1997 Keith Seitz <keiths@onions.cygnus.com> | |
813 | ||
814 | * gdbtk.c (gdb_get_tracepoint_info): Use info in struct | |
815 | symtab_and_line (not struct tracepoint) so that we get the | |
816 | real line info for an address. Arrange data more like | |
817 | gdb_get_breakpoint_info. | |
818 | (tracepoint_notify): Use info in struct symtab_and_line again. | |
819 | (gdbtk_init): Add command "gdb_get_tracepoint_list" into | |
820 | interpreter. | |
821 | (gdb_get_tracepoint_list): New function that aids the source | |
822 | window in displaying tracepoints when the file changes. | |
823 | ||
824 | Fri Dec 5 10:31:23 1997 Keith Seitz <keiths@pizza.cygnus.com> | |
825 | ||
826 | * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter. | |
827 | (gdb_find_file_command): New function which searches source path | |
828 | to find the real full filename of a file. | |
829 | ||
830 | Mon Dec 1 10:19:44 1997 Keith Seitz <keiths@onions.cygnus.com> | |
831 | ||
832 | * gdbtk.c: Move include of "guitcl.h" back out of IDE ifdef. | |
833 | (gdbtk_init): Move ide_initialize_paths out of IDE ifdef. | |
834 | ||
835 | * configure.in (TCL_LIBS, CONFIG_DEPS): Add IDE libraries for all | |
836 | builds. | |
837 | (CONFIG_OBS): Remove tracepoint.o, which should always be included. | |
838 | ||
839 | * configure: regenerate | |
840 | ||
841 | * Makefile.in (install-only): ALWAYS install the new gdbtk | |
842 | (REMOTE_OBS): add tracepoint.o | |
843 | ||
844 | Thu Nov 27 09:07:18 1997 Michael Meissner <meissner@cygnus.com> | |
845 | ||
846 | * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries | |
847 | if not --enable-ide. | |
848 | (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk. | |
849 | * configure: Regenerate. | |
850 | ||
851 | * gdbtk.c (gdb_get_breakpoint_info): Add missing filename | |
852 | argument. | |
853 | (toplevel): Move include of guitcl.h into #ifdef IDE region. | |
854 | (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE | |
855 | section. | |
856 | ||
857 | * Makefile.in (gdbtk.o): Update dependencies. | |
858 | ||
859 | Wed Nov 26 15:02:43 1997 Keith Seitz <keiths@onions.cygnus.com> | |
860 | ||
861 | * gdbtk.c (gdb_loc): symtab_to_filename can return NULL. | |
862 | (breakpoint_notify): Ditto. | |
863 | (gdb_get_breakpoint_info): Ditto. | |
864 | ||
865 | Wed Nov 26 11:33:09 1997 Keith Seitz <keiths@onions.cygnus.com> | |
866 | ||
867 | Merge in code from Foundry branch: | |
868 | ||
869 | * Makefile.in (install-only): install the new gdbtk, not the old | |
870 | ||
871 | * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace | |
872 | commands | |
873 | (gdbtk_init): Add new commands "gdb_get_locals", "gdb_get_args", | |
874 | "gdb_get_function", "gdb_get_line", "gdb_get_file", | |
875 | "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", | |
876 | and "gdb_prompt". | |
877 | (gdb_get_vars_command): New function. | |
878 | (gdb_get_line_command): New. | |
879 | (gdb_get_file_command): New. | |
880 | (gdb_get_function_command): New. | |
881 | (gdb_get_tracepoint_info): New. | |
882 | (gdbtk_create_tracepoint): New. | |
883 | (gdbtk_delete_tracepoint): New. | |
884 | (tracepoint_notify): New. | |
885 | (tracepoint_exists): New. | |
886 | (gdb_actions_command): New. | |
887 | (gdb_tracepoint_exists_command): New. | |
888 | (gdb_prompt_command): New. | |
889 | ||
890 | Thu Nov 13 18:15:54 1997 Ian Lance Taylor <ian@cygnus.com> | |
891 | ||
892 | * gdbtk.c: Move include of gdbcore.h to top of file. | |
893 | (close_bfds): New static function if _WIN32. | |
894 | (gdbtk_readline): Call close_bfds. | |
895 | (call_wrapper, tk_command_loop): Likewise. | |
896 | (gdb_clear_file): New static function. | |
897 | (gdbtk_init): Create gdb_clear_file Tcl command. | |
898 | ||
899 | Wed Nov 12 14:58:39 1997 Jeff Holcomb <jeffh@cygnus.com> | |
900 | ||
901 | * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an | |
902 | int result. | |
903 | (gdbtk_load_hash): download hash routine returns an int result. | |
904 | ||
905 | Mon Nov 10 15:11:51 1997 Ian Lance Taylor <ian@cygnus.com> | |
906 | ||
907 | * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if | |
908 | __CYGWIN32__. | |
909 | * configure.in: Add -lshell32 to WIN32LIBS on cygwin32. | |
910 | * configure: Rebuild. | |
911 | ||
912 | Sun Nov 9 16:25:34 1997 Tom Tromey <tromey@cygnus.com> | |
913 | ||
914 | * gdbtk.c (gdbtk_init): Run ide_create_help_command. | |
915 | ||
916 | Tue Oct 28 17:31:47 1997 Martin M. Hunt <hunt@cygnus.com> | |
917 | ||
918 | * gdbtk.c (gdbtk_init): Call ide_create_winprint_command. | |
919 | ||
920 | Thu Oct 23 15:53:37 1997 Ian Lance Taylor <ian@cygnus.com> | |
921 | ||
922 | * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on | |
923 | cygwin32. | |
924 | * configure: Rebuild. | |
925 | ||
926 | Wed Oct 22 21:32:54 1997 Martin M. Hunt <hunt@cygnus.com> | |
927 | ||
928 | * gdbtk.c (gdbtk_init): Create sizebox command on Windows. | |
929 | ||
930 | Thu Oct 9 14:33:21 1997 Ian Lance Taylor <ian@cygnus.com> | |
931 | ||
932 | * gdbtk.c (gdbtk_init): Remove assertion argument from call to | |
933 | ide_create_window_register_command. | |
934 | ||
935 | Wed Oct 1 11:09:52 1997 Tom Tromey <tromey@cygnus.com> | |
936 | ||
937 | * gdbtk.c (gdbtk_init): Pass name of restore interface to | |
938 | ide_create_window_register_command. | |
939 | ||
940 | Fri Sep 26 21:08:22 1997 Keith Seitz <keiths@pizza.cygnus.com> | |
941 | ||
942 | * gdbtk.c (gdbtk_init): Initialize ui_load_progress_hook. | |
943 | ||
944 | Thu Sep 25 03:05:00 1997 Martin M. Hunt <hunt@cygnus.com> | |
945 | ||
946 | * gdbtk.c (gdb_load_info): New function. Returns a list | |
947 | of section names and sizes for an executable. | |
948 | (gdbtk_load_hash): Stub function to call tcl function | |
949 | download_hash. | |
950 | ||
951 | Tue Sep 23 01:29:00 1997 Martin M. Hunt <hunt@cygnus.com> | |
952 | ||
953 | * gdbtk.c (gdb_get_mem): Fix compiler warning. | |
954 | ||
955 | Sun Sep 21 00:15:00 1997 Martin M. Hunt <hunt@cygnus.com> | |
956 | ||
957 | * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump. | |
958 | ||
959 | Tue Sep 16 18:07:17 1997 Martin M. Hunt <hunt@cygnus.com> | |
960 | ||
961 | * gdbtk.c (gdb_get_mem): New function. Returns | |
962 | a formatted memory dump with optional ASCII dump. | |
963 | ||
964 | Mon Sep 8 12:48:50 1997 Ian Lance Taylor <ian@cygnus.com> | |
965 | ||
966 | * gdbtk.c: Include ilutk.h if IDE. | |
967 | (gdb_confirm_quit, gdb_force_quit): New static functions. | |
968 | (gdbtk_init): Add Tcl commands gdb_confirm_quit and | |
969 | gdb_force_quit. | |
970 | ||
971 | Mon Sep 8 03:05:33 1997 Martin M. Hunt <hunt@cygnus.com> | |
972 | ||
973 | * gdbtk.c (gdb_get_breakpoint_info): Now returns the | |
974 | function a breakpoint is in. | |
975 | ||
976 | Fri Sep 5 20:23:58 1997 Ian Lance Taylor <ian@cygnus.com> | |
977 | ||
978 | * gdbtk.c (gdbtk_init): Call ide_create_exit_command. | |
979 | ||
980 | Wed Sep 3 19:39:15 1997 Ian Lance Taylor <ian@cygnus.com> | |
981 | ||
982 | * gdbtk.c: Include guitcl.h. | |
983 | (gdbtk_init): Always call ide_initialize_paths. Set the Tcl | |
984 | variable IDE to 1 when using the IDE. Always try using auto path | |
985 | to find main.tcl. | |
986 | * Makefile.in (IDE_CFLAGS_X): Always include libide. | |
987 | (LIBIDE): New variable. | |
988 | (IDE_X): Omit -lide. | |
989 | (IDE_DEPS): Omit libide. | |
990 | * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS. | |
991 | * configure: Rebuild. | |
992 | ||
993 | Mon Aug 25 02:28:55 1997 Keith Seitz <keiths@pizza.cygnus.com> | |
994 | ||
995 | * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero | |
996 | before assuming that the inferior is running. | |
997 | ||
998 | Mon Aug 25 01:06:48 1997 Ian Lance Taylor <ian@cygnus.com> | |
999 | ||
1000 | * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer. | |
1001 | (gdbtk_stop_timer): Likewise. | |
1002 | ||
1003 | Mon Aug 25 00:23:08 1997 Keith Seitz <keiths@pizza.cygnus.com> | |
1004 | ||
1005 | * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution" | |
1006 | (gdb_target_has_execution_command) new function | |
1007 | ||
1008 | Sun Aug 24 20:27:22 1997 Ian Lance Taylor <ian@cygnus.com> | |
1009 | ||
1010 | * gdbtk.c (gdb_loc): If there are no symbols, just bail | |
1011 | immediately. | |
1012 | (tk_command_loop): Print errors encountered while running | |
1013 | gdbtk_tcl_preloop. | |
1014 | ||
1015 | Sun Aug 24 13:44:03 1997 Tom Tromey <tromey@cygnus.com> | |
1016 | ||
1017 | * gdbtk.c (gdbtk_init): Run ide_create_build_command. | |
1018 | ||
1019 | Sat Aug 23 21:53:39 1997 Ian Lance Taylor <ian@cygnus.com> | |
1020 | ||
1021 | * gdbtk.c: If CYGWIN32, include <sys/time.h>. | |
1022 | (x_fd): Don't define if WINNT. | |
1023 | (gdbtk_start_timer, gdbtk_stop_timer): New static functions if | |
1024 | CYGWIN32. | |
1025 | (gdbtk_wait): Don't set up signal handling if WINNT. If CYGWIN32, | |
1026 | call gdbtk_start_timer and gdbtk_stop_timer. | |
1027 | (gdbtk_init): Don't set up signal handling or make x_fd | |
1028 | asynchronous if CYGWIN32. | |
1029 | ||
1030 | Fri Aug 22 15:23:15 1997 Ian Lance Taylor <ian@cygnus.com> | |
1031 | ||
1032 | * gdbtk.c (error_string_ptr): New static variable. | |
1033 | (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not | |
1034 | NULL, and we're outputting to stderr, append string to | |
1035 | error_string_ptr rather than calling gdbtk_tcl_fputs. | |
1036 | (call_wrapper): Set up error_string_ptr. Put both error string | |
1037 | and normal string in Tcl result. | |
1038 | ||
1039 | * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after | |
1040 | gdb has initialized. | |
1041 | ||
1042 | Thu Aug 21 19:14:38 1997 Ian Lance Taylor <ian@cygnus.com> | |
1043 | ||
1044 | * gdbtk.c: If _WIN32, include winuser.h. | |
1045 | (gdbtk_init): If _WIN32, use MessageBox to display an error | |
1046 | evaluating main.tcl. | |
1047 | ||
1048 | Thu Aug 21 00:48:00 1997 Martin M. Hunt <hunt@pern.cygnus.com> | |
1049 | ||
1050 | * gdbtk.c (gdbtk_init): Add call to ide_run_server_init(). | |
1051 | (gdb_cmd): For the load command, don't buffer the I/O. | |
1052 | ||
1053 | Wed Aug 20 11:41:22 1997 Martin M. Hunt <hunt@cygnus.com> | |
1054 | ||
1055 | * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free(). | |
1056 | ||
1057 | Tue Aug 19 17:09:19 1997 Ian Lance Taylor <ian@cygnus.com> | |
1058 | ||
1059 | * Makefile.in (TCL_DEPS, TK_DEPS): New variables. | |
1060 | (ITCL_DEPS, TIX_DEPS): New variables. | |
1061 | (IDE_DEPS): New variable. | |
1062 | (CDEPS): Include @CONFIG_DEPS@. | |
1063 | * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS. | |
1064 | * configure: Rebuild. | |
1065 | ||
1066 | Sun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com> | |
1067 | ||
1068 | * gdbtk.c (gdb_listfuncs): New function that returns | |
1069 | a list of all the functions in a source file. | |
1070 | ||
1071 | Tue Aug 12 16:35:21 1997 Ian Lance Taylor <ian@cygnus.com> | |
1072 | ||
1073 | * Makefile.in (install-only): Install tclIndex if ENABLE_IDE. | |
1074 | ||
1075 | Mon Aug 11 10:43:04 1997 Tom Tromey <tromey@cygnus.com> | |
1076 | ||
1077 | * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment. | |
1078 | ||
1079 | Fri Aug 8 15:59:24 1997 Ian Lance Taylor <ian@cygnus.com> | |
1080 | ||
1081 | * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be | |
1082 | dynamically allocated, rather than fixed size. Pass "gdbtcl" to | |
1083 | ide_initialize_paths to match installed directory name. If IDE, | |
1084 | use auto_path to search for main.tcl. | |
1085 | * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2 | |
1086 | rather than gdbtcl. | |
1087 | ||
1088 | * gdbtk.c (gdbtk_cleanup): New static function. | |
1089 | (gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment | |
1090 | call to ide_initialize_paths. If we can't initialize the event | |
1091 | system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the | |
1092 | ide_window_register and the ide_window commands. Initialize tk, | |
1093 | itcl, and tix after initializing the IDE. | |
1094 | ||
1095 | * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0. | |
1096 | * configure: Rebuild. | |
1097 | ||
1098 | Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com> | |
1099 | ||
1100 | * gdbtk.c (breakpoint_notify): Change buffer size from 100 | |
1101 | to 256 to avoid memory corruption with very long pathnames. | |
1102 | ||
1103 | Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com> | |
1104 | ||
1105 | * configure.in: Change required Tix version to 4.1.8.0 . | |
1106 | * configure: Rebuilt. | |
1107 | ||
1108 | Fri Aug 1 15:21:44 1997 Ian Lance Taylor <ian@cygnus.com> | |
1109 | ||
1110 | * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if | |
1111 | _WIN32. | |
1112 | (Tcl_Realloc, Tcl_Free): Likewise. | |
1113 | * configure.in: Check for cygwin32 environment. Define and | |
1114 | substitute WIN32LIBS and WIN32LDAPP. Always set configdir to | |
1115 | unix; setting it to win was for an old Tcl/Tk configuration | |
1116 | scheme. | |
1117 | * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES. | |
1118 | * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@. | |
1119 | (WIN32LDAPP, WIN32LIBS): Define. | |
1120 | (CLIBS): Add $(WIN32LIBS). | |
1121 | (gdb): Use $(WIN32LDAPP). | |
1122 | * configure: Rebuild. | |
1123 | ||
1124 | Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com> | |
1125 | ||
1126 | * configure.in, aclocal.m4: Another fix to find the | |
1127 | correct Tix library name. | |
1128 | ||
1129 | * configure: Rebuilt. | |
1130 | ||
1131 | Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com> | |
1132 | ||
1133 | * aclocal.m4: Search for the correct tix library. | |
1134 | ||
1135 | Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com> | |
1136 | ||
1137 | * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and | |
1138 | IDE configuration information. | |
1139 | ||
1140 | * gdbtk.c (breakpoint_notify): Send address, linenumber and | |
1141 | filename when a breakpoint is set. Avoids call to bp_info. | |
1142 | (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle | |
1143 | Itcl, Tix and IDE initialization. | |
1144 | ||
1145 | * configure: Regenerated. | |
1146 | ||
1147 | Fri Jun 13 10:28:09 1997 Fred Fish <fnf@cygnus.com> | |
1148 | ||
1149 | * gdbtk.c (gdbtk_init): Make truth value test explicit. | |
1150 | Remove unused static variable "Gdbtk_Library". | |
1151 | ||
1152 | Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1153 | ||
1154 | * gdbtk.c (gdb_get_breakpoint_info): Add string for new | |
1155 | enumeration del_at_next_stop to bpdisp array. | |
1156 | ||
1157 | Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com> | |
1158 | ||
1159 | * Makefile.in (LIB_RUNTIME_DIR): New variable. | |
1160 | ||
1161 | Wed May 7 19:10:19 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1162 | ||
1163 | * gdbtk.c (wrapped_call): New function - make actual call to tk | |
1164 | worker function. | |
1165 | (call_wrapper): Rewrite to use top.c:catch_errors. | |
1166 | ||
1167 | * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for | |
1168 | best. | |
1169 | ||
1170 | Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com> | |
1171 | ||
1172 | * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. | |
1173 | ||
1174 | Wed Apr 16 12:33:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1175 | ||
1176 | * Makefile.in (install-only): Make list of gdbtcl files to install | |
1177 | explicit - was picking up files such as ChangeLog etc. | |
1178 | (install-only): Don't blindly create the directory. | |
1179 | ||
1180 | Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1181 | ||
1182 | * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory | |
1183 | instead of gdbtk.tcl. | |
1184 | ||
1185 | Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1186 | ||
1187 | * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by | |
1188 | default, not $(srcdir). | |
1189 | ||
1190 | Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com> | |
1191 | ||
1192 | * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. | |
1193 | ||
1194 | * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME | |
1195 | to GDBTK_LIBRARY, which is now a path to search. | |
1196 | (gdb_path_conv): New function. Convert Cygwin32 pathname to | |
1197 | DOS-style pathname. | |
1198 | ||
1199 | * {aclocal.m4,configure.in}: Changes for Windows builds. | |
1200 | ||
1201 | * configure: Rebuilt. | |
1202 | ||
1203 | Fri Mar 14 10:01:29 1997 Tom Tromey <tromey@cygnus.com> | |
1204 | ||
1205 | * configure: Regenerated. | |
1206 | * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS. | |
1207 | ||
1208 | Wed Mar 12 14:29:52 1997 Tom Tromey <tromey@cygnus.com> | |
1209 | ||
1210 | * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, | |
1211 | TCL_ALL_EVENTS. | |
1212 | ||
1213 | * configure: Regenerated. | |
1214 | * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in | |
1215 | LIBS. | |
1216 | ||
1217 | Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1218 | ||
1219 | * gdbtk.c (call_wrapper): Clear running_now if an error occurs. | |
1220 | ||
1221 | Wed Dec 11 18:51:35 1996 Mark Alexander <marka@cygnus.com> | |
1222 | ||
1223 | * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS. | |
1224 | ||
1225 | Tue Nov 19 09:26:14 1996 Tom Tromey <tromey@cygnus.com> | |
1226 | ||
1227 | * gdbtk.c (gdbtk_readline): Fix memory leak. | |
1228 | ||
1229 | Mon Nov 18 23:43:05 1996 Tom Tromey <tromey@cygnus.com> | |
1230 | ||
1231 | Fixes for Tcl 7.6 / Tk 4.2: | |
1232 | * gdbtk.tcl (apply_filespec): Use tk_getOpenFile. | |
1233 | Remove old fileselect code. | |
1234 | * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc. | |
1235 | ||
1236 | Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com> | |
1237 | ||
1238 | * gdbtk.tcl (create_copyright_window): Increase timeout from | |
1239 | 15 seconds to 30 seconds. | |
1240 | ||
1241 | Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1242 | ||
1243 | * configure configure.in: Add host *windows* to list of hosts | |
1244 | that don't support GDBtk. | |
1245 | ||
1246 | Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com> | |
1247 | ||
1248 | * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and | |
1249 | gracefully degrade to using command line interface if none is | |
1250 | found. | |
1251 | ||
1252 | Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1253 | ||
1254 | * Makefile.in (LIB_INSTALL_DIR): New macro. | |
1255 | (TCL): Include @TCL_LD_SEARCH_FLAGS@. | |
1256 | ||
1257 | Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1258 | ||
1259 | * gdbtk.c (mainWindow): Deleted. | |
1260 | (cleanup_init): Don't destroy main window. | |
1261 | (gdbtk_init): Main window now created by Tk_Init. | |
1262 | ||
1263 | * configure.in: Most X checks now handled automatically by Tk. | |
1264 | Use new macros to find Tcl/Tk. | |
1265 | * aclocal.m4: New version for new Tcl/Tk; from Don Libes. | |
1266 | * config.in, configure: Regenerated. | |
1267 | ||
1268 | * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, | |
1269 | X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. | |
1270 | ||
1271 | Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1272 | ||
1273 | * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). | |
1274 | ||
1275 | Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com> | |
1276 | ||
1277 | * gdbtk.c (gdb_disassemble): Initialize di.flavour. | |
1278 | ||
1279 | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> | |
1280 | ||
1281 | * gdbtk.c (null_routine): Ditto. | |
1282 | (gdbtk_flush): Ditto. | |
1283 | (gdbtk_fputs): Ditto. | |
1284 | (gdbtk_query): Ditto. | |
1285 | (gdbtk_readline): Ditto. | |
1286 | (gdbtk_readline_end): Ditto. | |
1287 | (gdb_get_breakpoint_list): Ditto. | |
1288 | (gdb_get_breakpoint_info): Ditto. | |
1289 | (breakpoint_notify): Ditto. | |
1290 | (gdbtk_create_breakpoint): Ditto. | |
1291 | (gdbtk_delete_breakpoint): Ditto. | |
1292 | (gdbtk_modify_breakpoint): Ditto. | |
1293 | (gdb_loc): Ditto. | |
1294 | (gdb_eval): Ditto. | |
1295 | (gdb_sourcelines): Ditto. | |
1296 | (map_arg_registers): Ditto. | |
1297 | (get_register_name): Ditto. | |
1298 | (gdb_regnames): Ditto. | |
1299 | (get_register): Ditto. | |
1300 | (gdb_fetch_registers): Ditto. | |
1301 | (register_changed_p): Ditto. | |
1302 | (gdb_changed_register_list): Ditto. | |
1303 | (gdb_cmd): Ditto. | |
1304 | (call_wrapper): Ditto. | |
1305 | (gdb_listfiles): Ditto. | |
1306 | (gdb_stop): Ditto. | |
1307 | (gdbtk_dis_asm_read_memory): Ditto. | |
1308 | (compare_lines): Ditto. | |
1309 | (gdb_disassemble): Ditto. | |
1310 | (tk_command): Ditto. | |
1311 | (cleanup_init): Ditto. | |
1312 | (gdbtk_interactive): Ditto. | |
1313 | (x_event): Ditto. | |
1314 | (gdbtk_wait): Ditto. | |
1315 | (gdbtk_call_command): Ditto. | |
1316 | (tk_command_loop): Ditto. | |
1317 | (gdbtk_init): Ditto. | |
1318 | ||
1319 | * gdbtk.c (register_changed_p): Remove unused local variable "buf". | |
1320 | ||
1321 | Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com> | |
1322 | ||
1323 | * gdbtk.tcl (files_command): Reorder the binding tags for | |
1324 | the listbox widget to avoid referencing the listbox after | |
1325 | the containing widget has been destroyed by the action of | |
1326 | a previous binding. | |
1327 | ||
1328 | Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com> | |
1329 | ||
1330 | * gdbtk.tcl (delete_expr): Unset corresponding element of | |
1331 | expr_update_list when destroying an expression. | |
1332 | (create_expr_window): Initialize expr_num, delete_expr_num, | |
1333 | and expr_update_list here when each new expression window | |
1334 | is created, rather than once at startup. | |
1335 | ||
1336 | Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1337 | ||
1338 | * gdbtk.c (gdb_disassemble): Setup di.mach from | |
1339 | tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. | |
1340 | ||
1341 | Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com> | |
1342 | ||
1343 | * gdbtk.tcl (create_register_windows): Include missing '$'s. | |
1344 | Add global declarations for various reg_format_* variables. | |
1345 | * gdbtk.tcl (populate_register_window): Make initial window one | |
1346 | line taller to account for new column header line. | |
1347 | ||
1348 | Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com> | |
1349 | ||
1350 | * gdbtk.c (get_register): Support for printing raw formats. | |
1351 | * gdbtk.tcl: Add hint for using debug_interface. | |
1352 | (center_window, add_breakpoint_frame, delete_breakpoint_frame): | |
1353 | Enclose arg in braces for consistency. | |
1354 | (create_registers_window, populate_reg_window, update_registers): | |
1355 | Major rewrite to support displaying multiple formats in the register | |
1356 | window. | |
1357 | (init_reg_info): New function. | |
1358 | (recompute_reg_display_list): Reset reg_display_list, start | |
1359 | register display lines at line 2. | |
1360 | ||
1361 | Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com> | |
1362 | ||
1363 | * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to | |
1364 | avoid backing up over prompt. At every input, make sure insert | |
1365 | point is at least after command start, handle control-u to delete | |
1366 | current input line. | |
1367 | (tclsh): Handle backspace to avoid backing up over prompt. Handle | |
1368 | control-u to delete current input line. | |
1369 | ||
1370 | Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com> | |
1371 | ||
1372 | * configure.in: disable gdbtk for *cygwin32* hosted compiles | |
1373 | * configure: regenerated with autoconf 2.8 | |
1374 | ||
1375 | Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com> | |
1376 | ||
1377 | * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): | |
1378 | New functions. | |
1379 | (tk_command_loop): Set instream to NULL to enable Tk user interaction. | |
1380 | (gdbtk_init): Set readline_begin_hook, readline_hook, | |
1381 | and readline_end_hook. | |
1382 | * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, | |
1383 | gdbtk_tcl_readline_end): New functions. | |
1384 | (tclsh): Pack scroll bar on right side of window, not left. | |
1385 | ||
1386 | Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com> | |
1387 | ||
1388 | * gdbtk.tcl (create_command_window): Change a misspelled "get" | |
1389 | to the intended "cget". | |
1390 | (delete_line): Fix so it deletes the current line at the | |
1391 | insertion cursor. | |
1392 | ||
1393 | Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com> | |
1394 | ||
1395 | * gdbtk.tcl (gdb_prompt): Set this early on. | |
1396 | (create_command_window): Use gdb_prompt rather than "(gdb) ". | |
1397 | (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. | |
1398 | (tclsh): If an evaluation window already exists, just bring it | |
1399 | to the front instead of trying to create another. | |
1400 | * gdbtk.c (tk_command_loop): New function. | |
1401 | (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. | |
1402 | ||
1403 | Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com> | |
1404 | ||
1405 | * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that | |
1406 | implement a tcl evaluation window for gdbtk maintainers to use. | |
1407 | ||
1408 | Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1409 | ||
1410 | * gdbtk.tcl (files_command): Correctly insert list of files into | |
1411 | listbox widget. | |
1412 | ||
1413 | * gdbtk.tcl (files_command): listbox command no longer accepts | |
1414 | -geometry. | |
1415 | ||
1416 | Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1417 | ||
1418 | * gdbtk.tcl (create_command_window): If command window's buffer | |
1419 | is disabled, don't execute any of the key bindings. | |
1420 | ||
1421 | Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com> | |
1422 | ||
1423 | * gdbtk.c (tk_command): Catch case where no argument is given | |
1424 | since this will cause the tcl interpreter to dump core. | |
1425 | ||
1426 | Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com> | |
1427 | ||
1428 | * gdbtk.c: Fix a couple of misspellings. | |
1429 | ||
1430 | Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1431 | ||
1432 | * gdbtk.tcl (debug_interface): New global, use to aid debugging. | |
1433 | (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. | |
1434 | (file_popup_menu): Delete, never used. | |
1435 | (listing_window_popup): Rename from listing_window_button_1, | |
1436 | remove breakpoint toggling code. | |
1437 | (toggle_breakpoint): New procedure. | |
1438 | (create_file_win): Bind popup menu to button 2, toggle breakpoints | |
1439 | with button 1 in breakpoint area, add display of tagged areas if | |
1440 | debugging on. | |
1441 | ||
1442 | Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1443 | ||
1444 | * gdbtk.c (running_now): New global variable. | |
1445 | (gdb_cmd): Test it before executing any command. | |
1446 | (gdbtk_call_command): Set it when inferior is running. | |
1447 | * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and | |
1448 | disable interaction with command window's text appropriately. | |
1449 | ||
1450 | Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1451 | ||
1452 | * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since | |
1453 | some versions of the kernel don't support it. | |
1454 | ||
1455 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1456 | ||
1457 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
1458 | double-clicking will work again. | |
1459 | (create_asm_win): Put "break" at end of all B1 bindings. | |
1460 | (create_file_win): Lower "sel" tag, don't raise it. | |
1461 | (ensure_line_visible): New proc. | |
1462 | (update_listing, update_assembly): Use it. | |
1463 | (create_copyright_window): Destroy window on Leave event. | |
1464 | (create_command_window): Put "break" at end of all B2 bindings. | |
1465 | ||
1466 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1467 | ||
1468 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
1469 | ||
1470 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
1471 | greater. | |
1472 | * configure: Rebuilt. | |
1473 | ||
1474 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> | |
1475 | ||
1476 | * gdbtk.c (gdb_disassemble): Pass fprintf_unfiltered to | |
1477 | INIT_DISASSEMBLE_INFO. | |
1478 | ||
1479 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1480 | ||
1481 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
1482 | (add_expr): Changes from create_expr_window. | |
1483 | (create_command_window): Set focus. | |
1484 | (delete_expr): Rewrote. | |
1485 | (expr_update_button): New proc. | |
1486 | (add_expr): Put bindings on FocusIn, FocusOut. | |
1487 | Don't allow .file_popup to be torn off. | |
1488 | ||
1489 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1490 | ||
1491 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
1492 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
1493 | screen_top, screen_bot, screen_height. | |
1494 | (update_assembly): Use "see" to scroll. | |
1495 | (textscrollproc): Removed. | |
1496 | (create_file_win): Don't use textscrollproc. | |
1497 | (asmscrollproc): Removed. | |
1498 | (create_asm_window): Don't use asmscrollproc. | |
1499 | (create_asm_win): Ditto. | |
1500 | (screen_height, screen_top, screen_bot): Removed. | |
1501 | (run_editor): New proc. | |
1502 | (build_framework): Use it. | |
1503 | (create_file_win, create_source_window): Don't use textscrollproc. | |
1504 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
1505 | (not_implemented_yet): Default button is 0. | |
1506 | (delete_char): Don't use tk_textBackspace. | |
1507 | (create_command_window): Allow Tk bindings to fire after deleting | |
1508 | character. | |
1509 | (create_command_window): Make Delete delete left, not right. | |
1510 | ||
1511 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1512 | ||
1513 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
1514 | ||
1515 | Changes in sync with expect: | |
1516 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
1517 | CY_AC_PATH_TK. | |
1518 | * aclocal.m4: Replaced with version from expect. | |
1519 | * configure: Regenerated. | |
1520 | ||
1521 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1522 | ||
1523 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
1524 | gdbtk_tcl_flush): Use "see", not "yview". | |
1525 | (gdbtk_tcl_query): Use questhead bitmap. | |
1526 | various: Always wrap condition of 'if' in {...}. | |
1527 | (add_breakpoint_frame): Set -value on radiobuttons. | |
1528 | (lassign): New proc. | |
1529 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
1530 | (decr): Made faster. | |
1531 | (interactive_cmd): Use "see", not "yview". | |
1532 | (not_implemented_yet): Use warning bitmap. | |
1533 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
1534 | (create_expr_window): Don't use "focus". | |
1535 | (delete_char, delete_line): Define globally. | |
1536 | (delete_line, delete_char, create_command_window, update_autocmd, | |
1537 | build_framework, create_asm_win, create_file_win): Use "see", not | |
1538 | "yview". | |
1539 | (create_copyright_window, center_window, bind_widget_after_class): | |
1540 | New procs. | |
1541 | (FSBox,create_command_window, create_autocmd_window): Binding | |
1542 | changes for Tk4. | |
1543 | (textscrollproc): Define globally. | |
1544 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
1545 | Home, End, Up, and Down are all defined by Tk. | |
1546 | (apply_filespec): Use error bitmap in dialog. | |
1547 | (files_command): Don't use tk_listboxSingleSelect. | |
1548 | (files_command): Don't use "uniq" to remove duplicates from a | |
1549 | list. | |
1550 | (update_assembly): Use lassign. | |
1551 | (create_asm_win): Removed redundant bindings. | |
1552 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
1553 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
1554 | handled by Tk. | |
1555 | ||
1556 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
1557 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
1558 | (gdbtk_call_command): Ditto. | |
1559 | ||
1560 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) | |
1561 | ||
1562 | * configure configure.in: Make --enable-gdbtk be the default. | |
1563 | ||
1564 | Thu Dec 28 15:10:49 1995 Stan Shebs <shebs@andros.cygnus.com> | |
1565 | ||
1566 | * README.GDBTK: Polish introductory paragraph. | |
1567 | ||
1568 | Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com) | |
1569 | ||
1570 | * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of | |
1571 | fprintf_filtered. | |
1572 | ||
1573 | Tue Oct 10 15:26:39 1995 Fred Fish <fnf@cygnus.com> | |
1574 | ||
1575 | * README.GDBTK: Updated for version 4.15. | |
1576 | ||
1577 | Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com> | |
1578 | ||
1579 | * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or | |
1580 | "disable". | |
1581 | Also, wire up the breakpoint window so that it can be demo'd. | |
1582 | ||
1583 | Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1584 | ||
1585 | * gdbtk.c: Include "gdb_string.h" instead of <string.h>. | |
1586 | ||
1587 | Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com) | |
1588 | ||
1589 | * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free. | |
1590 | ||
1591 | * gdbtk.tcl (add_breakpoint_frame): Add more fields. | |
1592 | * (create_file_win create_asm_win build_framework): Create null | |
1593 | bindings for meta keys to keep window from dropping down to | |
1594 | insertion point when meta is pressed by itself. New bindings: | |
1595 | Up/Down - Scroll up/down one line at a time | |
1596 | Next/Prior - Scroll up/down one page at a time | |
1597 | Home/End - Warp to current pc/end of file | |
1598 | * (build_framework): Turn on breakpoint menu. | |
1599 | * (create_command_window): Implement tab completion. Add binding | |
1600 | for ^C to stop target. | |
1601 | ||
1602 | Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com> | |
1603 | ||
1604 | * gdbtk.c: Conditionalize use of stdarg rather than varargs on | |
1605 | ANSI_PROTOTYPES not __STDC__; it must match the definition of | |
1606 | PARAMS. | |
1607 | ||
1608 | Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1609 | ||
1610 | * gdbtk.c (gdbtk_query): Use stdarg.h macros when compiling with | |
1611 | an ANSI compiler. | |
1612 | ||
1613 | Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com> | |
1614 | ||
1615 | * gdbtk.c (gdb_disassemble): Read from inferior if connected | |
1616 | to a VxWorks target. | |
1617 | ||
1618 | Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com) | |
1619 | ||
1620 | * README.GDBTK: New file. Contains the obvious. | |
1621 | ||
1622 | Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
1623 | ||
1624 | * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but | |
1625 | F_SETOWN is, use that. | |
1626 | ||
1627 | Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
1628 | ||
1629 | * Makefile.in (X11_INCLUDES): Define as empty. | |
1630 | (X11_CFLAGS): Define as including $(X11_INCLUDES). | |
1631 | (X11_LIB_SWITCHES): Define as empty. | |
1632 | (X11_LIBS): Define as -lX11. | |
1633 | ||
1634 | * configure.in (enable_gdbtk): If gdbtk, support the --x-includes | |
1635 | and --x-libraries switches, setting the X11_INCLUDES and | |
1636 | X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11 | |
1637 | in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables. | |
1638 | ||
1639 | * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use | |
1640 | it. This means that the stop button doesn't work, but is better | |
1641 | than nothing. | |
1642 | ||
1643 | Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com) | |
1644 | ||
1645 | * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate | |
1646 | locations (per-host) for X11 include files. | |
1647 | * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force | |
1648 | the use of R5 libs. | |
1649 | (X11_CFLAGS): Add this to indicate the locs | |
1650 | of the R5 include files. | |
1651 | ||
1652 | Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com) | |
1653 | ||
1654 | * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint | |
1655 | type is not bp_breakpoint. | |
1656 | ||
1657 | Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com) | |
1658 | ||
1659 | * gdbtk.c: Ditto. | |
1660 | * gdbtk.c: General cleanups, get rid of unused variables. Redo | |
1661 | handling of stdout/stderr to just return output as the result of | |
1662 | the tcl command that caused the output. Cleanup -Wall stuff. | |
1663 | * (breakpoint_notify): Now returns just action and breakpoint | |
1664 | number. | |
1665 | * (gdb_get_breakpoint_list): New routine. Does the obvious. | |
1666 | * (gdb_get_breakpoint_info): Mostly derived from the old | |
1667 | breakpoint_notify, but returns lots more info. | |
1668 | * (dsprintf_append_element): Helper routine, works like printf, | |
1669 | but appends a tcl element onto the specified DString. Good for | |
1670 | building up lists as return values. | |
1671 | * (gdbtk_enable/disable_breakpoint): Go away. Replaced with | |
1672 | gdbtk_modify_breakpoint. | |
1673 | * (*many routines*): Use new result protocol. | |
1674 | * (call_wrapper): Make sure that recursive calls don't trash results. | |
1675 | * gdbtk.tcl: New windows, autocmd, and breakpoints. | |
1676 | * (gdbtk_tcl_fputs): Don't use $current_output_win redirection | |
1677 | anymore. It's not needed (in fact, this routine may not be needed | |
1678 | anymore). | |
1679 | * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint | |
1680 | notification protocol. | |
1681 | * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove | |
1682 | catches. | |
1683 | * (interactive_cmd): Use this wrapper around button invocations | |
1684 | of many commands. This will catch errors and put the results into | |
1685 | the command window. It also updates all the other windows. | |
1686 | * Also, change reliefs of most things to sunken. This actually | |
1687 | looks better. | |
1688 | * (create_file_win): Fix margin binding to allow breakpoints to | |
1689 | work again. | |
1690 | * (create_asm_win): Use return value of gdb_disassemble instead | |
1691 | of implicit I/O to the command window. | |
1692 | * (create_command_window): Use new result protocol to get output | |
1693 | from commands. | |
1694 | ||
1695 | Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com) | |
1696 | ||
1697 | * gdbtk.c (gdb_disassemble): Deference pointer to function before | |
1698 | calling it (pre-ANSI compilers generally require this). | |
1699 | ||
1700 | Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com) | |
1701 | ||
1702 | * gdbtk.c (gdb_disassemble): Get rid of | |
1703 | dis_asm_read_memory_hook. We can now call the disassemblers | |
1704 | directly and have no need for this hook anymore. | |
1705 | ||
1706 | Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com) | |
1707 | ||
1708 | * gdbtk.tcl (create_file_win): Disable old popup menu for source | |
1709 | window. | |
1710 | ||
1711 | Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com) | |
1712 | ||
1713 | * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be | |
1714 | found. | |
1715 | * gdbtk.tcl: Initialize expr_update_list() to prevent errors when | |
1716 | popping up expression window for the first time. | |
1717 | ||
1718 | Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com) | |
1719 | ||
1720 | * gdbtk.tcl (create_registers_window): Work around a radiobutton | |
1721 | widget bug to make Options|Natural button work. | |
1722 | ||
1723 | * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and | |
1724 | g++ caused by out-of-order pc's. | |
1725 | * gdbtk.tcl (files_command): Remove duplicate file names. Also, | |
1726 | add scrollbar. | |
1727 | ||
1728 | Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com) | |
1729 | ||
1730 | * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the | |
1731 | doc! | |
1732 | ||
1733 | Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com) | |
1734 | ||
1735 | * gdbtk.c, gdbtk.tcl: Update/add copyright. | |
1736 | * gdbtk.tcl (build_framework): Several fixes for filespec widget, | |
1737 | including dismiss button, and better error handling. | |
1738 | * (create_command_win): Bind button 2 to retrieve selection. | |
1739 | ||
1740 | Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com) | |
1741 | ||
1742 | * gdbtk.tcl: Add button to control mixed source disassembly. | |
1743 | Use text widgets in expr window. The give me more control over | |
1744 | layout. | |
1745 | Add auto-updating of exprs in expression window. | |
1746 | Handle expressions out of scope a bit better. | |
1747 | Make selected window pop up to the top when invoked via the | |
1748 | menubar. | |
1749 | Make copyright message have raised relief. | |
1750 | ||
1751 | * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl | |
1752 | during startup. | |
1753 | ||
1754 | Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com) | |
1755 | ||
1756 | * gdbtk.c (finish_saving_output): Don't do anything if not saving | |
1757 | output. | |
1758 | * (breakpoint_notify): Don't send null filename to tcl. | |
1759 | * (gdb_eval): New tcl command to eval an expression. | |
1760 | * (gdb_disassemble): New tcl command to do disassembly. This | |
1761 | allows tcl code to choose between exec file and target memeory, | |
1762 | and can also do mixed source and assembly. | |
1763 | * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure | |
1764 | that more of the environment is set up. Also, create link between | |
1765 | gdb and tcl vars disassemble{-_}from{-_}exec. | |
1766 | ||
1767 | * gdbtk.tcl: New expression window support. | |
1768 | * Make assembly window be 80 columns wide. | |
1769 | * Use new disassembly method. Add menu items to select | |
1770 | disassembly from exec file or target. | |
1771 | * Change View menubar item to Options. | |
1772 | ||
1773 | * Get rid of Stack, Breakpoints, Signals, and Variables Windows, | |
1774 | since they don't exist yet. | |
1775 | ||
1776 | * Pop up a copyright window on startup. | |
1777 | ||
1778 | Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com> | |
1779 | ||
1780 | * gdbtk.tcl (build_framework): Add standard commands menu, more | |
1781 | windows to standard windows menu. | |
1782 | (not_implemented_yet): Clarify message. | |
1783 | ||
1784 | Fri Dec 30 15:49:00 1994 Stan Shebs <shebs@andros.cygnus.com> | |
1785 | ||
1786 | * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh. | |
1787 | (not_implemented_yet): New proc. | |
1788 | (build_framework): Add various file commands to file menu. | |
1789 | ||
1790 | Fri Dec 23 16:18:50 1994 Stu Grossman (grossman@cygnus.com) | |
1791 | ||
1792 | * gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for | |
1793 | SIGIO handling. | |
1794 | ||
1795 | Mon Dec 19 09:55:47 1994 Stu Grossman (grossman@cygnus.com) | |
1796 | ||
1797 | * gdbtk.tcl (update_assembly): Force update to make sure that pc | |
1798 | is visible when creating new assembly windows. | |
1799 | ||
1800 | Sun Dec 18 23:31:20 1994 Stu Grossman (grossman@cygnus.com) | |
1801 | ||
1802 | * gdbtk.c (gdbtk_wait gdbtk_init): Use different method of | |
1803 | enabling I/O interrupts for SVR4 (streams). | |
1804 | * (start_saving_output save_output get_saved_output | |
1805 | finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs | |
1806 | gdbtk_init): | |
1807 | Totally revamp to use TCLs dynamic string functions. Also, quote | |
1808 | all data passed back to TCL to prevent errors with unmatched | |
1809 | braces, odd characters, etc... This fixes several wierd problems | |
1810 | with outputting strings containing unmatched braces. | |
1811 | * (breakpoint_notify gdb_loc): Use long hex format to output | |
1812 | addresses of breakpoints and PCs. This fixes some Alpha problems. | |
1813 | * (breakpoint_notify): Add stream arg to call to gdbtk_fputs. | |
1814 | * (gdb_listfiles): Also, go through the symtabs when looking for | |
1815 | files. This makes xcoff work (sort of), but probably breaks | |
1816 | something else. | |
1817 | * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd | |
1818 | TCL errors when hitting stop button. | |
1819 | * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as | |
1820 | that will trash the result. strdup the result instead and pass | |
1821 | that on. Improve error handling as well. | |
1822 | ||
1823 | * gdbtk.tcl (gdbtk_tcl_flush): Use global def of | |
1824 | current_output_win. Makes flushing actually work! | |
1825 | * (asm_win_name create_asm_win update_assembly): Bunch of fixes | |
1826 | to make assembly windows stop flashing when loading a new file. | |
1827 | * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd | |
1828 | errors from losing control. | |
1829 | * (create_source_window): Add source file selection to View menu. | |
1830 | * (create_command_window (<Key-Return> binding): Quote text fed | |
1831 | into gdb_cmd to prevent eval errors. | |
1832 | ||
1833 | Thu Dec 15 16:40:10 1994 Stu Grossman (grossman@cygnus.com) | |
1834 | ||
1835 | * gdbtk.c: Improve mechanism for capturing output values. | |
1836 | (full_filename): Remove. | |
1837 | (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land | |
1838 | with call_wrapper. This prevents longjmps (usually via error()) | |
1839 | from jumping out of tcl/tk and leaving things in an indeterminate | |
1840 | state. | |
1841 | (gdbtk_fputs): Differentiate stdout from stderr when passing text | |
1842 | into tcl land. | |
1843 | * gdbtk.tcl: New view option to disable line numbers. Put catch | |
1844 | around most uses of gdb_cmd. Add update button to reg config | |
1845 | window. Stop doing immediate updates when selecting registers. | |
1846 | Change register view values into checkbuttons. | |
1847 | ||
1848 | Mon Dec 12 16:59:29 1994 Stu Grossman (grossman@cygnus.com) | |
1849 | ||
1850 | * gdbtk.tcl (reg_config_menu create_registers_window | |
1851 | recompute_reg_display_list): Use array instead of individual vars | |
1852 | for register display list. | |
1853 | * (recompute_reg_display_list update_registers): Fix bug with not | |
1854 | displaying all registers. | |
1855 | ||
1856 | Mon Dec 12 12:22:21 1994 Stu Grossman (grossman@cygnus.com) | |
1857 | ||
1858 | * gdbtk.c: New tcl commands: gdb_fetch_registers, | |
1859 | gdb_changed_register_list, and gdb_regnames. | |
1860 | * gdbtk.tcl: Use monochrome color model for now. | |
1861 | * (delete_breakpoint_tag create_file_win): Add breakdot support. | |
1862 | * (create_file_win create_asm_win update_listing build_framework | |
1863 | create_source_window create_command_window): Re-org window | |
1864 | creation to give all windows consistent look and feel. | |
1865 | * (update_listing update_asm): Change pc pointer to '->'. | |
1866 | * (registers_command reg_config_menu create_registers_window | |
1867 | populate_reg_window update_registers): Revamp register window. | |
1868 | Allow selection of registers to be displayed. Highlight changed | |
1869 | registers. | |
1870 | ||
1871 | Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com) | |
1872 | ||
1873 | * gdbtk.tcl (build_framework): Fix bug with setting window titles. | |
1874 | ||
1875 | * gdbtk.tcl (build_framework): Add "Report bug" to help menu. | |
1876 | ||
1877 | * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean | |
1878 | up lots of code and centralize framework initialization. | |
1879 | ||
1880 | Wed Nov 16 15:28:29 1994 Rob Savoye (rob@cygnus.com) | |
1881 | ||
1882 | * Makefile.in: Fix the test for installing gdbtk. | |
1883 | ||
1884 | Mon Nov 14 08:51:29 1994 Stu Grossman (grossman@cygnus.com) | |
1885 | ||
1886 | * Makefile.in: Install gdbtk.tcl. | |
1887 | * configure.in: Add ENABLE_GDBTK flag. | |
1888 | * gdbtk.c (gdb_sourcelines): Returns list of source lines | |
1889 | containing code. (gdb_regnames): Returns list of register names. | |
1890 | ||
1891 | Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com) | |
1892 | ||
1893 | * gdbtk.c (gdb_stop): Switch to target_stop(). | |
1894 | ||
1895 | Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com) | |
1896 | ||
1897 | * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are | |
1898 | available. | |
1899 | * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of | |
1900 | -ltcl and -ltk. | |
1901 | * gdbtk.c: Get rid of lots of unnecessary #includes. | |
1902 | * (gdbtk_init): Use ConnectionNumber macro instead of referencing | |
1903 | Display structure directly. | |
1904 | * gdbtk.tcl: Change exit button to quit button. | |
1905 | ||
1906 | Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com) | |
1907 | ||
1908 | * gdbtk.c: Change sense and name of no_windows variable. Now | |
1909 | called use_windows, and defaults to off (for compatibility). | |
1910 | ||
1911 | Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com) | |
1912 | ||
1913 | * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur. | |
1914 | * (gdb_stop): New tcl command to stop the target process. | |
1915 | * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target | |
1916 | waits. | |
1917 | * (gdbtk_call_command): Wrapper around command processing to | |
1918 | alert GUI of target state changes. | |
1919 | * (gdbtk_init): Get the fd of X server for doing async | |
1920 | notification of X events (via x_event). Setup new hooks. | |
1921 | * gdbtk.tcl: Add scrollbars to assembly and command windows. | |
1922 | * Change window foreground & background colors. | |
1923 | * Create margin tag for breakpoints in source and assembly windows. | |
1924 | * Add new routines to be invoked when target state changes to/from | |
1925 | idle. | |
1926 | * Add start of expression window. | |
1927 | * Change bindings of mouse button 1 in assembly and source window | |
1928 | to just set or clear breakpoints when in the margin tag. | |
1929 | * Change shape of register window to be more vertical to better | |
1930 | reflect its contents. | |
1931 | * Add stop button. | |
1932 | * Cleanup some code around command window bindings. | |
1933 | ||
1934 | Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com) | |
1935 | ||
1936 | * gdbtk.tcl: Let ^U delete lines in the command window. | |
1937 | ||
1938 | Fri Sep 16 15:40:34 1994 Stu Grossman (grossman@cygnus.com) | |
1939 | ||
1940 | * gdbtk.c: Replace calls to full_filename with symtab_to_filename. | |
1941 | * gdbtk.tcl: New routine pc_to_line replaces in line code. New | |
1942 | routine decr replaces in line code. | |
1943 | * (create_file_win): Use catch to handle open failures more | |
1944 | elegantly. Also, create special window to display file open | |
1945 | failure message. Move opening of file prior to creation of text | |
1946 | widget. | |
1947 | * (create_asm_win): Add PC as argument. We now base disassembly | |
1948 | on PC instead of function name, since function names can be | |
1949 | ambiguous (usually seen with shared libs). Also, use catch to | |
1950 | simplify code where we don't care about failures. | |
1951 | ||
1952 | Wed Sep 14 00:55:26 1994 Stu Grossman (grossman@cygnus.com) | |
1953 | ||
1954 | * gdbtk.tcl: Add ref counts to breakpoint tags. | |
1955 | * Put quotes around function name in disassemble command to better | |
1956 | handle assembler names containing `.'. | |
1957 | * Make pclist element 0 be filler to avoid off-by-one problem with | |
1958 | line numbers. | |
1959 | * Set names of top-level windows. | |
1960 | * Add register display window. | |
1961 | * Add PC to label of assembly window. | |
1962 | ||
1963 | Tue Sep 13 08:59:04 1994 Stu Grossman (grossman@cygnus.com) | |
1964 | ||
1965 | * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make | |
1966 | disassembly more efficient. | |
1967 | * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint | |
1968 | callback. | |
1969 | * (gdb_loc): Include pc in return value. Also, return function | |
1970 | name if arg was specified. | |
1971 | * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers | |
1972 | after command completes. | |
1973 | * (gdbtk_init): Improve error handling. | |
1974 | ||
1975 | * gdbtk.tcl: Add lots of comments. Clean up code. | |
1976 | * (gdbtk_tcl_fputs): Make output window redirectable. | |
1977 | * Add assembly window, and breapoint support. | |
1978 | * Make button 1 in margin toggle breakpoints. | |
1979 | * Use stippling to indicate breakpoint disabling. | |
1980 | ||
1981 | Fri Sep 2 19:11:40 1994 Stu Grossman (grossman@cygnus.com) | |
1982 | ||
1983 | * configure.in: Don't symlink to gdbtk.tcl if it's already there. | |
1984 | ||
1985 | Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com) | |
1986 | ||
1987 | Support for TK GUI. | |
1988 | * Makefile.in: Add rule for gdbtk.o. | |
1989 | * configure.in: Add support for --enable-gdbtk. | |
1990 | * gdbtk.c: New file. Contains support routines for TK interface. | |
1991 | * gdbtk.tcl: New file. Implements GUI policy. | |
1992 | ||
1993 | \f | |
1994 | Local Variables: | |
6f5af15b | 1995 | mode: change-log |
1ab578bf SS |
1996 | left-margin: 8 |
1997 | fill-column: 74 | |
1998 | version-control: never | |
1999 | End: |