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