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