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