1 2000-11-29 Tom Tromey <tromey@cygnus.com>
3 * gdbtk-cmds.c (Gdbtk_Init): Create gdb_current_directory,
4 gdb_inferior_args, and gdb_source_path variables.
6 2000-11-29 Tom Tromey <tromey@cygnus.com>
8 * gdbtk-cmds.c (call_wrapper): Don't reset result if wrapped
9 command returned error.
11 2000-11-28 Tom Tromey <tromey@cygnus.com>
13 * gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
14 (gdb_confirm_quit): Likewise.
15 (gdb_force_quit): Likewise.
17 (gdb_immediate_command): Likewise.
18 (gdb_get_vars_command): Likewise.
19 (gdb_get_line_command): Likewise.
20 (gdb_get_file_command): Likewise.
21 (gdb_get_function_command): Likewise.
22 (gdb_cmd): Likewise. Also, don't allow more than 2 arguments.
23 (gdb_listfiles): Corrected usage of Tcl_WrongNumArgs.
24 (gdb_listfuncs): Use Tcl_WrongNumArgs. Return error.
25 (gdb_fetch_registers): Likewise.
26 (gdb_tracepoint_exists_command): Use Tcl_WrongNumArgs.
27 (gdb_get_tracepoint_info): Likewise.
28 (gdb_get_trace_frame_num): Likewise.
29 (gdb_actions_command): Likewise.
30 (gdb_disassemble): Likewise. Also, return error.
31 (gdb_get_breakpoint_list): Likewise.
32 (gdb_path_conv): Likewise.
33 (gdb_load_disassembly): Use Tcl_WrongNumArgs.
35 (gdb_set_bp): Likewise.
36 (gdb_set_bp_addr): Likewise.
37 (gdb_get_breakpoint_info): Likewise.
39 2000-10-23 Fernando Nasser <fnasser@redhat.com>
41 From 2000-10-19 Steven Johnson <sbjohnson@ozemail.com.au>
42 Note: The original patch used asprintf/vasprintf. I changed it to
43 use the new xasprintf/xvasprintf gdb functions.
44 * gdbtk.c (TclDebug, gdbtk_init): Replaced the vast majority of
45 sprintf/vsprintf calls with asprintf and vasprintf respectively.
46 Should prevent any possible buffer overruns possible with
47 fixed size sprintf buffers. Specifically fixes a problem with long
48 filenames and clearing breakpoints overflowing their buffers when
49 using sprintf, causing a segfault. Generically should also prevent
50 any other similar problems from occuring.
51 * gdbtk-cmds.c (sprintf_append_element_to_obj, get_pc_register,
52 gdb_get_tracepoint_info, gdb_load_disassembly, gdbtk_load_source,
53 gdbtk_load_asm, gdb_set_bp, gdb_set_bp_addr, gdb_get_breakpoint_info,
54 gdb_selected_frame, gdb_selected_block, gdb_get_blocks): Ditto.
55 * gdbtk-hooks.c (gdbtk_warning, gdbtk_ignorable_warning,
56 gdbtk_readline_begin, gdbtk_set_hook, breakpoint_notify,
57 gdbtk_query, tracepoint_notify, gdbtk_error_begin,
58 gdbtk_annotate_signal): Ditto.
60 2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
62 * gdbtk-hooks.c (x_event): Only process events if the target is
65 2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
67 * gdbtk-variable.c: Removed. Obsolete file.
69 2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
71 * gdbtk.c (target_is_native): The "multi-thread" target is native.
73 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
75 * gdbtk-varobj.c (variable_value): Send back the error text issued
76 by gdb so it can be displayed in a pop-up box.
78 2000-07-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
80 * gdbtk-cmds.c (map_arg_registers): Set numregs to include the
83 2000-07-10 Kevin Buettner <kevinb@redhat.com>
85 * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c: Eliminate use
86 of PARAMS in function pointer declarations.
88 2000-07-02 Kevin Buettner <kevinb@redhat.com>
90 * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
91 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
92 gdbtk.h: Eliminate use of PARAMS from declarations in these
95 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
97 * gdbtk-cmds.c (get_register): Allow editing of typed registers if
98 the type is a union with the first tag equal to the register name.
100 Thu Jun 8 17:59:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
102 (gdb_load_info): Use make_cleanup_bfd_close.
103 (gdb_search): Use make_cleanup_free_search_symbols.
104 * gdbtk.c (cleanup_init): Change signature to match make_cleanups.
105 (gdbtk_init): Discard make_cleanup_func cast.
106 * gdbtk-cmds.c (gdb_eval): Ditto.
108 2000-06-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
110 * gdbtk.c: Remove CYGWIN32 conditional around timer machinery.
111 Cygwin can handle timers fine now.
113 2000-04-17 Jonathan Larmour <jlarmour@redhat.co.uk>
115 * ChangeLog-gdbtk: Renamed to ChangeLog
116 * ChangeLog: New file
117 * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c, gdbtk-varobj.c,
118 gdbtk-wrapper.h, gdbtk-wrapper.c, gdbtk.h, gdbtk.c: No need for
119 changelog-default-name hint for Emacs now
121 2000-04-14 Jonathan Larmour <jlarmour@redhat.co.uk>
123 * gdbtk.c (gdbtk_init): For now, reset gdb_stdtarg to gdb_stdout
126 2000-04-01 Jim Blandy <jimb@redhat.com>
128 * gdbtk-hooks.c (gdbtk_restore_result_ptr): New function.
129 * gdbtk.h (gdbtk_restore_result_ptr): Declare it.
130 * gdbtk-cmds.c (gdbtk_load_asm): Use it to restore the old value
131 of result_ptr, in case we get errors while disassembling things.
133 2000-03-28 Jim Blandy <jimb@redhat.com>
135 Handle the fact that there are holes in the register numbering.
136 * gdbtk-cmds.c (gdb_regnames): If given the -numbers option,
137 return the register numbers along with their names.
138 (get_register_name): Record both the register name and number, if
141 2000-03-13 James Ingham <jingham@leda.cygnus.com>
143 * gdbtk-varobj.c (variable_create): Pass the correct
144 "how_specified" flag to the varobj_create routine.
146 2000-02-29 James Ingham <jingham@leda.cygnus.com>
148 * gdbtk-cmds.c (gdb_disassemble_driver): The to_shortname for
149 Linux is "linuxthreads", not "linux-threads", so we have to change
150 the heuristic to account for this. This fixes a crash when trying
151 to disassemble from shared libraries.
153 2000-02-23 Keith R Seitz <kseitz@nwlink.com>
155 * gdbtk-wrapper.h: Add declarations for GDB_get_prev_frame, GDB_get_next_frame,
156 GDB_find_relative_frame, GDB_get_current_frame.
157 * gdbtk-wrapper.c (GDB_get_prev_frame, wrap_get_prev_frame): New functions.
158 (GDB_get_next_frame, wrap_get_next_frame): New functions.
159 (GDB_find_relative_frame, wrap_find_relative_frame): New functions.
160 (GDB_get_current_frame, wrap_get_current_frame): New functions.
162 * gdbtk-hooks.c (gdbtk_add_hooks): Use "specify_exec_file_hook" so
163 that our hook is added to the list of hooks run instead of overwriting
166 * gdbtk-cmds.c (gdb_stack): Wrap all calls to internal functions and
167 deal with errors more gracefully.
169 Wed Feb 23 13:01:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
171 * gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Change LEN to unsigned
172 long. Match ../include/dis-asm.h change.
174 Fri Feb 4 23:19:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
176 * gdbtk.c (gdbtk_init): Update default path to tcl code - now
179 Fri Feb 4 23:19:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
181 * ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
182 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
183 gdbtk.h: Moved here from the top level GDB directory.
185 Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
187 * gdbtk-hooks.c, gdbtk-variable.c, gdbtk-wrapper.c,
188 gdbtk-wrapper.h, gdbtk.h: Update to reflect rename of gdb-file /
189 GDB_FILE to ui-file / ``struct ui_file''.
191 2000-01-31 Keith Seitz <kseitz@nwlink.com>
193 * gdbtk-cmds.c (gdb_disassemble_driver) If using multi-arch, set the
194 architecture in the disassembly info.
196 Mon Jan 31 18:32:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
198 * gdbtk-variable.c, gdbtk-cmds.c, gdbtk.c: Include "tui/tui-file.h"
200 Mon Jan 3 01:09:24 2000 Andrew Cagney <cagney@b1.cygnus.com>
202 * gdbtk-cmds.c (gdb_get_mem): Use builtin_type_int32 et.al. to
203 force the word size to 32 bits.
210 version-control: never