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