* tui-file.c (tui_file_fputs): Use tui_puts.
[deliverable/binutils-gdb.git] / gdb / tui / ChangeLog
1 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2
3 * tui-file.c (tui_file_fputs): Use tui_puts.
4
5 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6
7 * tuiStack.c (tuiSetLocatorInfo): Cleanup.
8 * tuiStack.h (tuiGetLocatorFilename): Declare.
9 * tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
10 * tuiData.h (addToSourceWindows): Declare.
11
12 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13
14 * tui.c (tui_change_windows): New function.
15 (tui_delete_other_windows): New function.
16 (tui_initialize_readline): Bind them to C-X 1 and C-X 2.
17 (tui_enable): Enable the keypad; call tui_update_variables.
18 (strcat_to_buf_with_fmt): Remove.
19
20 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21
22 * tui.h: Remove old declarations, add the new ones.
23 * tui.c (tui_switch_mode): New function.
24 (tui_initialize_readline): New function.
25 (tui_enable): New function.
26 (tui_disable): New function.
27 (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
28 (tui_vSelectSourceSymtab): Remove.
29 (tuiInitWindows): Remove.
30 (_initialize_tui): Remove.
31 (_tuiReset): Keep but put arround #if 0.
32
33 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
34
35 * tuiIO.h: Remove old declarations and add the new ones.
36 * tuiIO.c: New management for curses and gdb terminal interactions.
37 (tui_tputs): Remove.
38 (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
39 (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
40 (tui_owns_terminal): Remove.
41 (tui_redisplay_readline): New function.
42 (tui_puts): New function.
43 (tui_prep_terminal): New function.
44 (tui_deprep_terminal): New function.
45 (tui_getc): Rename of tuiGetc, simplify and fix.
46 (tui_setup_io): New function.
47 (tui_initialize_io): New function.
48
49 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
50
51 * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
52 (_tuiRegisterFormat): Reduce size of format result.
53
54 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
55
56 * tuiGeneralWin.c (boxWin): Use the tui configuration variables.
57 * tuiWin.h: Declare the new variables.
58 * tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
59 (tui_update_variables): New function.
60 (translate): New function.
61 (tui_border_kind_enums, tui_border_mode_enums): New tables.
62 (tui_border_mode_translate): New table.
63 (tui_border_kind_translate_*): New tables.
64 (tui_active_border_mode): New variables.
65 (tui_border_*): New variables.
66
67 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
68
69 * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
70 (_makeVisibleWithNewHeight): Use TuiLineOrAddress type.
71
72 * tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
73 (tui_vUpdateLocatorFilename): Remove.
74 * tuiStack.h: Update prototypes.
75
76 * tuiSourceWin.c (tuiAddrIsDisplayed): New function.
77 (tuiLineIsDisplayed): Split for address and line.
78 (tuiUpdateSourceWindow): Use TuiLineOrAddress type.
79 (tuiUpdateSourceWindowAsIs): Likewise.
80 (tuiUpdateSourceWindowsWithAddr): Likewise.
81 (tuiUpdateSourceWindowsWithLine): Likewise.
82 (tuiHorizontalSourceScroll): Likewise.
83 (tuiSetIsExecPointAt): Likewise.
84 (tuiUpdateOnEnd): Likewise.
85 * tuiSourceWin.h: Update prototypes.
86
87 * tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
88 (tuiShowSource): Likewise.
89 (tuiVerticalSourceScroll): Likewise.
90 * tuiSource.h (tuiShowSource): Update prototype.
91
92 * tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
93 (tuiShowDisassem): Use TuiLineOrAddress type.
94 (tuiShowDisassemAndUpdateSource): Likewise.
95 (tuiVerticalDisassemScroll): Likewise.
96 (tuiShowDisassemAsIs): Remove.
97 * tuiDisassem.h (tuiSetDisassemContent): Update prototype.
98
99 * tuiData.c (initWinInfo): Use CORE_ADDR for address.
100 (clearWinDetail): Likewise.
101 (displayableWinContentOf): Fix address conversion.
102 (tuiNextWin): Fix crash when the window is not yet created.
103 (partialWinByName): Likewise.
104
105 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
106
107 * tuiSourceWin.h: Remove unused declarations.
108 * tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove.
109 (tui_vUpdateSourceWindowsWithLine): Remove.
110 (tui_vAllSetHasBreakAt): Remove.
111
112 * tuiLayout.h (tui_set_layout): Declare.
113 (tui_vSetLayoutTo): Remove.
114 (tui_vAddWinToLayout): Remove.
115 * tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI.
116 (_tuiToggleLayout_command): Remove.
117 (_tuiToggleSplitLayout_command): Remove.
118 (_tuiLayout_command): Remove.
119 (tui_vSetLayoutTo): Remove.
120 (tui_vAddWinToLayout): Remove.
121
122 * tuiDataWin.h (tui_vCheckDataValues): Remove.
123 * tuiDataWin.c (tui_vCheckDataValues): Remove.
124
125 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
126
127 * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
128 (_parseScrollingArgs): Use xstrdup.
129 (_tuiScrollForward_command): Call tui_enable() to force TUI mode.
130 (_tuiScrollBackward_command): Likewise.
131 (_tuiScrollLeft_command): Likewise.
132 (_tuiScrollRight_command): Likewise.
133 (_tuiSetFocus): Likewise.
134 (_tuiSetFocus_command): Likewise.
135 (_tuiRefreshAll_command): Likewise.
136 (_tuiSetTabWidth_command): Likewise.
137 (_tuiSetWinHeight): Likewise.
138 (_tuiSetWinHeight_command): Likewise.
139 (_tuiXDBsetWinHeight): Likewise.
140 (_tui_vSetFocus): Remove.
141 (_tui_vSetWinHeight): Remove.
142 (_tui_vXDBsetWinHeight): Remove.
143
144 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
145
146 * tuiCommand.h: Remove unused declarations.
147 * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
148 (tuiIncrCommandCharCountBy): Remove.
149 (tuiDecrCommandCharCountBy): Remove.
150 (tuiSetCommandCharCountTo): Remove.
151 (tuiClearCommandCharCount): Remove.
152
153 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
154
155 * tuiWin.c (_initialize_tuiWin): Always define the tui commands;
156 create the tui class help.
157 * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
158 * tuiRegs.c (_initialize_tuiRegs): Likewise.
159 * tuiStack.c (_initialize_tuiStack): Likewise.
160
161 2001-07-19 Stephane Carrez <Stephane.Carrez@worldnet.fr>
162
163 * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
164 (tuiVerticalDisassemScroll): Likewise.
165 (tuiShowDisassemAndUpdateSource): Check for null symtab to
166 prevent a crash.
167
168 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
169
170 * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
171 (tuiRead, tui_vread): Remove.
172
173 * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
174 (vcatch_errors, _tui_vDo): Remove.
175 * tui.h (tuiDo, tuiDoAndReturnToTop): Remove.
176
177 * tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
178 (tui_set_layout): Rename of _tuiSetLayoutTo, public.
179 (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
180 (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
181 (_tuiLayout_command): Call tui_set_layout.
182
183 * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
184 (_tuiScrollRegsForward_command): Likewise.
185 (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
186 (_tuiShowGeneral_command): Likewise.
187 (_tuiShowSpecial_command): Likewise.
188 (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
189 * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
190 (_tuiScrollForward_command): Call tui_scroll.
191 (_tuiScrollBackward_command): Likewise.
192 (_tuiScrollLeft_command): Likewise.
193 (_tuiScrollRight_command): Likewise.
194 (_tuiSetFocus_command): Call _tuiSetFocus.
195 (_tuiRefreshAll_command): Call tuiRefreshAll.
196 (_tuiSetWinHeight_command): Call _tuiSetWinHeight.
197 (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
198 * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
199
200 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
201
202 * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
203 (TuiLineOrAddress): Likewise.
204 * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
205 an address.
206 (tuiSetDisassemContent): Likewise.
207 (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
208 * tuiLayout.c (_extractDisplayStartAddr): Likewise.
209 (tuiSetLayout): Likewise.
210 * tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
211 (tuiUpdateSourceWindowsWithAddr): Likewise.
212 (tuiUpdateSourceWindowsWithLine): Likewise.
213 (tuiSetHasBreakAt): Likewise.
214 * tuiStack.c (tuiSetLocatorInfo): Likewise.
215 (tuiSwitchFilename): Likewise.
216 (tuiUpdateLocatorInfoFromFrame): Likewise.
217 (tuiSetLocatorContent): Likewise.
218 (tuiShowFrameInfo): Likewise.
219 * tuiDisassem.h: Update prototypes to use CORE_ADDR.
220 * tuiSourceWin.h: Likewise.
221 * tuiStack.h: Likewise.
222
223 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
224
225 * tuiWin.c: Add missing includes.
226 (_makeVisibleWithNewHeight): Fix call to find_line_pc.
227 * tuiLayout.c: Add missing includes.
228 (_initAndMakeWin): Don't put curses in echo mode.
229 (_extractDisplayStartAddr): Fix calls to find_line_pc.
230 (_tuiLayout_command): Missing ',' in warning call.
231 * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
232 find_line_pc.
233 (tuiSetHasBreakAt): Check for null source file.
234
235 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
236
237 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
238 * tuiLayout.c (_tuiSetLayoutTo): Likewise.
239 * tui.c (_tui_vToggle_command): Likewise.
240
241 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
242
243 * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
244
245 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
246
247 * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
248 each register window.
249 (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
250 of the register to check.
251 (_tuiRegValueHasChanged): Likewise.
252 (_tuiRegisterName): Use REGISTER_NAME.
253 (tui_restore_gdbout): New function.
254 (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
255 to a string.
256 (START_SPECIAL_REGS): Define.
257 (_tuiGetRegisterRawValue): Use get_saved_register.
258 (_tuiDisplayRegister): Fix clearing of register window.
259
260 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
261
262 * tui-file.h (fputs_unfiltered_hook): Remove.
263 * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
264 (tui_file_fputs): Likewise; simplify
265
266 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
267
268 * tuiStack.c: Add missing includes.
269 (tuiShowFrameInfo): Don't crash when there is no symbol table
270 associated with the pc.
271 * tuiSource.c (_hasBreak): Check for null source file.
272 * tuiWin.c (tuiRefreshAll): Check for null winList[type].
273 (_tuiSetFocus): Check for null dataWin.
274 * tuiGeneralWin.c (refreshAll): Check for null list[type].
275
276 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
277
278 * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
279 to disassemble in the curses window.
280
281 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
282
283 * tui.h: Cleanup to avoid inclusion of curses includes.
284 (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
285 * tuiData.h: To here; include curses includes here.
286 (setTermHeightTo): Rename of setTermHeight to follow reality.
287 (setTermWidthTo): Likewise with setTermWidth.
288
289 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
290
291 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
292 tuiIO.c, tuiData.c: Likewise.
293 tuiDataWin.c, tuiDisassem.c: Likewise.
294 tuiGeneralWin.c, tuiLayout.c: Likewise.
295 tuiRegs.c, tuiSource.c: Likewise.
296 tuiSouceWin.c, tuiStack.c: Likewise.
297
298 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
299
300 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
301 tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
302 tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
303 tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
304 tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
305 tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
306
307 2001-03-08 Andrew Cagney <ac131313@redhat.com>
308
309 * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS.
310
311 2001-03-06 Kevin Buettner <kevinb@redhat.com>
312
313 * tui-file.h: Update/correct copyright notice.
314
315 Wed Feb 7 19:54:27 2001 Andrew Cagney <cagney@redhat.com>
316
317 * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to
318 internal_error.
319
320 2000-12-14 Kevin Buettner <kevinb@redhat.com>
321
322 * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences
323 of free() with xfree().
324
325 2000-06-22 Kevin Buettner <kevinb@redhat.com>
326
327 * tuiSourceWin.h: Eliminate use of PARAMS from this file.
328
329 2000-06-20 Kevin Buettner <kevinb@redhat.com>
330
331 * tuiLayout.c: Eliminate use of PARAMS from this file.
332
333 2000-06-17 Kevin Buettner <kevinb@redhat.com>
334
335 * tuiIO.c: Eliminate use of PARAMS from this file.
336
337 Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
338
339 * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
340 "tuiCommand.h".
341 (tui_file_fputs): Pass ``file'' and not ``stream'' to
342 tui_file_adjust_strbuf.
343
344 Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
345
346 * tui.h: Include <ncurses.h> when available.
347 * tui.c, tuiGeneralWin.c: Do not include <curses.h>.
348
349 Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
350
351 * Makefile.in: Delete.
352
353 Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
354
355 * Makefile.in (distclean, maintainer-clean, realclean,
356 mostlyclean): New targets.
357
358 Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
359
360 * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h,
361 tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to
362 ui-file / ``struct ui_file''.
363
364 Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
365
366 * tui-file.c (enum streamtype, struct tui_stream, tui_file_new,
367 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
368 tui_file_rewind, tui_file_put, tui_file_fputs,
369 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
370 fputs_unfiltered_hook): Move to here from ../utils.c
371
372 * tui-file.h, tui-file.c: New files.
373
374 Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
375
376 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
377 (tuiSetDisassemContent): Replace gdb_file_init_astring with
378 tui_sfileopen. Replace gdb_file_get_strbuf with
379 tui_file_get_strbuf.
380
381 Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
382
383 * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
384 (tuiSetDisassemContent): Repace gdb_file_deallocate with
385 gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen.
386
387 Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
388
389 * tuiSource.c: Include "source.h".
390 (open_source_file, find_source_lines): Delete declarations.
391
392 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
393
394 * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
395 system.
396
397 Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com>
398
399 The following changes were made by Jim Blandy <jimb@cygnus.com>,
400 Edith Epstein <eepstein@cygnus.com>, Elena Zannoni
401 <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David
402 Taylor <taylor@cygnus.com>, as part of the project to merge in
403 changes originally made by HP; HP did not create ChangeLog
404 entries.
405
406 * Makefile.in: New file; we're merging HP's changes into GDB, and
407 we've moved the TUI files into a subdirectory, so we need a new
408 Makefile.
409
410 * tui.c:
411 #include <term.h>, if we have it, to get declarations for
412 the termcap functions on Solaris.
413 (tgoto): Add external K&R declaration for this; Solaris doesn't
414 bother to actually declare it in their header files.
415 (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined;
416 we'd rather use the USG mechanisms than the Berkeley mechanisms
417 (TIOCGETC is one of the Berkeley terminal control ioctls).
418 Apologies if this causes trouble later; this should all be handled
419 by autoconf...
420 (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here
421 from ../utils.h.
422 (tuiFree): replace safe_free with free.
423 (strcat_to_buf): new function, copied from utils.c.
424 (tuiInit): Add ignored `argv0' argument, to match the type that
425 init_ui_hook expects; updated declaration. Call the
426 initialize_tui_files function constructed above. Initialize
427 flush_hook to NULL.
428 (tuiInitWindows): Call tuiSetLocatorContent, to get the first
429 element of the locator window's content allocated. This seems
430 wrong, because it must have been initialized somehow in HP's
431 sources, and we should do it the same way now. But we do get
432 further before it segfaults. [Postscript: HP didn't bother to
433 initialize it; they compile
434 (va_catch_errors, vcatch_errors): Functions moved here from
435 ../utils.c in HP's sources. They're not used anywhere else.
436 (xdb_style): Delete this variable, and remove all references to
437 it. It's always true.
438 (tuiInit, _tui_vDo): References removed.
439
440 * tui.h: Add prototypes.
441 Don't #include "gendefs.h"; it's only used in the TUI.
442 Integrate its contents into this file:
443 #include <ansidecl.h> here.
444 (Opaque, OpaqueFuncPtr): Typedefs moved to here.
445
446 * tuiCommand.c: #include "defs.h", so we get the appropriate
447 definition of GDB_FILE.
448
449 * tuiData.c
450 (freeWindow): replace safe_free with free.
451 (tui_version): don't define it here; it's defined in main.c now.
452
453 * tuiDisassem.c
454 (tuiSetDisassemContent): Call strcat_address_numeric instead of
455 strcat_address. Simplify the control structure. Use predefined
456 GDB function to print asm inst address. Use GDB_FILE to collect
457 output into buffers.
458
459 * tuiIO.c
460 (tgoto): Add external K&R declaration for this here too.
461 (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same.
462 (tuiPuts_unfiltered): change FILE to GDB_FILE.
463 (tui_tputs): fix prototype for 3rd argument.
464
465 * tuiIO.h (tuiPuts_unfiltered): change declaration.
466
467 * tuiLayout.c
468 (_tuiSetLayoutTo): for displaying registers, hook up the HP code
469 that decides which registers to display (i.e. single precision
470 float, double precision float, general, special). Previously,
471 only handled TUI_GENERAL_REGS. Now that the code is hooked up,
472 compiling with -z poses a problem. When the first layout command
473 is 'layout regs', dataWin->detail is a NULL pointer, and gdb
474 core dumps.
475
476 * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free.
477
478 * tuiRegs.c #include "defs.h" earlier, to avoid problems in
479 <stdarg.h>. No idea exactly what's conflicting with what, but the
480 errors went away...
481 (_tuiRegisterFormat): Change so that function creates a GDB_FILE
482 object, calls pa_do_strcat_registers_info, copies the register
483 info into a buffer, and deallocates the GDB_FILE object. Remove
484 some code that is not executed. Also, call to
485 pa_do_strcat_registers_info has an additional parameter,
486 precision. This code requires some new per-target functions that
487 we don't want to merge. Dyke it out, with #ifdef
488 TUI_EXTENDED_FORMATTERS.
489 (_tuiSetSpecialRegsContent): this function was ifdefed out.
490 Hooked this up.
491 (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed
492 out. Hooked it up.
493 (IS_64BIT): Just define this to be zero; we're not merging in the
494 64-bit support.
495 (tuiShowRegisters): Comment out all references to the "special"
496 regs; we don't have a distinction between the "special" and
497 "non-special" regs in most of our machine descriptions. This code
498 is PA-specific in other ways as well, and needs to be redesigned
499 to be portable to other processors.
500
501 * tuiWin.c: #include <string.h>, to get a declaration for
502 strchr.
503
504 * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c,
505 tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c,
506 tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed
507 bool to int throughout. Re-indented, GNU style.
508
509 * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h,
510 tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h,
511 tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP).
512 Changed bool to int throughout.
This page took 0.039449 seconds and 5 git commands to generate.