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