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