Commit | Line | Data |
---|---|---|
7e97eb28 SG |
1 | Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com) |
2 | ||
8c3d2a53 SG |
3 | * inflow.c: remove #include <sys/dir.h>. Not necessary, and |
4 | doesn't exist on some systems. | |
5 | ||
5e746644 SG |
6 | * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when |
7 | nexting over recursive function calls. | |
8 | ||
d261ece7 SG |
9 | * target.c (target_read_string): Create this routine to read null |
10 | terminated strings from the target. It deals with running off the | |
11 | end of memory elegantly as well. solib.c (find_solib): Use | |
12 | target_read_string() to avoid problems with running off the end of | |
13 | memory. | |
14 | ||
7e97eb28 SG |
15 | * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines |
16 | that reference pgrp_inferior. | |
17 | ||
0cf9329b PB |
18 | Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com) |
19 | ||
20 | * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that | |
21 | mips-tfile has been hacked to act more "traditionally." | |
22 | * dbxread.c: Fixed typo in comment. | |
23 | ||
488d2691 PB |
24 | Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com) |
25 | ||
26 | * mips-tdep.c (mips_skip_prologue): Add some number of | |
27 | 'sw' instructions before 'addiu' adjusts the stack. | |
28 | ||
4d315a07 FF |
29 | Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com) |
30 | ||
31 | * dwarfread.c (start_symtab, end_symtab, scopecount, openscope, | |
32 | freescope, buildblock closescope, record_line, add_symbol_to_list, | |
33 | gatherblocks, make_blockvector): Extensive changes to switch | |
34 | to generic symbol table building code in buildsym.c. Remove | |
35 | scope tree structures and functions, symbol table building | |
36 | functions, and lots of other small changes. | |
37 | ||
38 | * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove | |
39 | GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL. | |
40 | ||
41 | Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com) | |
42 | ||
43 | * buildsym.c (cleanup_undefined_types): Add support for enums. | |
44 | This fixes the 'GDB internal error. cleanup_undefined_types with | |
45 | bad type' problem. | |
46 | ||
47 | Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com) | |
48 | ||
49 | * dbxread.c: detect gcc2 compilations. | |
50 | ||
1a4d253c JG |
51 | Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com) |
52 | ||
53 | * sparc-pinsn.c: Rename bitfields that overlap with macro names | |
54 | in ../include/opcode/sparc.h. | |
55 | ||
1d4c28c5 FF |
56 | Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com) |
57 | ||
58 | * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h | |
59 | to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2 | |
60 | to reflect actual locations of opcode files, so TAGS target will | |
61 | be buildable. | |
62 | ||
63 | * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'. | |
64 | ||
65 | * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k | |
66 | code. | |
67 | ||
68 | * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array | |
69 | dereferencing to access the correct elements. | |
70 | ||
71 | * valops.c (value_addr): Declare return type of external func | |
72 | value_copy(). | |
73 | ||
74 | * xcoffread.c: Undefine next_symbol_text before redefining it. | |
75 | ||
8e9a3f3b PB |
76 | Mon Dec 30 10:57:02 1991 Per Bothner (bothner at cygnus.com) |
77 | ||
78 | Mainly stuff to improve handling of TYPE_CODE_REF values. | |
79 | * valops.c (value_addr): If taking the addres of a | |
80 | TYPE_CODE_REF, just cast the object to the corresponding | |
81 | TYPE_CODE_PTR. This yields correct C++ semantics, and | |
82 | preserves the location information, which has the nice effect | |
83 | that &(&R) given the location containing R. | |
84 | * values.c (value_copy): Make non-static (used by value_addr). | |
85 | * eval.c (evaluate_subexp_for_address): Use the default | |
86 | scheme (with value_addr) for a variable if it has TYPE_CODE_REF. | |
87 | * valops.c (value_addr), eval.c (evaluate_subexp_for_address, | |
88 | evaluate_subexp_with_coercion): Factor out some common | |
89 | expressions into variables, for easier reading. | |
90 | * findvar.c (locate_var_value): Remove code to handle | |
91 | TYPE_CODE_REF - it should no longer be needed. | |
92 | * valops.c (value_assign): Do a COERCE_REF on the | |
93 | destination operand, for correct C++ semantics. | |
94 | * valarith.c (value_x_binop): Ditto: De-reference C++ | |
95 | references in the arguments. | |
96 | * valops.c: ANSI-fy: bcopy->memcpy, bzero->memset. | |
97 | ||
a3723a43 PB |
98 | Sat Dec 28 11:30:26 1991 Per Bothner (bothner at cygnus.com) |
99 | ||
100 | * dwarfread.c, coffread.c: Use INIT_CPLUS_SPECIFIC. | |
101 | * symtab.c (gdb_mangle_name): Recognize and handle | |
102 | constructors specially. | |
103 | * symtab.c (check_stub_method): Test for failure from | |
104 | cplus-demangle by calling error() instead of seg-faulting ... | |
105 | ||
a39ad5ce FF |
106 | Fri Dec 27 22:21:30 1991 Fred Fish (fnf at cygnus.com) |
107 | ||
108 | * defs.h: Add definition of null_cleanup() | |
109 | ||
110 | * procfs.c: Many small changes to add base support for a new | |
111 | "info proc" command (currently only printing of the address | |
112 | space mapping is implemented) and allow iteration over the | |
113 | address space mapping, calling an arbitrary function for each | |
114 | mapping (used for shared library support). | |
115 | ||
116 | * solib.c: Change all ifdefs that checked for "sun" to check | |
117 | for "!SVR4_SHARED_LIBS" instead. Rewrite lookup_base() to | |
118 | handle locating the debug base address even when not currently | |
119 | stopped at the dynamic linker entry point. | |
120 | ||
121 | * utils.c: Add null_cleanup() as a known function that does | |
122 | nothing to serve as a base for possibly long cleanup chains | |
123 | with no specific "first cleanup" to serve as an anchor. | |
124 | ||
125 | * xm-sysv4.h: Add define of SVR4_SHARED_LIBS | |
126 | ||
aab77d5f PB |
127 | Fri Dec 27 10:11:33 1991 Per Bothner (bothner at cygnus.com) |
128 | ||
129 | * arm-opcode.h, m88k-opcode.h, pn-opcode.h, np1-opcode.h, | |
130 | pyr-opcode.h, tahoe-opcode, vax-opcode.h: Removed - | |
131 | these are all essentially the same as the versions | |
132 | in ../include/opcode. The remaining *-opcode.h here | |
133 | are not quite so obviously the same, and need study. | |
134 | * arm-pinsn.c, gould-pinsn.c, m88k-pinsn.c, pyr-pinsn.c, | |
135 | tahoe-pinsn.c, vax-pinsn.c: Change so these include | |
136 | opcode/FOO.h (actually ../include/opcode/FOO.h) | |
137 | instead of the recenntly departed opcode-FOO.h files. | |
138 | * sparc-pinsn.c: Now that we're using the much tighter | |
139 | opcode table in ../include/opcode/sparc.h, we shouldn't | |
140 | need to sort the opcodes before dis-assembly. | |
141 | ||
142 | * symtab.h, symmisc.c: Make cplus_struct_default be const. | |
143 | * symtab.h, buildsym.c: Add and use INIT_CPLUS_SPECIFIC macro. | |
144 | * symmisc.c: Remove unused 'nfields' variable. | |
145 | * buildsym.h: Add extern decl of unknown_symtype_complaint, | |
146 | since it used used by partial-stab.h (included two places). | |
147 | * partial-stab.h: Re-arrange DBXREAD_ONLY #ifdefs so that | |
148 | we should never hit the default case (until new stab codes | |
149 | are added). Hence, we can leave the complaint in the | |
150 | default case in even when DBXREAD_ONLY is off. | |
151 | * partial_stab.h: Recognize a pair of N_SO stabs (one for the | |
152 | directory, one for the filename proper) without peeking ahead. | |
153 | * dbxread.c, mipsread.c: Because of previous change, don't need | |
154 | ugly CHECK_SECOND_N_SO macro. | |
155 | * buildsym.h, dbxread.c, mipsread.c: Make next_symbol_text a | |
156 | macro that invokes a function pointer in next_symbol_text_func. | |
157 | * mipsread.c: Added comments various places to | |
158 | explain what is going on. | |
159 | * mipsread.c (parse_symbol): Support the new (SGI-specific?) | |
160 | symbol types stStruct, stUnion, and stEnum. | |
161 | Also, some fixes in the code for dealing with tags. | |
162 | * mipsread.c: Change handling of startup_file_start and _end | |
163 | - now just use the textlow and texhigh of a psymtab | |
164 | to check if we've found the startup-file. | |
165 | * mipsread.c: Replace s_idx by global cur_sdx in many places. | |
166 | This is so mips_next_symbol_text can get at it. | |
167 | ||
b440b1e9 FF |
168 | Thu Dec 26 19:52:01 1991 Fred Fish (fnf at cygnus.com) |
169 | ||
170 | * dbxread.c, symmisc.c: Move add_psymbol_to_plist() from | |
171 | dbxread.c to symmisc and change name to add_psymbol_to_list. | |
172 | Ditto for add_psymbol_addr_to_plist(). Also expand their | |
173 | body to not use ADD_PSYMBOL_VT_TO_LIST. | |
174 | ||
175 | * dwarfread.c: Remove add_psymbol_to_list() and convert usages | |
176 | to the ADD_PSYMBOL_TO_LIST macro. | |
177 | ||
178 | * ieee-float.c: Change "#ifdef DEBUG" to "#ifdef IEEE_DEBUG" | |
179 | to avoid collision with the DEBUG for ADD_PSYMBOL_VT_TO_LIST. | |
180 | ||
181 | * partial-stab.h, symfile.h: Move definitions of the macros | |
182 | ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST from | |
183 | partial-stab.h to symfile.h. They aren't stab specific. | |
184 | Change ADD_PSYMBOL_VT_TO_LIST to use memcpy rather than strncpy. | |
185 | ||
e39636f7 JG |
186 | Tue Dec 24 11:38:08 1991 John Gilmore (gnu at cygnus.com) |
187 | ||
188 | * Makefile.in: Roll VERSION to 4.3.2. | |
189 | ||
7e258d18 PB |
190 | Mon Dec 23 13:54:35 1991 Per Bothner (bothner at cygnus.com) |
191 | ||
192 | * m68k-opcode.h, mips-opcode.h, sparc-opcode.h: Deleted. | |
193 | * m68k-pinsn.c, mips-pinsn.c, sparc-pinsn.c: | |
194 | Include <opcode/FOO.h> instead of <FOO-opcode.h>. | |
195 | ||
196 | * symtab.h, symtab.c, coffread.c, dwarfread.c, symmisc.c, | |
197 | dbxread.c: The TYPE_CPLUS_SPECIFIC structure is now only | |
198 | allocated when it is needed. Until it is needed, it points | |
199 | to a shared statically allocated structure. | |
200 | ||
201 | * buildsym.h, buildsym.c, dbxread.c: Remove the kludgy code | |
202 | in read_ofile_symtab to recognize two initial N_SO stabs, | |
203 | and let process_on_symbol handle it. This is cleaner, more | |
204 | efficient, and lets mipsread.c share the same code. | |
205 | ||
206 | * symfile.h, partial-stab.h: Move ADD_PSYMBOL_VT_TO_LIST | |
207 | and related macros to here ... | |
208 | * dbxread.c: ... from here. | |
209 | * symmisc.c: Move the "overflow" handling from | |
210 | ADD_PSYMBOL_VT_TO_LIST macro into new function extend_psymbol_list. | |
211 | * dwarfread.c: Re-write add_psymbol_to_list to use | |
212 | ADD_PSYMBOL_VT_TO_LIST macro. | |
213 | ||
214 | * mipsread.c: Extend mipsread.c to handle stabs-style symbols | |
215 | encapsulated in ecoff symbols. This enable full g++ debugging. | |
216 | * partial-stab.h: Move the code for pre-scanning symbols | |
217 | and building psymtabs to an include file, out from dbxread.c. | |
218 | This way, the same code can also be used by mipsread.c. | |
219 | * dbxread.c, buildsym.h: Various changes to allow some functions | |
220 | to be used by mipsread.c (also some arguable stylistic changes). | |
221 | ||
222 | * tm-mips.h: Define BLOCK_ADDRESS_ABSOLUTE, at least for now, | |
223 | since mips-tfile puts relocatable addresses into LBRAC/RBRAC | |
224 | stabs. | |
225 | ||
226 | * mipsread.c: Replace code to handle ambiguous tag blocks. | |
227 | Instead of allocating a TYPE_CODE_UNDEF, guess (by looking | |
228 | at types and offsets) if a tag is a struct, union, or enum. | |
229 | Still patch it later if we find out for sure. | |
230 | * mipsread.c: In various ways, replace Forin's | |
231 | ideo-syncratic code by code that fits better with the | |
232 | rest of gdb, for both stabs-based and ecoff-based symtabs. | |
233 | E.g. use end_psymtab; don't do extra passes over FDR table to | |
234 | pre-partition global data; don't use external symbols to | |
235 | create static/global symbols (just put them in the | |
236 | misc_vector); use ADD_PSYMBOL_TO_LIST macro; don't | |
237 | sort psymtabs or symtabs; use obstacks more. | |
238 | ||
239 | * symtab.c, mipsread.c, dbxread.c, buildsym.c: | |
240 | ANSIfy: Replace bcopy by memcpy, bzero by memset. | |
241 | ||
431df2eb FF |
242 | Sun Dec 22 19:31:04 1991 Fred Fish (fnf at cygnus.com) |
243 | ||
244 | * solib.c (locate_base): Fix uninitialized variable that was | |
245 | causing return of random value to callee. | |
246 | ||
247 | * config/mh-amix, config/mh-i386v4: Change to find alloca by | |
248 | compiling and linking alloca.c, even when it is not strictly | |
249 | required. Also arrange to link with -ltermlib rather than | |
250 | -ltermcap. | |
251 | ||
252 | * Makefile.in: Move TERMCAP definition to prior to inclusion | |
253 | of host makefile fragments so it can be overridden. | |
254 | ||
6b5b330b JG |
255 | Fri Dec 20 16:33:39 1991 John Gilmore (gnu at cygnus.com) |
256 | ||
257 | * xcoffread.c (read_symbol_lineno): Logic error in incrementing | |
258 | symbol table entry number. (From Metin Ozisik.) | |
259 | ||
ee1ad69c FF |
260 | Fri Dec 20 11:36:38 1991 Fred Fish (fnf at cygnus.com) |
261 | ||
70b74b93 FF |
262 | * config/mh-i386v4: Change XM_CLIBS to "-lc /usr/ucblib/libucb.a" |
263 | so compiles with native compilers (without builtin alloca) can | |
264 | pick up the version from the bsd emulation library. However, we | |
265 | search the standard C library first so we don't pick up lots of | |
266 | other broken stuff from libucb.a, that we *don't* want. | |
267 | ||
ee1ad69c FF |
268 | * configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h: |
269 | Change svr4 references to sysv4. | |
270 | ||
271 | * source.c: Move declaration of external function index to | |
272 | front of file so it is in scope for all references. | |
273 | ||
274 | * utils.c (error, fatal): Make definitions consistent with | |
275 | defs.h declarations (declared as "volatile void"). | |
276 | ||
859eb781 JG |
277 | Fri Dec 20 10:55:36 1991 John Gilmore (gnu at cygnus.com) |
278 | ||
279 | * rs6k-opcode.h: Bugfix sfe and stbrx. By Al Kossow. | |
280 | ||
0a5d35ed SG |
281 | Wed Dec 18 17:09:06 1991 Stu Grossman (grossman at cygnus.com) |
282 | ||
283 | * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c, | |
284 | sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h, | |
285 | vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h: ANSIfy enums. | |
286 | ||
f8b76e70 FF |
287 | Mon Dec 16 12:31:46 1991 Fred Fish (fnf at cygnus.com) |
288 | ||
c7e53c85 FF |
289 | * config/mt-amix, config/mt-i386v4: Add solib.o to TDEPFILES |
290 | for these SVR4 systems. | |
291 | ||
6fa6e496 FF |
292 | * symfile.c (symbol_file_add): When verbose is set, print |
293 | the names of files from which symbols are being loaded, as | |
294 | when from_tty is true. | |
295 | ||
f8b76e70 FF |
296 | * solib.c: Completely reorganized (rewritten) to support |
297 | SVR4 shared libraries in a manner very close to the original | |
298 | SunOS implementation. This support is expected to change and | |
299 | become more general at some future time. The SVR4 version | |
300 | does not yet work for attached processes, for example. | |
301 | ||
302 | * dwarfread.c: Arrange in dwarf_build_psymtabs() for the | |
303 | relocation address to be valid whether or not symbols are | |
304 | being read from a shared library or an executable. Use the | |
305 | relocation address recorded in the psymtab when reading | |
306 | full symbol tables (in read_ofile_symtab). Ensure that the | |
307 | relocated address ranges are recorded in partial symtabs. | |
308 | ||
309 | * elfread.c: Add new function elf_interpreter() to return the | |
310 | string from the ELF ".interp" section. This is the interpreter | |
311 | that the kernel tries to run and feed the executable to. | |
312 | Expand arguments to record_misc_function to include a type arg. | |
313 | Modify elf_symtab_read() to supply the type arg, and to do symbol | |
314 | relocations for symbols read in from shared libraries. | |
315 | ||
316 | * procfs.c: Add new functions proc_base_address() and | |
317 | proc_address_to_fd(), used by shared library support. | |
318 | ||
319 | * tm-svr4.h: Add macros to support SVR4 shared libraries. | |
320 | Definitions for SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK, | |
321 | CLEAR_SOLIB, and DISABLE_UNSETTABLE_BREAK. | |
322 | ||
323 | Fri Dec 13 20:11:26 1991 John Gilmore (gnu at cygnus.com) | |
324 | ||
325 | * infrun.c, remote-eb.c, remote-nindy.c, remote-vx.c: Remove | |
326 | unused START_INFERIOR_HOOK. | |
327 | ||
328 | * remote-eb.c: Change timeout to 24 seconds (*10 fits in byte) | |
329 | to account for slow loading from floppies. | |
330 | (eb_create_inferior): New fn, from eb_start and | |
331 | nindy_create_inferior. | |
332 | (eb_close): Only use log_file if nonzero. | |
859eb781 | 333 | (eb_xfer_inferior_memory): If not writing, then read! |
f8b76e70 FF |
334 | (eb_read_inferior_memory, eb_write_inferior_memory): Return length. |
335 | (eb_kill): A new no-op. | |
336 | (eb_mourn_inferior): Remove breakpoints, then generically weep. | |
337 | ||
619fd145 FF |
338 | Fri Dec 13 16:09:23 1991 Fred Fish (fnf at cygnus.com) |
339 | ||
340 | * breakpoint.c, findvar.c, infrun.c, putenv.c, stack.c: Fix | |
341 | miscellaneous comparisons of integer with NULL that elicit | |
342 | compiler warnings about comparison of integer with pointer, when | |
343 | NULL is ((void *) 0) rather than just a bare 0. | |
344 | ||
f8b76e70 FF |
345 | Wed Dec 11 13:02:58 1991 John Gilmore (gnu at cygnus.com) |
346 | ||
347 | * breakpoint.c (breakpoint_re_set_one): Disable each breakpoint | |
348 | while we reset it, in case of problems. Print breakpoint number | |
349 | in error messages. | |
350 | ||
351 | * buildsym.c (read_struct_type): Avoid sun3 compiler bug with | |
352 | foo[--n]. | |
353 | ||
354 | * source.c (find_source_lines): If getting file mod time fails, | |
355 | don't warn. | |
356 | ||
357 | * target.c (target_xfer_memory): If errno is set, return it, | |
358 | rather than EIO. | |
359 | ||
619fd145 FF |
360 | Tue Dec 10 04:07:22 1991 K. Richard Pixley (rich at rtl.cygnus.com) |
361 | ||
362 | * Makefile.in: infodir belongs in datadir. | |
363 | ||
364 | Sun Dec 8 21:13:33 1991 Michael Tiemann (tiemann at sphagnum.cygnus.com) | |
365 | ||
366 | * symtab.h (struct fn_field): Add new fields `is_private', | |
367 | `is_protected', `is_stub', making room by reducing the size of | |
368 | `voffset'. | |
369 | (struct fn_fieldlist): Delete the fields `private_fn_field_bits' | |
370 | and `protected_fn_field_bits'. | |
371 | (TYPE_FN_{PRIVATE,PROTECTED}_BITS): Deleted. | |
372 | (SET_TYPE_FN_{PRIVATE,PROTECTED}): Deleted. | |
373 | (TYPE_FN_{PRIVATE,PROTECTED}): Deleted. | |
374 | (TYPE_FN_FIELD_{STUB,PRIVATE,PROTECTED}): New macros. | |
375 | * valops.c, valprint.c, symtab.c: All callers updated. | |
376 | ||
377 | * buildsym.c (read_struct_type): Delete the `visibility' field | |
378 | from `struct next_fnfield', and rework code so that visibility | |
379 | info is stored into the fn_field directly. Also, hacked to set | |
380 | TYPE_FN_FIELD_STUB for both static and normal member functions. | |
381 | ||
e59622b4 FF |
382 | Sat Dec 7 18:13:11 1991 Fred Fish (fnf at cygnus.com) |
383 | ||
dda14b63 FF |
384 | * i386-tdep.c: Fix a problem on i386 systems where buffered code |
385 | stream access was failing to take into account the minimum size | |
386 | granularity of the code section. For now, the buffering is simply | |
387 | disabled. There is a similar problem in the i386 disassember code | |
388 | that has not yet been fixed (FIXME). | |
389 | ||
e59622b4 FF |
390 | * gmalloc.c: Use macros to hide some of the ugly casting required |
391 | in the previously applied fix for pointers with high bits set. | |
392 | ||
70fb2c92 JG |
393 | Sat Dec 7 16:49:35 1991 John Gilmore (gnu at cygnus.com) |
394 | ||
395 | * Makefile.in: Roll VERSION to 4.3.1. | |
396 | ||
fbda4193 | 397 | Sat Dec 7 04:12:35 1991 John Gilmore (gnu at cygnus.com) |
bc028766 | 398 | |
fbda4193 | 399 | GDB-4.3 release! |
bc028766 | 400 | |
fbda4193 JG |
401 | * Makefile.in: Roll VERSION to 4.3 |
402 | * README, TODO, WHATS.NEW, depend: Update. | |
403 | ||
404 | * inflow.c (terminal_inferior): Avoid error msg if attached. | |
405 | ||
406 | * gmalloc.c: Fix bug that causes malloc & free to | |
407 | fail on systems where pointers have the high bit set (0x800efcf0 | |
408 | for example). The problem is that the difference between two | |
409 | pointers is a signed integer, so the computation | |
410 | ||
411 | (char *) 0x800efcf0 - (char *) 0 | |
412 | ||
413 | yields a negative value. The sign of the result of the modulus | |
414 | operator is machine dependent for negative operands, thus it is | |
415 | possible for it to end up negative. From Fred Fish. | |
bc028766 | 416 | |
5ea7c728 JG |
417 | Sat Dec 7 00:00:15 1991 K. Richard Pixley (rich at rtl.cygnus.com) |
418 | ||
419 | * Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA. | |
420 | added clean-info. added some standards.text support and made it | |
421 | look like our other Makefiles. | |
422 | ||
423 | * configure.in: mark this directory target dependent. configure | |
424 | now runs entirely in objdir so make existence tests and | |
425 | references against ${srcdir}. | |
426 | ||
5edf98d7 FF |
427 | Fri Dec 6 08:30:36 1991 Fred Fish (fnf at cygnus.com) |
428 | ||
84ce6717 FF |
429 | * dwarfread.c (enum_type, struct_type): Fixes for opaque and |
430 | anonymous enumerations, structures, and unions. Now passes all | |
431 | the current gdb test suite tests. | |
5edf98d7 | 432 | |
5ea7c728 JG |
433 | Thu Dec 5 22:46:13 1991 K. Richard Pixley (rich at rtl.cygnus.com) |
434 | ||
435 | * Makefile.in: idestdir and ddestdir go away. Added copyrights | |
436 | and shift gpl to v2. Added ChangeLog if it didn't exist. docdir | |
437 | and mandir now keyed off datadir by default. | |
438 | ||
7b2a87ca JG |
439 | Thu Dec 5 21:53:21 1991 John Gilmore (gnu at cygnus.com) |
440 | ||
441 | * symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in | |
442 | mid-line, be more careful about possibly advancing to the next line. | |
443 | ||
1cca1729 MT |
444 | Thu Dec 5 18:59:51 1991 Michael Tiemann (tiemann at cygnus.com) |
445 | ||
446 | * cplus-dem.c (cplus_demangle): Call `string_need' when | |
447 | null-terminating a partially-computed string. | |
448 | ||
715cafcb FF |
449 | Thu Dec 5 18:19:43 1991 Fred Fish (fnf at cygnus.com) |
450 | ||
451 | * dwarfread.c (enum_type): Build a correct TYPE_NAME, add a | |
452 | symbol to the symbol table for each member of the enum. | |
453 | ||
454 | * dwarfread.c (struct_type): Build a correct TYPE_NAME. | |
455 | ||
456 | * dwarfread.c (add_enum_psymbol): New function to extract enum | |
457 | member names and add them to the partial symbol table while | |
458 | building partial symbol tables. | |
459 | ||
a0a6174a JG |
460 | Thu Dec 5 17:31:05 1991 John Gilmore (gnu at cygnus.com) |
461 | ||
462 | * symtab.c (check_stub_method): Must allocate two extra argument | |
463 | slots (one for `this', one for arglist terminator). | |
464 | ||
c8d9eb8e FF |
465 | Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com) |
466 | ||
817b8c46 FF |
467 | * inflow.c (child_terminal_info): Supply missing '"' character. |
468 | ||
c8d9eb8e FF |
469 | * buildsym.c (define_symbol): Supply missing parenthesis. |
470 | ||
2a5ec41d JG |
471 | Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com) |
472 | ||
299ee4e6 JG |
473 | * coredep.c (fetch_core_registers): Fencepost error. Fixed by |
474 | Jay Lepreau <lepreau@cs.utah.edu>. | |
475 | ||
2a5ec41d JG |
476 | * inflow.c: Remember whether GDB has a terminal. Avoid switching |
477 | terminals back and forth if we don't have one. | |
478 | ||
479 | * c-exp.y (parse_number): Zero is not an unsigned int constant! | |
480 | * dbxread.c (read_dbx_symtab): Enum type numbers can be in (1,2) form. | |
481 | ||
482 | Improve type parsing. | |
483 | * buildsym.c (define_symbol, read_range_type): Add | |
484 | long_kludge_name that passes the names of range types being | |
485 | defined, down to where we must choose between 'int' and 'long' | |
486 | variants. This fails on Sun C anyway since the compiler itself is | |
487 | confused between int and long. | |
488 | (read_array_type, cleanup_undefined_types): Correct the size of | |
489 | array type whose element-type size isn't immediately known. | |
490 | ||
491 | Early preparation to blow away many builtin types, building them | |
492 | on the fly as needed. Don't compare types to builtin types with | |
493 | ==; examine the relevant fields instead. | |
494 | * coffread.c (process_coff_symbol: C_ARG, C_REGPARM): Avoid ==. | |
495 | * buildsym.c (define_symbol, case 'p'): Avoid ==. | |
496 | * valops.c (value_arg_coerce): Avoid ==. Don't assume host and | |
497 | target types are the same. | |
498 | * valprint.c (val_print): I finally understand arrays, remove FIXME. | |
499 | ||
500 | * symmisc.c (printpsyms_command): Reduce redundancy, and put all | |
501 | addresses in GDB itself into parens for easy cleanup and diffing. | |
502 | ||
98618bf7 FF |
503 | Wed Dec 4 21:05:30 1991 Fred Fish (fnf at cygnus.com) |
504 | ||
505 | * dwarfread (enum_type): Arrange for the order of enumeration | |
506 | members to match the source code order; not the order in the | |
507 | Dwarf information, which is explicitly reverse order. | |
508 | ||
3c7cc3b7 JG |
509 | Wed Dec 4 18:24:39 1991 John Gilmore (gnu at cygnus.com) |
510 | ||
511 | * main.c (input_from_terminal_p): Check whether GDB has a | |
512 | terminal at all. | |
513 | (initialize_main): Revise doc for `set editing'. | |
514 | ||
515 | Wed Dec 4 15:36:39 1991 Fred Fish (fnf at cygnus.com) | |
516 | ||
517 | * dwarfread.c (struct_type): Handle structures and unions which | |
518 | contain DIE's other than just member dies. | |
519 | ||
6470e9c3 JG |
520 | Wed Dec 4 01:59:05 1991 John Gilmore (gnu at cygnus.com) |
521 | ||
522 | * symfile.c (reread_symbols): Avoid kludging mtime_set, now that | |
523 | BFD is fixed. | |
524 | ||
2e00f40a JG |
525 | Tue Dec 3 17:24:57 1991 John Gilmore (gnu at cygnus.com) |
526 | ||
4369a140 JG |
527 | * Makefile.in: VERSION 4.2.96. |
528 | ||
529 | * main.c (initialize_main): Revise command descriptions. | |
530 | * command.c (show_user): `info user' -> `show user'. | |
531 | * symtab.c (_initialize_symtab): Typo in `info types' desc. | |
532 | ||
7a6093e8 | 533 | * coffread.c (coff_symfile_read): Avoid select_source_symtab, |
4369a140 JG |
534 | since it is not needed and can cause errors when examining ".o"s. |
535 | (read_coff_symtab, decode_base_type): Use complain, not printf. | |
536 | Print symbol name, not its number. | |
537 | Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which | |
538 | someday should go in a clipper target config file. | |
7a6093e8 JG |
539 | |
540 | * symfile.c (compact_misc_function_vector): Handle empty vector. | |
4369a140 JG |
541 | (complain, clear_complaints, syms_from_objfile): Fix complaint |
542 | formatting. | |
543 | * xcoffexec.c: Change syms_from_objfile caller. | |
7a6093e8 | 544 | |
2e00f40a JG |
545 | * sparc-xdep.c: Force tm-file as tm-sparc.h, to make it compile |
546 | when configured for cross debugging. FIXME, this needs a more | |
547 | general solution. | |
548 | ||
ce623b5f PB |
549 | Mon Dec 2 11:04:05 1991 Per Bothner (bothner at cygnus.com) |
550 | ||
551 | * mips-tdep.c (init_extra_frame_info): Float register | |
552 | 'i' has gdb-internal number 'FP0+i', not '32+i'. | |
553 | * mipsread.c (new_symbol): Translate g++ special | |
554 | symbol "$t" to "this". | |
555 | ||
f5f0679a SC |
556 | Sat Nov 30 21:29:55 1991 Steve Chamberlain (sac at cygnus.com) |
557 | Changes due to include file renaming: | |
558 | ||
559 | * xcoffread.c: internalcoff.h ->coff/internal.c, | |
560 | coff-rs6000.h ->coff/rs6000.h | |
561 | * mipsread.c: coff-mips.h ->coff/mips.h | |
562 | * elfread.c: elf-common.h ->elf/common.h | |
563 | elf-external.h ->elf/external.h, | |
564 | elf-internal.h ->elf/internal.h | |
565 | * dwarfread.c dwarf.h ->elf/dwarf.h | |
566 | * dbxread.c: aout64.h ->aout/aout64.h | |
567 | stab.gnu.h ->aout/stab_gnu.h | |
568 | ||
569 | * coffread.c: internalcoff.h ->coff/internal.h | |
570 | * buildsym.c: stab.gnu.h ->aout/stab_gnu.h | |
571 | * depend Updated to take the above into account. | |
572 | ||
3053b9f2 FF |
573 | Fri Nov 29 16:59:25 1991 Fred Fish (fnf at cygnus.com) |
574 | ||
8c6e9f05 FF |
575 | * configure.in: Add SVR4 i386 configurations. |
576 | ||
577 | * config/mh-i386v4, config/mt-i386v4, tm-i386v4.h, xm-i386v4.h: | |
578 | New files for i386/SVR4. | |
579 | ||
580 | * tm-i386v.h: Allow START_INFERIOR_TRAPS_EXPECTED and | |
581 | DECR_PC_AFTER_BREAK to be predefined by files including | |
582 | tm-i386v.h. | |
583 | ||
584 | * i386-tdep.c: Add supply_gregset(), fill_gregset(), | |
585 | supply_fpregset(), and fill_fpregset() functions, which are | |
586 | target dependent support functions for the SVR4 /proc register | |
587 | interface. | |
588 | ||
589 | * dwarfread.c (enum_type, struct_type): Expand recognized | |
590 | compiler generated tags to include symbols beginning with '.' as | |
591 | well as '~'. | |
592 | ||
3053b9f2 FF |
593 | * symtab.c (sources_info): Change simple printf of error message |
594 | to call to error(). | |
595 | ||
4b195f9a RP |
596 | Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com) |
597 | ||
598 | * doc/gdb.texinfo: remove leading comments that survived M4 but | |
599 | described its role in the doc; add one more font to colophon; | |
600 | strengthen disclaimer about unsupported configs. | |
601 | ||
f1d77e90 JG |
602 | Wed Nov 27 01:23:41 1991 John Gilmore (gnu at cygnus.com) |
603 | ||
604 | Fix bugs in C++ debugging. | |
605 | ||
606 | * symtab.h: target_type is not used in record types. | |
607 | Eliminate TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. Eliminate | |
67c29f75 | 608 | lookup_method_type. Add TYPE_TYPE_SPECIFIC macro. |
f1d77e90 JG |
609 | |
610 | * symtab.c (lookup_member_type): Don't chain them up, just | |
611 | allocate one in symbol_obstack when we need one. | |
612 | (allocate_stub_method): Build stub in symbol_obstack. | |
613 | (check_stub_method): Move here from values.c. Don't deallocate | |
614 | stub; overwrite it. | |
615 | (lookup_method_type): Gone now. | |
616 | ||
617 | * buildsym.c: Handle g++ v1 stabs a little bit better. | |
618 | Change some C++ parsing error()s to complain()ts. | |
619 | * buildsym.c, findvar.c, printcmd.c, symtab.c: Make unions and | |
620 | structs have the same representation and work the same as far as | |
621 | C++ is concerned. | |
622 | * buildsym.c, symtab.c, values.c: Remove all references to | |
623 | TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. | |
624 | ||
625 | * valops.c: Improve comments and indentation. Only call | |
626 | check_stub_method when the stub flag is on. | |
627 | * valprint.c: Fix or mark minor bugs and unportabilities. | |
628 | ||
629 | * coffread.c (anonymous unions): Allocate a cplus structure. | |
630 | ||
631 | * mipsread.c: Eliminate "template" types. Build new, real | |
632 | types whenever we need them. Allocate cplus structures as needed. | |
633 | Bulletproof the type parsing a bit more. Mark storage leaks. | |
67c29f75 JG |
634 | (parse_type): Copy TYPE_TYPE_SPECIFIC when copying a real type |
635 | on top of a partial type. | |
f1d77e90 | 636 | |
b68da3b8 JG |
637 | Fri Nov 22 16:39:57 1991 John Gilmore (gnu at cygnus.com) |
638 | ||
378d8e73 JG |
639 | * inflow.c (terminal_inferior): Check the results of ioctl's, and |
640 | print a message if any of them fail. | |
641 | (terminal_ours_1): Store result of ioctl's for debugging, but | |
642 | don't print (the terminal isn't ours...). | |
643 | ||
b68da3b8 JG |
644 | * tm-tahoe.h (FRAME_ARGS_ADDRESS): No need to offset from frame |
645 | pointer. | |
646 | ||
647 | * m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoid | |
648 | conflicts with system header files. | |
649 | ||
8013e170 JG |
650 | Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com) |
651 | ||
2dd074f4 JG |
652 | * Roll VERSION to 4.2.95. |
653 | ||
3ae444f8 JG |
654 | * buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h> |
655 | first, before defs.h. | |
656 | * config/mh-i386sco: Override compiler to gcc, print warning. | |
2b61280a | 657 | * configure.in: Handle i386-none-aout rather than i386-aout-none. |
3ae444f8 | 658 | * infptrace.c, language.h, utils.c: Lint. |
1a5a8f2a JG |
659 | * m2-exp.y: #undef MAX and MIN in case system includes set them. |
660 | * xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of | |
661 | {BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid | |
662 | redefinition warnings. | |
663 | * defs.h: Reorder things so that the xm-file gets first crack | |
664 | at #define's, followed by defs.h and then the tm-file. | |
665 | * Makefile.in: Remove spaces after 'ignore exit code' - flags. | |
666 | Late-model BSD 'make's don't cope with them. | |
8013e170 | 667 | |
3cb0d72d JG |
668 | Thu Nov 21 23:48:56 1991 John Gilmore (gnu at cygnus.com) |
669 | ||
670 | * Makefile.in: Roll new files into various lists. | |
671 | ||
4cfd3c49 FF |
672 | Thu Nov 21 18:26:11 1991 Fred Fish (fnf at cygnus.com) |
673 | ||
674 | * dwarfread.c (struct_type): Must initialize the c++ specific | |
675 | portion of union types as well as struct types, since gdb attempts | |
676 | to reference the c++ specific info for both types. | |
677 | ||
7d9884b9 JG |
678 | Thu Nov 21 10:23:52 1991 John Gilmore (gnu at cygnus.com) |
679 | ||
2e8521a9 JG |
680 | * Makefile.in: Roll VERSION to 4.2.90. |
681 | ||
682 | * defs.h: Incorporate param.h into defs.h. All users changed. | |
7d9884b9 JG |
683 | * param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. |
684 | * param.h, param-no-tm.h: Removed. | |
685 | * Update copyrights in all changed files. | |
686 | * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, | |
687 | solib.c, symtab.h, tm-umax.h, valprint.c: Lint. | |
688 | * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, | |
689 | xm-merlin.h: Avoid host include files in target descriptions. | |
690 | * getpagesize.h: Removed, libiberty copes now. | |
21f62bbd | 691 | * Makefile.in: Remove getpagesize.h, param.h, param-no-tm.h. |
7d9884b9 | 692 | |
3db0634c JG |
693 | * exec.c (exec_files_info): If `verbose' is set, show file offset |
694 | as well. | |
695 | ||
f7402c04 JG |
696 | * main.c: Use getcwd rather than getwd. |
697 | * standalone.c: Fake getcwd rather than getwd. | |
698 | * xm-*.h: Remove fake values of MAXPATHLEN. | |
699 | ||
76b28d05 JG |
700 | * xcoffexec.c: Add /* */ to #if 0'd thing to help ANSI. |
701 | ||
6373dbe3 JG |
702 | Wed Nov 20 18:35:56 1991 John Gilmore (gnu at cygnus.com) |
703 | ||
49faf3b6 JG |
704 | * Remove gdb/hp-include. Support for HP a.out oddities should be |
705 | in BFD, not in GDB. Move gdb/hp-include/a.out.h to include/a.out.hp.h. | |
706 | ||
44ff4c96 JG |
707 | * infptrace.c, tm-sun386.h: Cashier <a.out.gnu.h>, remove refs. |
708 | ||
f318d221 JG |
709 | * configure.in, xconfig, tconfig, Makefile.in, doc/gdbint.texinfo: |
710 | Makefile fragments for various hosts and targets now come from | |
711 | gdb/config/mh-* and gdb/config/mt-*. This is for consistency with | |
712 | other config setups. | |
3978d059 | 713 | |
6373dbe3 JG |
714 | * rs6000-pinsn.c, rs6k-opcode.h: Clean up. |
715 | * rs6k-opcode.def: Delete. | |
716 | ||
768be6e1 FF |
717 | Wed Nov 20 05:04:40 1991 Fred Fish (fnf at cygnus.com) |
718 | ||
719 | * dwarfread.c: Recognize obsolete form of AT_element_list | |
720 | attribute still used by at least one AT&T compiler, and possibly | |
721 | more. | |
722 | ||
d018c8a6 FF |
723 | Tue Nov 19 07:53:55 1991 Fred Fish (fnf at cygnus.com) |
724 | ||
0db97eed FF |
725 | * dwarfread.c (enum_type, struct_type): Ignore names invented by |
726 | helpful compilers for anonymous structs, unions, and enums. | |
727 | ||
d018c8a6 FF |
728 | * c-exp.y, m2-exp.y: Add defines for yymaxdepth, yy_yys, and |
729 | yy_yyv, so multiple parsers produced by SVR4 versions of yacc | |
730 | can coexist in the same executable without collision. | |
731 | ||
732 | * symtab.h: Add declaration for lookup_template_type() to kill | |
733 | compiler warnings about conversions from int to pointer. | |
734 | ||
b6666a5d FF |
735 | Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com) |
736 | ||
5129100c FF |
737 | * procfs.c: Move inclusion of defs.h to before param.h, as in |
738 | all the other source files that include both. This is required | |
739 | to supply some typedefs that are used in files included by param.h. | |
740 | ||
b6666a5d FF |
741 | * m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for |
742 | skipping function prologues, ala the other cpu families (i386, | |
743 | mips, m88k, etc). Add the ability to skip movm and fmovm | |
744 | instructions in the prologues. Still needs support for profile | |
745 | (-p compiled) prologue sequences (FIXME). | |
746 | ||
747 | * tm-68k.h: Change SKIP_PROLOGUE macro to use the new generic | |
748 | m68k prologue skipping function by default. | |
749 | ||
750 | * tm-altos.h, tm-isi.h: Continue to use the old definition of | |
751 | SKIP_PROLOGUE. | |
752 | ||
e140f1da JG |
753 | Mon Nov 18 15:12:45 1991 John Gilmore (gnu at cygnus.com) |
754 | ||
b9fd1330 | 755 | * Makefile.in: Remove tdesc stuff, and extra blanks before colons. |
e140f1da | 756 | * blockframe.c: Remove tdesc-related code. Default |
b9fd1330 | 757 | FRAME_CHAIN_COMBINE. |
e140f1da JG |
758 | * infrun.c: Remove tdesc-related code. |
759 | * m88k-tdep.c (frame_chain_combine, init_frame_pc): Remove copies | |
760 | of defaultable things. | |
761 | * tm-m88k.h: New file, common to all Moto 88k target configs. | |
762 | Derived from tm-delta88.h. | |
763 | * tm-delta88.h: Use it. | |
764 | * xm-m88k.h: Common file for 88K hosts. Remove obsolete stuff. | |
765 | * xm-delta88.h: Use it. | |
766 | * tm-*.h: Remove FRAME_CHAIN_COMBINE macros, since all are | |
767 | default. | |
768 | * coffread.c: Remove tdesc stuff. | |
5e2569e6 JG |
769 | * tconfig/delta88, tconfig/m88k: Remove tdesc stuff. |
770 | * xconfig/m88k: Rename tm-88k.h to tm-m88k.h. | |
e140f1da JG |
771 | |
772 | Mon Nov 18 13:51:37 1991 Per Bothner (bothner at cygnus.com) | |
773 | ||
774 | * source.c (open_source_file): If openp fails, try again | |
775 | using just the base (non-directory) part of the filename. | |
776 | This solves various annoying problems, such as when the | |
777 | source was compiled with an absolute pathname - and the | |
778 | source files have moved. Or if the source was compiled | |
779 | using a relative pathname, it can be more convenient | |
780 | to just specific the source directory to the dir command. | |
781 | ||
2d6186f4 FF |
782 | Mon Nov 18 00:04:41 1991 Fred Fish (fnf at cygnus.com) |
783 | ||
1a18a185 FF |
784 | * cplus-dem.c (munge_function_name): Add missing third arg to |
785 | instance of call to do_type(). | |
786 | ||
2d6186f4 FF |
787 | * dwarfread.c: Changes to match new dwarf.h. Remove |
788 | AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data, | |
789 | and AT_is_external. | |
790 | ||
572acbbe MT |
791 | Sun Nov 17 16:20:53 1991 Michael Tiemann (tiemann at rtl.cygnus.com) |
792 | ||
793 | * symtab.h (struct type): Moved C++-specific fields into new type | |
794 | `struct cplus_struct_type'. Now takes 10% less memory. Many | |
795 | macros changed. | |
796 | * symtab.c (init_type): Don't set fields belonging to | |
797 | TYPE_CPLUS_SPECIFIC unless TYPE is TYPE_CODE_STRUCT. | |
798 | * buildsym.c (read_type): Allocate TYPE_CPLUS_SPECIFIC for | |
799 | TYPE_CODE_STRUCT. | |
800 | (read_struct_type): Ditto. Also, add comments about how we can | |
801 | deduce TYPE_VPTR_FIELDNO from inheritance info and fieldname info. | |
802 | * coffread.c (decode_base_type): Allocate TYPE_CPLUS_SPECIFIC for | |
803 | TYPE_CODE_STRUCT. | |
804 | (read_struct_type): Ditto. | |
805 | * dwarfread.c (struct_type): Ditto. | |
806 | ||
807 | * symtab.c (read_range_type): Don't set TYPE_MAIN_VARIANT. | |
808 | (lookup_pointer_type): Don't use or set TYPE_MAIN_VARIANT. | |
809 | (lookup_reference_type): Ditto. | |
810 | ||
811 | * cplus-dem.c: Many changes made to handle decoding of | |
812 | ANSI-mangled names. | |
813 | * symtab.c (gdb_mangle_name): Mangle/demangle ANSI-mangled names | |
814 | as well. | |
815 | ||
cd71911e SG |
816 | Fri Nov 15 17:57:59 1991 Stu Grossman (grossman at cygnus.com) |
817 | ||
818 | * mipsread.c (parse_partial_symbols): patch to keep DEC C | |
819 | compiler from making gdb bomb out. Thanks to Ed Santiago! | |
820 | ||
a7446af6 FF |
821 | Thu Nov 14 19:27:30 1991 Fred Fish (fnf at cygnus.com) |
822 | ||
5a5a3b0f FF |
823 | * symfile.c: Add function compact_misc_function_vector() to |
824 | remove duplicate misc function vector entries. See comments | |
825 | in source for why this is necessary/desirable. | |
826 | ||
a7446af6 FF |
827 | * dwarfread.c: Add misc function type parameter to internal |
828 | record_misc_function(). Remove calls to init_misc_bunches() | |
829 | and condense_misc_bunches(), these are now done in elfread.c. | |
830 | ||
831 | * elfread.c: Add support for reading bfd canonical symbol tables | |
832 | and generating misc function vector entries for global and | |
833 | absolute symbols. Do calls to init_misc_bunches() and | |
834 | condense_misc_bunches() where they will enclose all calls to | |
835 | record_misc_function(), including those in dwarfread.c. | |
836 | ||
837 | Thu Nov 14 17:02:11 1991 Roland H. Pesch (pesch at cygnus.com) | |
838 | ||
839 | * doc/Makefile.in: new targets gdb.me, gdb.ms, gdb.mm | |
840 | (roffable documentation). | |
841 | * doc/gdb.texinfo: embedded hints (as comments) for better | |
842 | texi2roff conversion. | |
843 | ||
430923f3 JG |
844 | Thu Nov 14 13:18:25 1991 John Gilmore (gnu at cygnus.com) |
845 | ||
846 | * m88k-tdep.c (examine_prologue): Deal with OR instructions | |
847 | that shuffle parameters into other regs. | |
848 | * symtab.c (decode_line_1): Fix bug introduced in Per's change | |
849 | of Nov 12th. | |
850 | ||
a219b090 SC |
851 | Wed Nov 13 19:51:11 1991 Steve Chamberlain (sac at cygnus.com) |
852 | ||
853 | * Makefile.in, xconfig/delta88 made it install a sysV manual page; | |
854 | gdb.z into the right place. | |
855 | ||
ea3c0839 JG |
856 | Wed Nov 13 16:45:13 1991 John Gilmore (gnu at cygnus.com) |
857 | ||
858 | Motorola 88000 port without tears, I mean without tdescs. | |
859 | ||
860 | * m88k-tdep.c: Blow away all tdesc stuff. | |
861 | Provide functions for all the frame-related macros in | |
862 | tm-delta88.h. Adopt i960-style EXTRA_FRAME_INFO. | |
863 | (examine_prologue, frame_find_saved_regs, skip_prologue): borrow | |
864 | from i960-tdep.c and adapt to the function prologues on the 88k. | |
865 | (read_next_frame_reg): Borrow from mips-tdep.c. | |
866 | FIXME: frame_locals_address should go away. | |
867 | ||
868 | * tm-delta88.h: Dump all the tdesc stuff. | |
869 | Macros for all frame-related stuff call fns of same name. | |
870 | Remove duplicated definitions. FP_REGNUM becomes same as | |
871 | SP_REGNUM. | |
872 | ||
873 | * xm-88k.h: Eliminate lots of library dependencies, now handled | |
874 | in libiberty. Eliminate KDB nonsupport. | |
875 | ||
876 | * doc/gdbint.texinfo: Add rudiments on frames. FIXME, add more. | |
877 | ||
878 | ||
879 | * stack.c (frame_info): Mark frameless functions. | |
880 | Print locals address (FIXME, remove if same). | |
881 | * blockframe.c: Comment changes, FIXME after. | |
882 | * coffread.c: Even without TDESC, need to zap "@" symbols. | |
883 | Don't register for wierd format names; change the names in BFD. | |
884 | ||
885 | * alloca.c, language.c, tdesc.c: Lint. | |
886 | * tdesc.c, tdesc-lib: FIXME: remove these. | |
887 | ||
19230be6 JG |
888 | Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com) |
889 | ||
890 | * Makefile.in: Add tdesc library support. Fixups to lint, | |
891 | copying.c rules. | |
892 | ||
0e2a896c PB |
893 | Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com) |
894 | ||
895 | * symtab.c (decode_line_1): Remove spurious call to operator_chars. | |
896 | ||
897 | Allow setting breakpoints on C++ destructors. | |
898 | * valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR, | |
899 | since it lies. Rely on callers to catch missing destructors. | |
900 | * symtab.c (decode_line_1): For example (see above), here. | |
901 | * buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR | |
902 | flags since they are no longer used. | |
903 | ||
904 | Fixes to support C++ methods with functional parameters. | |
905 | * c-exp.y (func_mod rule): Allow (and ignore) list of parameter | |
906 | types in a function type. | |
907 | * eval.c (parse_and_eval_type), value.h: New function, | |
908 | parse_and_eval_type, is based on old code from check_stub_method. | |
909 | But don't actually evaluate the cast, since that calls | |
910 | value_cast(), whcih may fail. Just extract the type | |
911 | from the parsed expression. | |
912 | * values.c (check_stub_method): While looping through the | |
913 | arguments, adjust depth *after* parameter has been handled. | |
914 | Replace call and setup of parse_and_eval with new function | |
915 | parse_and_eval_type. | |
916 | ||
58ae87f6 FF |
917 | Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com) |
918 | ||
919 | * utils.c, rem-multi.shar: Remove fixed arg count version of | |
920 | concat(). | |
921 | ||
922 | * altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c, | |
923 | core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c, | |
924 | m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c, | |
925 | sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c: | |
926 | Change all instances of use of fixed args concat() to variable | |
927 | args concat() now located in libiberty. | |
928 | ||
74f6fb08 JG |
929 | Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com) |
930 | ||
931 | * Makefile.in: Add xcoffread.c, xcoffexec.c. | |
932 | * xcoffread.c: New file for handling AIX mangled-coff files. | |
933 | * xconfig/rs6000, tconfig/rs6000: New files. | |
934 | * buildsym.c: Add hooks for xcoffread.c. | |
935 | * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h, | |
cd56d314 | 936 | xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files. |
74f6fb08 JG |
937 | * xcoffexec.c: New file for handling AIX shared libraries. |
938 | ||
fb182850 FF |
939 | Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) |
940 | ||
941 | * core.c: Minor rewording of message to user containing name of | |
942 | (and possibly arguments to) the program that generated a core | |
943 | file. | |
944 | ||
945 | * elfread.c: Remove the register_addr() stub now that it is no | |
946 | longer needed. | |
947 | ||
948 | * procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new | |
949 | fetch_core_registers() function for core file support. | |
950 | ||
8aca810c FF |
951 | Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com) |
952 | ||
b662efed FF |
953 | * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call |
954 | to do_cleanups() which resulted from a previous change. | |
955 | ||
8aca810c FF |
956 | * elfread.c: Re-enable compilation of register_addr() stub |
957 | whenever it is not supplied by coredep.c | |
958 | ||
a048c8f5 JG |
959 | Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com) |
960 | ||
961 | Add tracking of object files (that contain symbols) to gdb. | |
962 | This includes a "struct objfile" that owns symtabs and psymtabs | |
963 | that were read in from that binary file. | |
964 | ||
965 | * symfile.h: Add struct objfile. Add pointer to the objfile | |
966 | into the struct sym_fns. | |
967 | Replace global `symfile' and `symfile_mtime' with | |
968 | `symfile_objfile'. Add global object_files chain. | |
969 | ||
970 | * symfile.c: Move param.h above symtab.h. | |
971 | (sort_misc_function_vector): Add. | |
972 | (syms_from_objfile): Was syms_from_bfd. | |
973 | (symfile_open): Now returns objfile. | |
974 | (allocate_objfile): New. | |
975 | (free_objfile): New, replacing free_all_.*symtabs. | |
976 | (symfile_init): Takes objfile arg, puts it in sym_fns result. | |
977 | (reread_symbols): Searches whole chain of objfiles. | |
978 | (allocate_symtab): Takes objfile as new parameter, chains them. | |
979 | Handle INIT_EXTRA_SYMTAB_INFO. | |
980 | (free_all_psymtabs, free_all_symtabs): Move here from symmisc.c. | |
981 | ||
982 | * dbxread.c: Make more errors into complaints. | |
983 | (push_subfile, pop_subfile): Move to buildsym.c. | |
984 | (dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab, | |
985 | start_psymtab, psymtab_to_symtab_1, read_ofile_symtab, | |
986 | dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor. | |
987 | Pass objfile. Change callers. | |
988 | (fill_symbuf, SWAP_SYMBOL): Take bfd as arg. | |
989 | (read_dbx_symtab): Just wipe out new symbols, not all, on error. | |
990 | (end_psymtab): Blow away psymtab if empty. | |
991 | (process_symbol_pair): Swallow into read_ofile_symtab. | |
992 | (process_one_symbol): Use push_context and pop_context. | |
993 | (virtual_context): Delete #if 0'd obsolete stuff. | |
994 | ||
995 | * buildsym.c (end_symtab): Pass objfile. | |
996 | (dbx_lookup_type): Handle null typevector. | |
997 | (dbx_alloc_type): Check file number, not sym number, for -1. | |
998 | (find_symbol_in_list): Add for xcoffread. | |
999 | (start_symtab): Default typevector is empty. Keep reusing same | |
1000 | context_stack. | |
1001 | (end_symtab): Take objfile argument and pass it to | |
1002 | allocate_symtab. Don't make a symtab if no blocks or symbols. | |
1003 | Handle empty typevector. | |
1004 | (push_context): New function for context stack nesting. | |
1005 | (read_type): Mark FIXME where we need to reintroduce type smashing. | |
1006 | ||
1007 | * buildsym.h (pop_context): Macro, paired with push_context. | |
1008 | (subfile_stack): Move here from dbxread.c. | |
1009 | ||
1010 | * coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg. | |
1011 | (read_coff_symtab): Cleanup by freeing objfile, not all symtabs. | |
1012 | ||
1013 | * mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr, | |
1014 | new_psymtab, new_symtab): Take and use objfile arg. | |
1015 | ||
1016 | * dwarfread.c (scan_compilation_units, start_psymtab, | |
1017 | process_dies, end_symtab, dwarf_build_psymtabs, | |
1018 | read_lexical_block_scope, read_func_scope, read_file_scope): Take | |
1019 | and use objfile argument. | |
1020 | (psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file | |
1021 | descriptor. Use BFD internal functions instead. | |
1022 | (end_symtab): Call global allocate_symtab. | |
1023 | ||
1d82d3dc | 1024 | * elfread.c, target.c: Minor changes to accommodate objfiles. |
a048c8f5 JG |
1025 | * symtab.h: partial_symbol_table has no symfile_name member now. |
1026 | (fn_fieldlists voffset): avoid non-int bitfield. | |
1027 | (struct symtab): Add objfile * and objfile_chain * of symtabs. | |
1028 | (struct partial_symtab): Add objfile * and objfile_chain * of | |
1029 | psymtabs. Remove symfile_name. | |
1030 | ||
1d82d3dc JG |
1031 | * symmisc.c: Lose free_all_symtabs, free_all_psymtabs. |
1032 | (printsyms_command): Rename from print_symtabs. Add selective | |
1033 | listing if 2nd argument given. Print objfile info. | |
1034 | (printpsyms_command): Rename from print_partial_symtabs. Ditto all. | |
1035 | (printobjfiles_command): New; prints objfiles lists, and checks | |
1036 | for consistency of symtab, psymtab, and objfile lists. | |
1037 | ||
a048c8f5 JG |
1038 | * symfile.h, symfile.c, symtab.h: Lint |
1039 | ||
c4668207 JG |
1040 | Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com) |
1041 | ||
1042 | * command.c: Include param.h. | |
1043 | * defs.h (warning_setup, warning): Declare. | |
1044 | * expprint.c (print_subexp, UNOP_MEMVAL case): Lint. | |
1045 | * inflow.c (new_tty): Use USE_O_NOCTTY #define. | |
1046 | * language.c, printcmd.c (print_scalar_formatted), signame.c, | |
1047 | stack.c: lint. | |
1048 | ||
b92c774e SC |
1049 | Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com) |
1050 | ||
b715d5b4 SC |
1051 | * Makefile.in: link with libiberty after libreadline, since |
1052 | readline might want something in libiberty. | |
b92c774e SC |
1053 | * m88k-xdep.c: Fixed the register offsets in the ptrace_user |
1054 | struct for BCS 88k machines. | |
1055 | * xm-m88k.h: don't define USIZE if already defined. | |
1056 | * configure.in: Added delta88 target. | |
1057 | ||
fbcb5095 JG |
1058 | Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com) |
1059 | ||
1bf068b8 JG |
1060 | * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac. |
1061 | ||
fbcb5095 JG |
1062 | * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and |
1063 | READ_MIPS_FORMAT, which have been unused since BFD. Still | |
1064 | remaining is COFF_NO_LONG_FILE_NAMES. | |
1065 | * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from | |
1066 | function calling code moved to m68k-tdep.c. | |
1067 | ||
e64fbb3a JG |
1068 | Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com) |
1069 | ||
1070 | * coffread.c: Eliminate c_nsyms in favor of c_naux. | |
1071 | Complain if no auxents on .bf and .ef FCN symbols, and assume | |
1072 | lots of line numbers. | |
1073 | (init_linenos, enter_linenos): Use a sentinel at the end of the | |
1074 | read-in linenos, to make for a fast, safe loop-end test. | |
1075 | ||
1076 | Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com) | |
1077 | ||
1078 | * coffread.c (read_coff_symtab): coffread used to rely on the | |
1079 | x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a | |
1080 | function. Two of the formats I'm using (29k and 88k) don't seem to | |
1081 | set it. Ths patch to fcn_last_line and (enter_linenos) is an | |
1082 | attempt to use the actual size of the linno table in the file to set | |
1083 | the number of linenos to process. | |
1084 | ||
0aaa124f SC |
1085 | Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) |
1086 | ||
1087 | * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and | |
1088 | mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files | |
1089 | are created in place, so the mv fails, then the make continues. | |
1090 | ||
545af6ce PB |
1091 | Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) |
1092 | ||
1093 | Add C++ as a separate language. | |
1094 | * defs.h (enum language): Add language_cplus. | |
1095 | * dwarfread.c (end_symtab): Support language_cplus. | |
1096 | * c-exp.y: Add new struct language_defn cplus_language_defn. | |
1097 | Don't set c to be the default language (see main.c). | |
1098 | * c-exp.y (yylex): Only look for field of this if | |
1099 | language is C++. (First difference from C!) | |
1100 | * language.c: Add case branches for C++ (currently, all | |
1101 | the same as C). Also, add c++ to "usage" note for "set lang". | |
1102 | * valprint.c (typedef_print). Add case branches for C++. | |
1103 | * main.c (main): New way to set initial language: Look at | |
1104 | file extension of psymtab containing main(). (Same as we | |
1105 | do for symtabs, but avoid loading the symtab yet.) | |
1106 | * symtab.c: New routine find_main_psymtab(), used by main() | |
1107 | to set initial language. | |
1108 | * symfile.c (allocate_symtab): Move code for mapping file | |
1109 | extensions-> languages to new deduce_language_from_filename(). | |
1110 | ||
1111 | Fix a C++ problem when looking for methods in super-classes. | |
1112 | There was confusion between base and derived types. | |
1113 | * valops.c (value_fn_field): Change function interface. | |
1114 | * values.c: Use new value_fn_field interface. | |
1115 | ||
abefb1f1 PB |
1116 | Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) |
1117 | ||
1118 | * infrun.c: Fixed typo in comment. | |
1119 | * utils.c: All the v*fprintf emulation is now in libiberty, | |
1120 | so we can get rid of some junk. | |
1121 | * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, | |
1122 | xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. | |
1123 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
1124 | type operands, as used by branch instructions. | |
1125 | * gmalloc.c: Fix prototype of memcpy. | |
1126 | * elfread.c: Comment out register_addr, since it conflicts | |
1127 | with the one in coredep.c. | |
1128 | * buildsym.h: Remove extern declarations of two functions | |
1129 | that are really static in buildsym.c. | |
1130 | * tm-mips.h: Add symbolic names for more registers. | |
1131 | * mips-xdep.c (store_inferior_registers): Use new register names. | |
1132 | * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now | |
1133 | only used for core files, not ptrace. Therefore, | |
1134 | the KERNEL_U_ADDR hack is no longer needed. | |
1135 | The mapping to ptrace number is now in in mips-xdep.c. | |
1136 | * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the | |
1137 | mapping from the old REGISTER_U_ADDR), and use it | |
1138 | in {fetch,store}_inferior_registers. | |
1139 | * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. | |
1140 | * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): | |
1141 | Save/restore FP regs correctly (?). | |
1142 | * dbxread.c: Remove duplicate define_symbol and type_synonym_name | |
1143 | (these had been previously moved to buildsym.c). | |
1144 | Hence, define_symbol becomes extern instead of static. | |
1145 | * buildsym.c (read_struct_type): Comment out bogus handling | |
1146 | of C++ operator methods. Minor hacking of reading of class | |
1147 | contexts. Make define_symbol non-static, so dbxread.c can call it. | |
1148 | ||
c9bd6710 JG |
1149 | Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) |
1150 | ||
1151 | * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real | |
1152 | filename with error messages. | |
1153 | * stack.c (frame_select_command): Rename to select_frame_command | |
1154 | to avoid "fr" and "fra" having nonunique completions. | |
1155 | * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. | |
1156 | (symfile_init): Print file format name when unable to handle it. | |
1157 | (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. | |
1158 | * symmisc.c (free_symtab): Only free linetable if nonzero. | |
1159 | * symtab.h: Remove obsolete BLOCKLIST macros. | |
1160 | ||
d7d1098d SG |
1161 | Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) |
1162 | ||
1163 | * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure | |
1164 | that stop_step is 1 at bottom of main loop. I don't know why this | |
1165 | needs to be done, but it helps me sleep better at night. | |
1166 | ||
8b3c897a SG |
1167 | Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) |
1168 | ||
1169 | * main.c (initialize_history): Read history after reading all | |
1170 | init files. | |
1171 | ||
4137c5fc JG |
1172 | Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) |
1173 | ||
1174 | * buildsym.c: Break out initial malloc sizes. | |
1175 | (record_line): Record directly in a subfile. Alloc on demand. | |
1176 | (compare_line_numbers): Add from xcoffread.c. | |
1177 | (end_symtab): New params say whether to sort pendings and | |
1178 | linetable. Patch block stabs if defined. Shrink linetable before | |
1179 | allocating the symtab. | |
1180 | * buildsym.h: Delete line_vector* and prev_line_number. Add | |
1181 | global_stabs and file_stabs for xcoffread. | |
1182 | * dbxread.c (start_subfile): Move to buildsym. Change above calls. | |
1183 | * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. | |
1184 | * symmisc.c, symtab.c: Cope with null LINETABLEs. | |
1185 | ||
1186 | * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. | |
1187 | * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, | |
1188 | tm-sparc.h: Accept fromleaf parameter. | |
1189 | * c-exp.y (yyerror): Pass error message if given. | |
1190 | * configure.in: Add rs6000 host and target. | |
1191 | * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. | |
1192 | * symfile.h (entry_point): Add. | |
1193 | ||
c0302457 JG |
1194 | Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) |
1195 | ||
1196 | * buildsym.c: New file. Breaks out symbol-table-building routines | |
1197 | from dbxread.c, so they can be shared with xcoffread.c. | |
1198 | * buildsym.h: New file. Declarations for buildsym.c users. | |
1199 | * dbxread.c: Remove large chunks into buildsym.c. | |
d47d5315 JG |
1200 | * Makefile.in: Add buildsym.c and buildsym.h. |
1201 | ||
1202 | * symfile.c (syms_from_bfd): New routine. | |
1203 | (add_symbol_file): Call it to do the real work. | |
1204 | (syms_from_bfd): Initialize entry_point before calling symfile_init. | |
1205 | * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: | |
1206 | Avoid declaring or setting entry_point (symfile.h & symfile.c cope). | |
c0302457 | 1207 | |
4c53d9ca DHW |
1208 | Fri Oct 25 10:58:16 1991 Mark Eichin (eichin at cygnus.com) |
1209 | ||
1210 | * cplus-dem.c (cplus-demangle): added support for templates, static | |
1211 | data, and the new (correct) mangling for destructors. | |
1212 | ||
1213 | * dwarfread.c: (dwarfwarn): created a varargs version of | |
1214 | dwarfwarn, for non __STDC__ compilers. | |
1215 | ||
1216 | * c-exp.y: (yylex): added match for "template" token. | |
1217 | (typebase): added TEMPLATE name '<' type '>' clause, for explicit | |
1218 | specification of template types. | |
1219 | ||
1220 | * symtab.c: (lookup_template_type): new function for finding | |
1221 | templates in symbol table. | |
1222 | (type_name_no_tag): changed to explicitly check for s/u/e at the | |
1223 | beginning of the symbol - if it is a template, none of these will | |
1224 | be there (but the name will still contain spaces.) | |
1225 | ||
bcccec8c PB |
1226 | Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) |
1227 | ||
1228 | Various fixes to improve g++ debugging. | |
1229 | * symtab.h: Add is_const and is_volatile flags for each method. | |
1230 | These are bit fields - take their space from voffset, | |
1231 | which shrinks to 30 bits. Since voffset is now a bitfield, | |
1232 | make it unsigned for portability. This changes its interpretation | |
1233 | slightly: Static methods now have voffset 1 instead of -1, | |
1234 | and virtual offsets start at 2, not 1. | |
1235 | * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, | |
1236 | since it now returns an entire magled method name, not just | |
1237 | the type part. This avoids some duplication. | |
1238 | It also allows us to correctly mangle const and volatile | |
1239 | methods (using the new is_const and is_volatile bit fields | |
1240 | mentioned above). | |
1241 | * valprint.c (type_print_base), values.c (check_stub_method): | |
1242 | Simplify by using new gdb_mangle_name. | |
1243 | * values.c (value_headof): Fix to correctly handle single | |
1244 | inheritance (actually two fixes, either of which suffices). | |
1245 | * dbxread.c (read_struct_type): Handle const and volatile | |
1246 | method specifiers. | |
1247 | * dbxread.c (read_struct_type): Yet one more place where | |
1248 | we must handle '\\' continuations. | |
1249 | * valprint.c (vtbl_ptr_name): Add final '\0'. | |
1250 | ||
eb3f3e5c SG |
1251 | Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) |
1252 | ||
5ab580cc SG |
1253 | * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of |
1254 | short return values for sparc and 68k. Patch from Paul Eggert. | |
1255 | ||
eb3f3e5c SG |
1256 | * coffread.c, coredep.c, i386-xdep.c: install patches for |
1257 | SysV/386 3.2 from Mauro DePalma. | |
1258 | ||
9cb602e1 JG |
1259 | Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) |
1260 | ||
c58215f2 JG |
1261 | * core.c (core_file_info), exec.c (exec_file_info): Print file |
1262 | type. Use printf_filtered. | |
1263 | ||
9cb602e1 JG |
1264 | * valops.c (value_fetch_lazy): Avoid 0-length fetches. |
1265 | ||
b662acae FF |
1266 | Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) |
1267 | ||
c8c0a2bd FF |
1268 | * dwarfread.c: Add casts to remove compiler warnings. |
1269 | ||
84d82b1c FF |
1270 | * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, |
1271 | tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, | |
1272 | tm-sun3.h: Remove locally duplicated code for calling functions | |
1273 | in the inferior. The only differences were in the specific trap | |
1274 | vectors used and whether or not an fpu was present. These are | |
1275 | now handled by appropriate definitions of BPT_VECTOR and | |
1276 | HAVE_68881 respectively. Other minor obvious cleanups. | |
1277 | ||
1278 | * valops.c: Correct a minor misspelling. | |
1279 | ||
ed317bb3 FF |
1280 | * utils.c: Remove local BSD/USG hacks that are now in libiberty. |
1281 | ||
b662acae FF |
1282 | * dwarfread.c: Remove prototype for dwarfwarn. Does not work |
1283 | with <varargs.h>. | |
1284 | ||
313fdead JG |
1285 | Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) |
1286 | ||
b0077123 JG |
1287 | * stack.c (frame_command): Always print. Use new |
1288 | frame_select_command to select a frame without printing. | |
1289 | ||
313fdead JG |
1290 | * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable. |
1291 | ||
4a35d6e9 FF |
1292 | Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) |
1293 | ||
35f5886e FF |
1294 | * dwarfread.c: New file for DWARF debugging format support. |
1295 | ||
1296 | * elfread.c: New file for ELF object file format support. | |
1297 | ||
1298 | * procfs.c: New file for SVR4 /proc (process file system) support. | |
1299 | ||
1300 | * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for | |
1301 | Amiga UNIX support. | |
1302 | ||
1303 | * xm-svr4.h, tm-svr4.h: New files for SVR4 support. | |
1304 | ||
1305 | * xm-m68k.h: New file for host machines with m68k cpu. | |
1306 | ||
bb4ff694 FF |
1307 | * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. |
1308 | Add elfread.o and dwarfread.o to OBS. | |
1309 | ||
1310 | * symfile.h: Add "elf" to list of supported formats in comment. | |
1311 | ||
e2aab031 FF |
1312 | * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin |
1313 | types to gdb, builtin_type_long_double, builtin_type_complex, and | |
1314 | builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, | |
1315 | TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, | |
1316 | TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and | |
1317 | TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated | |
1318 | types on the target machine (ala the existing TARGET_LONG_LONG_BIT). | |
1319 | ||
02070680 FF |
1320 | * infrun.c: When using SVR4 /proc interface instead of ptrace(), |
1321 | call proc_set_exec_trap() to setup child to stop at first instruction. | |
1322 | ||
1323 | * inftarg.c: When using SVR4 /proc interface, call proc_wait() | |
1324 | rather than wait(). | |
1325 | ||
1326 | * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), | |
1327 | supply_fpregset(), and fill_fpregset(), which are machine | |
1328 | dependent support routines for SVR4 /proc interface. | |
1329 | ||
2bc2e684 FF |
1330 | * utils.c: Add warning_setup() and warning(). Warning() behaves |
1331 | the same as error() except that it returns normally rather than | |
1332 | jumping back to command level. Modules that don't want to call | |
1333 | warning() for some reason, but want to produce their own warnings, | |
1334 | can call warning_setup() to ensure compatibility with the way | |
1335 | warning() and error() deal with the terminal. | |
1336 | ||
eaa1ef1d FF |
1337 | * symtab.c: Make internal errors produce more useful messages. |
1338 | ||
dcd15e5e FF |
1339 | * tm-68k.h: Move code that is duplicated in almost every single |
1340 | m68k based machine's configuration files to this common file. | |
1341 | Duplications in the configuration files still need to be removed | |
1342 | (FIXME). | |
1343 | ||
150f5436 FF |
1344 | * infrun.c (child_create_inferior): System V versions must call |
1345 | setpgrp() with no arguments, to comply with prototyping typically | |
1346 | in <unistd.h>. | |
1347 | ||
cb17dfb1 FF |
1348 | * munch: Add support for SVR4 style nm output. |
1349 | ||
4a35d6e9 FF |
1350 | * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object |
1351 | file specific fields from the partial symbol table structure and | |
1352 | replace them with a pointer to private data for each different | |
1353 | flavor of object file reader to initialize appropriately. | |
1354 | ||
b0077123 JG |
1355 | Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) |
1356 | ||
1357 | * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c | |
1358 | and previous. | |
1359 | ||
1360 | * mipsread.c (fixup_undef_type): New function. If a struct / | |
1361 | union / enum is defined in a header file but nowhere else used, | |
1362 | (by typedefing, pointer referencing or declaration) the mipsread code | |
1363 | builds the complete tree for the structure but leaves its code as | |
1364 | TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is. | |
1365 | Guess its type based on the details of the members. | |
1366 | ||
0d3e7f60 SG |
1367 | Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com) |
1368 | ||
1369 | * infrun.c (wait_for_inferior): Check return value from | |
1370 | find_pc_line. | |
1371 | ||
bc6c937d SG |
1372 | Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com) |
1373 | ||
1374 | * infrun.c (wait_for_inferior): fix stepi/nexti that was broken | |
1375 | by my last edit to this routine. | |
1376 | ||
b0077123 JG |
1377 | Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com) |
1378 | ||
1379 | * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging. | |
1380 | FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap | |
1381 | the values before putting them into the dummy code. (From Peter | |
1382 | Schauer) | |
1383 | ||
44e4e473 SC |
1384 | Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com) |
1385 | ||
1386 | * configure.in: added ebmon target. | |
1387 | ||
785ce19c | 1388 | Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com) |
a1b8c5d6 JG |
1389 | |
1390 | GDB-4.2 release! | |
1391 | ||
1392 | * Makefile.in: Roll VERSION to 4.2. | |
44e4e473 | 1393 | * README, TODO, WHATS.NEW: Update. |
a1b8c5d6 JG |
1394 | |
1395 | * core.c (core_open): Improve error message for bad file. | |
1396 | Pass .reg virtual memory address to fetch_core_registers to help | |
1397 | it find the registers in the core-file header. | |
1398 | * coredep.c (fetch_core_registers): Take new argument, use it, | |
1399 | and pass it to register_addr to locate the block of registers. | |
785ce19c | 1400 | * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit. |
a1b8c5d6 JG |
1401 | |
1402 | * dbxread.c (read_dbx_symtab, process_one_symbol): Handle | |
1403 | Sequent N_FN_SEQ like everybody else's N_FN. | |
1404 | ||
1405 | * main.c: Circumvent SCO cc bug with #if !!defined(USG). | |
1406 | * tm-i386v.h: #endif guck. | |
1407 | * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge. | |
785ce19c JG |
1408 | * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath. |
1409 | * xconfig/tahoe: Add REGEX, which seems to be missing. | |
1410 | ||
1411 | * coredep.c: Add <sys/types.h> for SCOnix. | |
1412 | * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. | |
1413 | * printcmd.c (print_formatted): Flush output before disassembly. | |
a1b8c5d6 | 1414 | |
93ae2e88 RP |
1415 | Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) |
1416 | ||
9e0906a6 RP |
1417 | * doc/refcard.tex (sec "Working Files"): consistent metavars and |