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