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