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