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