Clone src/config.guess. Mention in MAINTAINERS.
[deliverable/binutils-gdb.git] / gdb / tui / ChangeLog
CommitLineData
41783295
SC
12001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2
3 * tuiWin.c (_initialize_tuiWin): Always define the tui commands;
4 create the tui class help.
5 * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
6 * tuiRegs.c (_initialize_tuiRegs): Likewise.
7 * tuiStack.c (_initialize_tuiStack): Likewise.
8
3024f13a
SC
92001-07-19 Stephane Carrez <Stephane.Carrez@worldnet.fr>
10
11 * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
12 (tuiVerticalDisassemScroll): Likewise.
13 (tuiShowDisassemAndUpdateSource): Check for null symtab to
14 prevent a crash.
15
e8b915dc
SC
162001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17
18 * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
19 (tuiRead, tui_vread): Remove.
20
21 * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
22 (vcatch_errors, _tui_vDo): Remove.
23 * tui.h (tuiDo, tuiDoAndReturnToTop): Remove.
24
25 * tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
26 (tui_set_layout): Rename of _tuiSetLayoutTo, public.
27 (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
28 (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
29 (_tuiLayout_command): Call tui_set_layout.
30
31 * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
32 (_tuiScrollRegsForward_command): Likewise.
33 (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
34 (_tuiShowGeneral_command): Likewise.
35 (_tuiShowSpecial_command): Likewise.
36 (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
37 * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
38 (_tuiScrollForward_command): Call tui_scroll.
39 (_tuiScrollBackward_command): Likewise.
40 (_tuiScrollLeft_command): Likewise.
41 (_tuiScrollRight_command): Likewise.
42 (_tuiSetFocus_command): Call _tuiSetFocus.
43 (_tuiRefreshAll_command): Call tuiRefreshAll.
44 (_tuiSetWinHeight_command): Call _tuiSetWinHeight.
45 (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
46 * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
47
c774cec6
SC
482001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
49
50 * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
51 (TuiLineOrAddress): Likewise.
52 * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
53 an address.
54 (tuiSetDisassemContent): Likewise.
55 (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
56 * tuiLayout.c (_extractDisplayStartAddr): Likewise.
57 (tuiSetLayout): Likewise.
58 * tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
59 (tuiUpdateSourceWindowsWithAddr): Likewise.
60 (tuiUpdateSourceWindowsWithLine): Likewise.
61 (tuiSetHasBreakAt): Likewise.
62 * tuiStack.c (tuiSetLocatorInfo): Likewise.
63 (tuiSwitchFilename): Likewise.
64 (tuiUpdateLocatorInfoFromFrame): Likewise.
65 (tuiSetLocatorContent): Likewise.
66 (tuiShowFrameInfo): Likewise.
67 * tuiDisassem.h: Update prototypes to use CORE_ADDR.
68 * tuiSourceWin.h: Likewise.
69 * tuiStack.h: Likewise.
70
84b1e7c7
SC
712001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
72
73 * tuiWin.c: Add missing includes.
74 (_makeVisibleWithNewHeight): Fix call to find_line_pc.
75 * tuiLayout.c: Add missing includes.
76 (_initAndMakeWin): Don't put curses in echo mode.
77 (_extractDisplayStartAddr): Fix calls to find_line_pc.
78 (_tuiLayout_command): Missing ',' in warning call.
79 * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
80 find_line_pc.
81 (tuiSetHasBreakAt): Check for null source file.
82
0963fc96
SC
832001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
84
85 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
86 * tuiLayout.c (_tuiSetLayoutTo): Likewise.
87 * tui.c (_tui_vToggle_command): Likewise.
88
f9eb4b01
EZ
892001-07-17 Elena Zannoni <ezannoni@redhat.com>
90
91 * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
92
c46cc7df
SC
932001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
94
95 * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
96 each register window.
97 (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
98 of the register to check.
99 (_tuiRegValueHasChanged): Likewise.
100 (_tuiRegisterName): Use REGISTER_NAME.
101 (tui_restore_gdbout): New function.
102 (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
103 to a string.
104 (START_SPECIAL_REGS): Define.
105 (_tuiGetRegisterRawValue): Use get_saved_register.
106 (_tuiDisplayRegister): Fix clearing of register window.
107
e42acc6b
SC
1082001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
109
110 * tui-file.h (fputs_unfiltered_hook): Remove.
111 * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
112 (tui_file_fputs): Likewise; simplify
113
75fd9bc1
SC
1142001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
115
116 * tuiStack.c: Add missing includes.
117 (tuiShowFrameInfo): Don't crash when there is no symbol table
118 associated with the pc.
119 * tuiSource.c (_hasBreak): Check for null source file.
120 * tuiWin.c (tuiRefreshAll): Check for null winList[type].
121 (_tuiSetFocus): Check for null dataWin.
122 * tuiGeneralWin.c (refreshAll): Check for null list[type].
123
a8080b7f
SC
1242001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
125
126 * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
127 to disassemble in the curses window.
128
2a5127c4
SC
1292001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
130
131 * tui.h: Cleanup to avoid inclusion of curses includes.
132 (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
133 * tuiData.h: To here; include curses includes here.
134 (setTermHeightTo): Rename of setTermHeight to follow reality.
135 (setTermWidthTo): Likewise with setTermWidth.
136
eca6576c
SC
1372001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
138
139 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
140 tuiIO.c, tuiData.c: Likewise.
141 tuiDataWin.c, tuiDisassem.c: Likewise.
142 tuiGeneralWin.c, tuiLayout.c: Likewise.
143 tuiRegs.c, tuiSource.c: Likewise.
144 tuiSouceWin.c, tuiStack.c: Likewise.
145
f377b406
SC
1462001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
147
148 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
149 tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
150 tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
151 tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
152 tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
153 tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
154
a728f042
AC
1552001-03-08 Andrew Cagney <ac131313@redhat.com>
156
157 * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS.
158
b6ba6518
KB
1592001-03-06 Kevin Buettner <kevinb@redhat.com>
160
161 * tui-file.h: Update/correct copyright notice.
162
8e65ff28
AC
163Wed Feb 7 19:54:27 2001 Andrew Cagney <cagney@redhat.com>
164
165 * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to
166 internal_error.
167
46c6187f
KB
1682000-12-14 Kevin Buettner <kevinb@redhat.com>
169
e7b044d6
KB
170 * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences
171 of free() with xfree().
46c6187f 172
f7778913
KB
1732000-06-22 Kevin Buettner <kevinb@redhat.com>
174
175 * tuiSourceWin.h: Eliminate use of PARAMS from this file.
176
f6dd1e70
KB
1772000-06-20 Kevin Buettner <kevinb@redhat.com>
178
179 * tuiLayout.c: Eliminate use of PARAMS from this file.
180
692248f3
KB
1812000-06-17 Kevin Buettner <kevinb@redhat.com>
182
183 * tuiIO.c: Eliminate use of PARAMS from this file.
184
fbc75a32
AC
185Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
186
187 * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
188 "tuiCommand.h".
189 (tui_file_fputs): Pass ``file'' and not ``stream'' to
190 tui_file_adjust_strbuf.
191
2894793a
AC
192Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
193
194 * tui.h: Include <ncurses.h> when available.
195 * tui.c, tuiGeneralWin.c: Do not include <curses.h>.
196
ed952ac5
AC
197Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
198
199 * Makefile.in: Delete.
200
784f35f9
AC
201Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
202
203 * Makefile.in (distclean, maintainer-clean, realclean,
204 mostlyclean): New targets.
205
d9fcf2fb
JM
206Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
207
208 * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h,
209 tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to
210 ui-file / ``struct ui_file''.
211
da59e081
JM
212Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
213
214 * tui-file.c (enum streamtype, struct tui_stream, tui_file_new,
215 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
216 tui_file_rewind, tui_file_put, tui_file_fputs,
217 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
218 fputs_unfiltered_hook): Move to here from ../utils.c
219
220 * tui-file.h, tui-file.c: New files.
221
11cf8741
JM
222Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
223
224 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
225 (tuiSetDisassemContent): Replace gdb_file_init_astring with
226 tui_sfileopen. Replace gdb_file_get_strbuf with
227 tui_file_get_strbuf.
228
229Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
230
231 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
232 (tuiSetDisassemContent): Repace gdb_file_deallocate with
233 gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen.
234
c2c6d25f
JM
235Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
236
237 * tuiSource.c: Include "source.h".
238 (open_source_file, find_source_lines): Delete declarations.
239
c906108c
SS
2401999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
241
242 * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
243 system.
244
245Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com>
246
247 The following changes were made by Jim Blandy <jimb@cygnus.com>,
248 Edith Epstein <eepstein@cygnus.com>, Elena Zannoni
249 <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David
250 Taylor <taylor@cygnus.com>, as part of the project to merge in
251 changes originally made by HP; HP did not create ChangeLog
252 entries.
253
254 * Makefile.in: New file; we're merging HP's changes into GDB, and
255 we've moved the TUI files into a subdirectory, so we need a new
256 Makefile.
257
258 * tui.c:
259 #include <term.h>, if we have it, to get declarations for
260 the termcap functions on Solaris.
261 (tgoto): Add external K&R declaration for this; Solaris doesn't
262 bother to actually declare it in their header files.
263 (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined;
264 we'd rather use the USG mechanisms than the Berkeley mechanisms
265 (TIOCGETC is one of the Berkeley terminal control ioctls).
266 Apologies if this causes trouble later; this should all be handled
267 by autoconf...
268 (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here
269 from ../utils.h.
270 (tuiFree): replace safe_free with free.
271 (strcat_to_buf): new function, copied from utils.c.
272 (tuiInit): Add ignored `argv0' argument, to match the type that
273 init_ui_hook expects; updated declaration. Call the
274 initialize_tui_files function constructed above. Initialize
275 flush_hook to NULL.
276 (tuiInitWindows): Call tuiSetLocatorContent, to get the first
277 element of the locator window's content allocated. This seems
278 wrong, because it must have been initialized somehow in HP's
279 sources, and we should do it the same way now. But we do get
280 further before it segfaults. [Postscript: HP didn't bother to
281 initialize it; they compile
282 (va_catch_errors, vcatch_errors): Functions moved here from
283 ../utils.c in HP's sources. They're not used anywhere else.
284 (xdb_style): Delete this variable, and remove all references to
285 it. It's always true.
286 (tuiInit, _tui_vDo): References removed.
287
288 * tui.h: Add prototypes.
289 Don't #include "gendefs.h"; it's only used in the TUI.
290 Integrate its contents into this file:
291 #include <ansidecl.h> here.
292 (Opaque, OpaqueFuncPtr): Typedefs moved to here.
293
294 * tuiCommand.c: #include "defs.h", so we get the appropriate
295 definition of GDB_FILE.
296
297 * tuiData.c
298 (freeWindow): replace safe_free with free.
299 (tui_version): don't define it here; it's defined in main.c now.
300
301 * tuiDisassem.c
302 (tuiSetDisassemContent): Call strcat_address_numeric instead of
303 strcat_address. Simplify the control structure. Use predefined
304 GDB function to print asm inst address. Use GDB_FILE to collect
305 output into buffers.
306
307 * tuiIO.c
308 (tgoto): Add external K&R declaration for this here too.
309 (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same.
310 (tuiPuts_unfiltered): change FILE to GDB_FILE.
311 (tui_tputs): fix prototype for 3rd argument.
312
313 * tuiIO.h (tuiPuts_unfiltered): change declaration.
314
315 * tuiLayout.c
316 (_tuiSetLayoutTo): for displaying registers, hook up the HP code
317 that decides which registers to display (i.e. single precision
318 float, double precision float, general, special). Previously,
319 only handled TUI_GENERAL_REGS. Now that the code is hooked up,
320 compiling with -z poses a problem. When the first layout command
321 is 'layout regs', dataWin->detail is a NULL pointer, and gdb
322 core dumps.
323
324 * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free.
325
326 * tuiRegs.c #include "defs.h" earlier, to avoid problems in
327 <stdarg.h>. No idea exactly what's conflicting with what, but the
328 errors went away...
329 (_tuiRegisterFormat): Change so that function creates a GDB_FILE
330 object, calls pa_do_strcat_registers_info, copies the register
331 info into a buffer, and deallocates the GDB_FILE object. Remove
332 some code that is not executed. Also, call to
333 pa_do_strcat_registers_info has an additional parameter,
334 precision. This code requires some new per-target functions that
335 we don't want to merge. Dyke it out, with #ifdef
336 TUI_EXTENDED_FORMATTERS.
337 (_tuiSetSpecialRegsContent): this function was ifdefed out.
338 Hooked this up.
339 (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed
340 out. Hooked it up.
341 (IS_64BIT): Just define this to be zero; we're not merging in the
342 64-bit support.
343 (tuiShowRegisters): Comment out all references to the "special"
344 regs; we don't have a distinction between the "special" and
345 "non-special" regs in most of our machine descriptions. This code
346 is PA-specific in other ways as well, and needs to be redesigned
347 to be portable to other processors.
348
349 * tuiWin.c: #include <string.h>, to get a declaration for
350 strchr.
351
352 * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c,
353 tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c,
354 tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed
355 bool to int throughout. Re-indented, GNU style.
356
357 * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h,
358 tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h,
359 tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP).
360 Changed bool to int throughout.
This page took 0.140837 seconds and 4 git commands to generate.