OSDN Git Service

51993bdee1ae23106122521cdf5daa56048c8b0a
[pf3gnuchains/pf3gnuchains4x.git] / gdb / gdbtk / generic / ChangeLog-2000
1 2000-11-29  Tom Tromey  <tromey@cygnus.com>
2
3         * gdbtk-cmds.c (Gdbtk_Init): Create gdb_current_directory,
4         gdb_inferior_args, and gdb_source_path variables.
5
6 2000-11-29  Tom Tromey  <tromey@cygnus.com>
7
8         * gdbtk-cmds.c (call_wrapper): Don't reset result if wrapped
9         command returned error.
10
11 2000-11-28  Tom Tromey  <tromey@cygnus.com>
12
13         * gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
14         (gdb_confirm_quit): Likewise.
15         (gdb_force_quit): Likewise.
16         (gdb_eval): 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.
34         (gdb_loc): Likewise.
35         (gdb_set_bp): Likewise.
36         (gdb_set_bp_addr): Likewise.
37         (gdb_get_breakpoint_info): Likewise.
38
39 2000-10-23  Fernando Nasser  <fnasser@redhat.com>
40
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.
59
60 2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
61
62         * gdbtk-hooks.c (x_event): Only process events if the target is
63         running.
64
65 2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
66
67         * gdbtk-variable.c: Removed. Obsolete file.
68
69 2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>
70
71         * gdbtk.c (target_is_native): The "multi-thread" target is native.
72
73 2000-09-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>
74
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.
77
78 2000-07-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
79
80         * gdbtk-cmds.c (map_arg_registers): Set numregs to include the
81         pseudo regs as well.
82
83 2000-07-10  Kevin Buettner  <kevinb@redhat.com>
84
85         * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c: Eliminate use
86         of PARAMS in function pointer declarations.
87
88 2000-07-02  Kevin Buettner  <kevinb@redhat.com>
89
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
93         files.
94
95 2000-06-08  Fernando Nasser  <fnasser@cygnus.com>
96
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.
99
100 Thu Jun  8 17:59:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
101
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.
107
108 2000-06-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
109
110         * gdbtk.c: Remove CYGWIN32 conditional around timer machinery.
111         Cygwin can handle timers fine now.      
112
113 2000-04-17  Jonathan Larmour  <jlarmour@redhat.co.uk>
114
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
120
121 2000-04-14  Jonathan Larmour  <jlarmour@redhat.co.uk>
122
123         * gdbtk.c (gdbtk_init): For now, reset gdb_stdtarg to gdb_stdout
124         when using gdbtk.
125
126 2000-04-01  Jim Blandy  <jimb@redhat.com>
127
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.
132
133 2000-03-28  Jim Blandy  <jimb@redhat.com>
134
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
139         requested.
140
141 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
142
143         * gdbtk-varobj.c (variable_create): Pass the correct
144         "how_specified" flag to the varobj_create routine.
145
146 2000-02-29  James Ingham  <jingham@leda.cygnus.com>
147
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.
152
153 2000-02-23  Keith R Seitz  <kseitz@nwlink.com>
154
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.
161
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
164         all other hooks.
165
166         * gdbtk-cmds.c (gdb_stack): Wrap all calls to internal functions and
167         deal with errors more gracefully.
168
169 Wed Feb 23 13:01:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
170
171         * gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Change LEN to unsigned
172         long.  Match ../include/dis-asm.h change.
173
174 Fri Feb  4 23:19:03 2000  Andrew Cagney  <cagney@b1.cygnus.com>
175
176         * gdbtk.c (gdbtk_init): Update default path to tcl code - now
177         gdbtk/library.
178
179 Fri Feb  4 23:19:03 2000  Andrew Cagney  <cagney@b1.cygnus.com>
180
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.
184         
185 Tue Feb  1 00:17:12 2000  Andrew Cagney  <cagney@b1.cygnus.com>
186
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''.
190
191 2000-01-31  Keith Seitz  <kseitz@nwlink.com>
192
193         * gdbtk-cmds.c (gdb_disassemble_driver) If using multi-arch, set the
194         architecture in the disassembly info.
195
196 Mon Jan 31 18:32:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
197
198         * gdbtk-variable.c, gdbtk-cmds.c, gdbtk.c: Include "tui/tui-file.h"
199
200 Mon Jan  3 01:09:24 2000  Andrew Cagney  <cagney@b1.cygnus.com>
201
202         * gdbtk-cmds.c (gdb_get_mem): Use builtin_type_int32 et.al. to
203         force the word size to 32 bits.
204
205 \f
206 Local Variables:
207 mode: change-log
208 left-margin: 8
209 fill-column: 74
210 version-control: never
211 End: