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