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