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