Removed (tui and mi) directory prefixes from ChangeLog comments that I
[binutils-gdb.git] / gdb / tui / ChangeLog
1 2000-12-14 Kevin Buettner <kevinb@redhat.com>
2
3 * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences
4 of free() with xfree().
5
6 2000-06-22 Kevin Buettner <kevinb@redhat.com>
7
8 * tuiSourceWin.h: Eliminate use of PARAMS from this file.
9
10 2000-06-20 Kevin Buettner <kevinb@redhat.com>
11
12 * tuiLayout.c: Eliminate use of PARAMS from this file.
13
14 2000-06-17 Kevin Buettner <kevinb@redhat.com>
15
16 * tuiIO.c: Eliminate use of PARAMS from this file.
17
18 Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
19
20 * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
21 "tuiCommand.h".
22 (tui_file_fputs): Pass ``file'' and not ``stream'' to
23 tui_file_adjust_strbuf.
24
25 Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
26
27 * tui.h: Include <ncurses.h> when available.
28 * tui.c, tuiGeneralWin.c: Do not include <curses.h>.
29
30 Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
31
32 * Makefile.in: Delete.
33
34 Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
35
36 * Makefile.in (distclean, maintainer-clean, realclean,
37 mostlyclean): New targets.
38
39 Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
40
41 * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h,
42 tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to
43 ui-file / ``struct ui_file''.
44
45 Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
46
47 * tui-file.c (enum streamtype, struct tui_stream, tui_file_new,
48 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
49 tui_file_rewind, tui_file_put, tui_file_fputs,
50 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
51 fputs_unfiltered_hook): Move to here from ../utils.c
52
53 * tui-file.h, tui-file.c: New files.
54
55 Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
56
57 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
58 (tuiSetDisassemContent): Replace gdb_file_init_astring with
59 tui_sfileopen. Replace gdb_file_get_strbuf with
60 tui_file_get_strbuf.
61
62 Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
63
64 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
65 (tuiSetDisassemContent): Repace gdb_file_deallocate with
66 gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen.
67
68 Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
69
70 * tuiSource.c: Include "source.h".
71 (open_source_file, find_source_lines): Delete declarations.
72
73 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
74
75 * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
76 system.
77
78 Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com>
79
80 The following changes were made by Jim Blandy <jimb@cygnus.com>,
81 Edith Epstein <eepstein@cygnus.com>, Elena Zannoni
82 <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David
83 Taylor <taylor@cygnus.com>, as part of the project to merge in
84 changes originally made by HP; HP did not create ChangeLog
85 entries.
86
87 * Makefile.in: New file; we're merging HP's changes into GDB, and
88 we've moved the TUI files into a subdirectory, so we need a new
89 Makefile.
90
91 * tui.c:
92 #include <term.h>, if we have it, to get declarations for
93 the termcap functions on Solaris.
94 (tgoto): Add external K&R declaration for this; Solaris doesn't
95 bother to actually declare it in their header files.
96 (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined;
97 we'd rather use the USG mechanisms than the Berkeley mechanisms
98 (TIOCGETC is one of the Berkeley terminal control ioctls).
99 Apologies if this causes trouble later; this should all be handled
100 by autoconf...
101 (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here
102 from ../utils.h.
103 (tuiFree): replace safe_free with free.
104 (strcat_to_buf): new function, copied from utils.c.
105 (tuiInit): Add ignored `argv0' argument, to match the type that
106 init_ui_hook expects; updated declaration. Call the
107 initialize_tui_files function constructed above. Initialize
108 flush_hook to NULL.
109 (tuiInitWindows): Call tuiSetLocatorContent, to get the first
110 element of the locator window's content allocated. This seems
111 wrong, because it must have been initialized somehow in HP's
112 sources, and we should do it the same way now. But we do get
113 further before it segfaults. [Postscript: HP didn't bother to
114 initialize it; they compile
115 (va_catch_errors, vcatch_errors): Functions moved here from
116 ../utils.c in HP's sources. They're not used anywhere else.
117 (xdb_style): Delete this variable, and remove all references to
118 it. It's always true.
119 (tuiInit, _tui_vDo): References removed.
120
121 * tui.h: Add prototypes.
122 Don't #include "gendefs.h"; it's only used in the TUI.
123 Integrate its contents into this file:
124 #include <ansidecl.h> here.
125 (Opaque, OpaqueFuncPtr): Typedefs moved to here.
126
127 * tuiCommand.c: #include "defs.h", so we get the appropriate
128 definition of GDB_FILE.
129
130 * tuiData.c
131 (freeWindow): replace safe_free with free.
132 (tui_version): don't define it here; it's defined in main.c now.
133
134 * tuiDisassem.c
135 (tuiSetDisassemContent): Call strcat_address_numeric instead of
136 strcat_address. Simplify the control structure. Use predefined
137 GDB function to print asm inst address. Use GDB_FILE to collect
138 output into buffers.
139
140 * tuiIO.c
141 (tgoto): Add external K&R declaration for this here too.
142 (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same.
143 (tuiPuts_unfiltered): change FILE to GDB_FILE.
144 (tui_tputs): fix prototype for 3rd argument.
145
146 * tuiIO.h (tuiPuts_unfiltered): change declaration.
147
148 * tuiLayout.c
149 (_tuiSetLayoutTo): for displaying registers, hook up the HP code
150 that decides which registers to display (i.e. single precision
151 float, double precision float, general, special). Previously,
152 only handled TUI_GENERAL_REGS. Now that the code is hooked up,
153 compiling with -z poses a problem. When the first layout command
154 is 'layout regs', dataWin->detail is a NULL pointer, and gdb
155 core dumps.
156
157 * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free.
158
159 * tuiRegs.c #include "defs.h" earlier, to avoid problems in
160 <stdarg.h>. No idea exactly what's conflicting with what, but the
161 errors went away...
162 (_tuiRegisterFormat): Change so that function creates a GDB_FILE
163 object, calls pa_do_strcat_registers_info, copies the register
164 info into a buffer, and deallocates the GDB_FILE object. Remove
165 some code that is not executed. Also, call to
166 pa_do_strcat_registers_info has an additional parameter,
167 precision. This code requires some new per-target functions that
168 we don't want to merge. Dyke it out, with #ifdef
169 TUI_EXTENDED_FORMATTERS.
170 (_tuiSetSpecialRegsContent): this function was ifdefed out.
171 Hooked this up.
172 (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed
173 out. Hooked it up.
174 (IS_64BIT): Just define this to be zero; we're not merging in the
175 64-bit support.
176 (tuiShowRegisters): Comment out all references to the "special"
177 regs; we don't have a distinction between the "special" and
178 "non-special" regs in most of our machine descriptions. This code
179 is PA-specific in other ways as well, and needs to be redesigned
180 to be portable to other processors.
181
182 * tuiWin.c: #include <string.h>, to get a declaration for
183 strchr.
184
185 * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c,
186 tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c,
187 tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed
188 bool to int throughout. Re-indented, GNU style.
189
190 * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h,
191 tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h,
192 tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP).
193 Changed bool to int throughout.