]>
Commit | Line | Data |
---|---|---|
c774cec6 SC |
1 | 2001-07-18 Stephane Carrez <[email protected]> |
2 | ||
3 | * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member. | |
4 | (TuiLineOrAddress): Likewise. | |
5 | * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify | |
6 | an address. | |
7 | (tuiSetDisassemContent): Likewise. | |
8 | (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise. | |
9 | * tuiLayout.c (_extractDisplayStartAddr): Likewise. | |
10 | (tuiSetLayout): Likewise. | |
11 | * tuiSourceWin.c (tuiDisplayMainFunction): Likewise. | |
12 | (tuiUpdateSourceWindowsWithAddr): Likewise. | |
13 | (tuiUpdateSourceWindowsWithLine): Likewise. | |
14 | (tuiSetHasBreakAt): Likewise. | |
15 | * tuiStack.c (tuiSetLocatorInfo): Likewise. | |
16 | (tuiSwitchFilename): Likewise. | |
17 | (tuiUpdateLocatorInfoFromFrame): Likewise. | |
18 | (tuiSetLocatorContent): Likewise. | |
19 | (tuiShowFrameInfo): Likewise. | |
20 | * tuiDisassem.h: Update prototypes to use CORE_ADDR. | |
21 | * tuiSourceWin.h: Likewise. | |
22 | * tuiStack.h: Likewise. | |
23 | ||
84b1e7c7 SC |
24 | 2001-07-17 Stephane Carrez <[email protected]> |
25 | ||
26 | * tuiWin.c: Add missing includes. | |
27 | (_makeVisibleWithNewHeight): Fix call to find_line_pc. | |
28 | * tuiLayout.c: Add missing includes. | |
29 | (_initAndMakeWin): Don't put curses in echo mode. | |
30 | (_extractDisplayStartAddr): Fix calls to find_line_pc. | |
31 | (_tuiLayout_command): Missing ',' in warning call. | |
32 | * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to | |
33 | find_line_pc. | |
34 | (tuiSetHasBreakAt): Check for null source file. | |
35 | ||
0963fc96 SC |
36 | 2001-07-17 Stephane Carrez <[email protected]> |
37 | ||
38 | * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare. | |
39 | * tuiLayout.c (_tuiSetLayoutTo): Likewise. | |
40 | * tui.c (_tui_vToggle_command): Likewise. | |
41 | ||
f9eb4b01 EZ |
42 | 2001-07-17 Elena Zannoni <[email protected]> |
43 | ||
44 | * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered. | |
45 | ||
c46cc7df SC |
46 | 2001-07-16 Stephane Carrez <[email protected]> |
47 | ||
48 | * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in | |
49 | each register window. | |
50 | (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size | |
51 | of the register to check. | |
52 | (_tuiRegValueHasChanged): Likewise. | |
53 | (_tuiRegisterName): Use REGISTER_NAME. | |
54 | (tui_restore_gdbout): New function. | |
55 | (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected | |
56 | to a string. | |
57 | (START_SPECIAL_REGS): Define. | |
58 | (_tuiGetRegisterRawValue): Use get_saved_register. | |
59 | (_tuiDisplayRegister): Fix clearing of register window. | |
60 | ||
e42acc6b SC |
61 | 2001-07-17 Stephane Carrez <[email protected]> |
62 | ||
63 | * tui-file.h (fputs_unfiltered_hook): Remove. | |
64 | * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook. | |
65 | (tui_file_fputs): Likewise; simplify | |
66 | ||
75fd9bc1 SC |
67 | 2001-07-16 Stephane Carrez <[email protected]> |
68 | ||
69 | * tuiStack.c: Add missing includes. | |
70 | (tuiShowFrameInfo): Don't crash when there is no symbol table | |
71 | associated with the pc. | |
72 | * tuiSource.c (_hasBreak): Check for null source file. | |
73 | * tuiWin.c (tuiRefreshAll): Check for null winList[type]. | |
74 | (_tuiSetFocus): Check for null dataWin. | |
75 | * tuiGeneralWin.c (refreshAll): Check for null list[type]. | |
76 | ||
a8080b7f SC |
77 | 2001-07-16 Stephane Carrez <[email protected]> |
78 | ||
79 | * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info | |
80 | to disassemble in the curses window. | |
81 | ||
2a5127c4 SC |
82 | 2001-07-16 Stephane Carrez <[email protected]> |
83 | ||
84 | * tui.h: Cleanup to avoid inclusion of curses includes. | |
85 | (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here. | |
86 | * tuiData.h: To here; include curses includes here. | |
87 | (setTermHeightTo): Rename of setTermHeight to follow reality. | |
88 | (setTermWidthTo): Likewise with setTermWidth. | |
89 | ||
eca6576c SC |
90 | 2001-07-14 Stephane Carrez <[email protected]> |
91 | ||
92 | * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype. | |
93 | tuiIO.c, tuiData.c: Likewise. | |
94 | tuiDataWin.c, tuiDisassem.c: Likewise. | |
95 | tuiGeneralWin.c, tuiLayout.c: Likewise. | |
96 | tuiRegs.c, tuiSource.c: Likewise. | |
97 | tuiSouceWin.c, tuiStack.c: Likewise. | |
98 | ||
f377b406 SC |
99 | 2001-07-14 Stephane Carrez <[email protected]> |
100 | ||
101 | * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright. | |
102 | tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise. | |
103 | tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise. | |
104 | tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise. | |
105 | tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise. | |
106 | tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise. | |
107 | ||
a728f042 AC |
108 | 2001-03-08 Andrew Cagney <[email protected]> |
109 | ||
110 | * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS. | |
111 | ||
b6ba6518 KB |
112 | 2001-03-06 Kevin Buettner <[email protected]> |
113 | ||
114 | * tui-file.h: Update/correct copyright notice. | |
115 | ||
8e65ff28 AC |
116 | Wed Feb 7 19:54:27 2001 Andrew Cagney <[email protected]> |
117 | ||
118 | * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to | |
119 | internal_error. | |
120 | ||
46c6187f KB |
121 | 2000-12-14 Kevin Buettner <[email protected]> |
122 | ||
e7b044d6 KB |
123 | * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences |
124 | of free() with xfree(). | |
46c6187f | 125 | |
f7778913 KB |
126 | 2000-06-22 Kevin Buettner <[email protected]> |
127 | ||
128 | * tuiSourceWin.h: Eliminate use of PARAMS from this file. | |
129 | ||
f6dd1e70 KB |
130 | 2000-06-20 Kevin Buettner <[email protected]> |
131 | ||
132 | * tuiLayout.c: Eliminate use of PARAMS from this file. | |
133 | ||
692248f3 KB |
134 | 2000-06-17 Kevin Buettner <[email protected]> |
135 | ||
136 | * tuiIO.c: Eliminate use of PARAMS from this file. | |
137 | ||
fbc75a32 AC |
138 | Thu May 25 14:46:20 2000 Andrew Cagney <[email protected]> |
139 | ||
140 | * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and | |
141 | "tuiCommand.h". | |
142 | (tui_file_fputs): Pass ``file'' and not ``stream'' to | |
143 | tui_file_adjust_strbuf. | |
144 | ||
2894793a AC |
145 | Thu May 25 16:58:01 2000 Andrew Cagney <[email protected]> |
146 | ||
147 | * tui.h: Include <ncurses.h> when available. | |
148 | * tui.c, tuiGeneralWin.c: Do not include <curses.h>. | |
149 | ||
ed952ac5 AC |
150 | Mon May 15 17:16:10 2000 Andrew Cagney <[email protected]> |
151 | ||
152 | * Makefile.in: Delete. | |
153 | ||
784f35f9 AC |
154 | Tue Apr 18 15:32:15 2000 Andrew Cagney <[email protected]> |
155 | ||
156 | * Makefile.in (distclean, maintainer-clean, realclean, | |
157 | mostlyclean): New targets. | |
158 | ||
d9fcf2fb JM |
159 | Tue Feb 1 00:17:12 2000 Andrew Cagney <[email protected]> |
160 | ||
161 | * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h, | |
162 | tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to | |
163 | ui-file / ``struct ui_file''. | |
164 | ||
da59e081 JM |
165 | Mon Jan 31 18:12:43 2000 Andrew Cagney <[email protected]> |
166 | ||
167 | * tui-file.c (enum streamtype, struct tui_stream, tui_file_new, | |
168 | tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty, | |
169 | tui_file_rewind, tui_file_put, tui_file_fputs, | |
170 | tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush, | |
171 | fputs_unfiltered_hook): Move to here from ../utils.c | |
172 | ||
173 | * tui-file.h, tui-file.c: New files. | |
174 | ||
11cf8741 JM |
175 | Mon Nov 8 17:47:37 1999 Andrew Cagney <[email protected]> |
176 | ||
177 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c | |
178 | (tuiSetDisassemContent): Replace gdb_file_init_astring with | |
179 | tui_sfileopen. Replace gdb_file_get_strbuf with | |
180 | tui_file_get_strbuf. | |
181 | ||
182 | Mon Nov 8 16:54:51 1999 Andrew Cagney <[email protected]> | |
183 | ||
184 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c | |
185 | (tuiSetDisassemContent): Repace gdb_file_deallocate with | |
186 | gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen. | |
187 | ||
c2c6d25f JM |
188 | Fri Sep 17 19:34:38 1999 Andrew Cagney <[email protected]> |
189 | ||
190 | * tuiSource.c: Include "source.h". | |
191 | (open_source_file, find_source_lines): Delete declarations. | |
192 | ||
c906108c SS |
193 | 1999-01-26 Jason Molenda ([email protected]) |
194 | ||
195 | * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish | |
196 | system. | |
197 | ||
198 | Thu Dec 31 12:08:32 1998 David Taylor <[email protected]> | |
199 | ||
200 | The following changes were made by Jim Blandy <[email protected]>, | |
201 | Edith Epstein <[email protected]>, Elena Zannoni | |
202 | <[email protected]> Stan Shebs <[email protected]>, and David | |
203 | Taylor <[email protected]>, as part of the project to merge in | |
204 | changes originally made by HP; HP did not create ChangeLog | |
205 | entries. | |
206 | ||
207 | * Makefile.in: New file; we're merging HP's changes into GDB, and | |
208 | we've moved the TUI files into a subdirectory, so we need a new | |
209 | Makefile. | |
210 | ||
211 | * tui.c: | |
212 | #include <term.h>, if we have it, to get declarations for | |
213 | the termcap functions on Solaris. | |
214 | (tgoto): Add external K&R declaration for this; Solaris doesn't | |
215 | bother to actually declare it in their header files. | |
216 | (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined; | |
217 | we'd rather use the USG mechanisms than the Berkeley mechanisms | |
218 | (TIOCGETC is one of the Berkeley terminal control ioctls). | |
219 | Apologies if this causes trouble later; this should all be handled | |
220 | by autoconf... | |
221 | (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here | |
222 | from ../utils.h. | |
223 | (tuiFree): replace safe_free with free. | |
224 | (strcat_to_buf): new function, copied from utils.c. | |
225 | (tuiInit): Add ignored `argv0' argument, to match the type that | |
226 | init_ui_hook expects; updated declaration. Call the | |
227 | initialize_tui_files function constructed above. Initialize | |
228 | flush_hook to NULL. | |
229 | (tuiInitWindows): Call tuiSetLocatorContent, to get the first | |
230 | element of the locator window's content allocated. This seems | |
231 | wrong, because it must have been initialized somehow in HP's | |
232 | sources, and we should do it the same way now. But we do get | |
233 | further before it segfaults. [Postscript: HP didn't bother to | |
234 | initialize it; they compile | |
235 | (va_catch_errors, vcatch_errors): Functions moved here from | |
236 | ../utils.c in HP's sources. They're not used anywhere else. | |
237 | (xdb_style): Delete this variable, and remove all references to | |
238 | it. It's always true. | |
239 | (tuiInit, _tui_vDo): References removed. | |
240 | ||
241 | * tui.h: Add prototypes. | |
242 | Don't #include "gendefs.h"; it's only used in the TUI. | |
243 | Integrate its contents into this file: | |
244 | #include <ansidecl.h> here. | |
245 | (Opaque, OpaqueFuncPtr): Typedefs moved to here. | |
246 | ||
247 | * tuiCommand.c: #include "defs.h", so we get the appropriate | |
248 | definition of GDB_FILE. | |
249 | ||
250 | * tuiData.c | |
251 | (freeWindow): replace safe_free with free. | |
252 | (tui_version): don't define it here; it's defined in main.c now. | |
253 | ||
254 | * tuiDisassem.c | |
255 | (tuiSetDisassemContent): Call strcat_address_numeric instead of | |
256 | strcat_address. Simplify the control structure. Use predefined | |
257 | GDB function to print asm inst address. Use GDB_FILE to collect | |
258 | output into buffers. | |
259 | ||
260 | * tuiIO.c | |
261 | (tgoto): Add external K&R declaration for this here too. | |
262 | (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same. | |
263 | (tuiPuts_unfiltered): change FILE to GDB_FILE. | |
264 | (tui_tputs): fix prototype for 3rd argument. | |
265 | ||
266 | * tuiIO.h (tuiPuts_unfiltered): change declaration. | |
267 | ||
268 | * tuiLayout.c | |
269 | (_tuiSetLayoutTo): for displaying registers, hook up the HP code | |
270 | that decides which registers to display (i.e. single precision | |
271 | float, double precision float, general, special). Previously, | |
272 | only handled TUI_GENERAL_REGS. Now that the code is hooked up, | |
273 | compiling with -z poses a problem. When the first layout command | |
274 | is 'layout regs', dataWin->detail is a NULL pointer, and gdb | |
275 | core dumps. | |
276 | ||
277 | * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free. | |
278 | ||
279 | * tuiRegs.c #include "defs.h" earlier, to avoid problems in | |
280 | <stdarg.h>. No idea exactly what's conflicting with what, but the | |
281 | errors went away... | |
282 | (_tuiRegisterFormat): Change so that function creates a GDB_FILE | |
283 | object, calls pa_do_strcat_registers_info, copies the register | |
284 | info into a buffer, and deallocates the GDB_FILE object. Remove | |
285 | some code that is not executed. Also, call to | |
286 | pa_do_strcat_registers_info has an additional parameter, | |
287 | precision. This code requires some new per-target functions that | |
288 | we don't want to merge. Dyke it out, with #ifdef | |
289 | TUI_EXTENDED_FORMATTERS. | |
290 | (_tuiSetSpecialRegsContent): this function was ifdefed out. | |
291 | Hooked this up. | |
292 | (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed | |
293 | out. Hooked it up. | |
294 | (IS_64BIT): Just define this to be zero; we're not merging in the | |
295 | 64-bit support. | |
296 | (tuiShowRegisters): Comment out all references to the "special" | |
297 | regs; we don't have a distinction between the "special" and | |
298 | "non-special" regs in most of our machine descriptions. This code | |
299 | is PA-specific in other ways as well, and needs to be redesigned | |
300 | to be portable to other processors. | |
301 | ||
302 | * tuiWin.c: #include <string.h>, to get a declaration for | |
303 | strchr. | |
304 | ||
305 | * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c, | |
306 | tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c, | |
307 | tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed | |
308 | bool to int throughout. Re-indented, GNU style. | |
309 | ||
310 | * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h, | |
311 | tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h, | |
312 | tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP). | |
313 | Changed bool to int throughout. |