Several changes to fix misc problems with enums, structs, and unions,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
715cafcb
FF
1Thu Dec 5 18:19:43 1991 Fred Fish (fnf at cygnus.com)
2
3 * dwarfread.c (enum_type): Build a correct TYPE_NAME, add a
4 symbol to the symbol table for each member of the enum.
5
6 * dwarfread.c (struct_type): Build a correct TYPE_NAME.
7
8 * dwarfread.c (add_enum_psymbol): New function to extract enum
9 member names and add them to the partial symbol table while
10 building partial symbol tables.
11
a0a6174a
JG
12Thu Dec 5 17:31:05 1991 John Gilmore (gnu at cygnus.com)
13
14 * symtab.c (check_stub_method): Must allocate two extra argument
15 slots (one for `this', one for arglist terminator).
16
c8d9eb8e
FF
17Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com)
18
817b8c46
FF
19 * inflow.c (child_terminal_info): Supply missing '"' character.
20
c8d9eb8e
FF
21 * buildsym.c (define_symbol): Supply missing parenthesis.
22
2a5ec41d
JG
23Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com)
24
299ee4e6
JG
25 * coredep.c (fetch_core_registers): Fencepost error. Fixed by
26 Jay Lepreau <lepreau@cs.utah.edu>.
27
2a5ec41d
JG
28 * inflow.c: Remember whether GDB has a terminal. Avoid switching
29 terminals back and forth if we don't have one.
30
31 * c-exp.y (parse_number): Zero is not an unsigned int constant!
32 * dbxread.c (read_dbx_symtab): Enum type numbers can be in (1,2) form.
33
34 Improve type parsing.
35 * buildsym.c (define_symbol, read_range_type): Add
36 long_kludge_name that passes the names of range types being
37 defined, down to where we must choose between 'int' and 'long'
38 variants. This fails on Sun C anyway since the compiler itself is
39 confused between int and long.
40 (read_array_type, cleanup_undefined_types): Correct the size of
41 array type whose element-type size isn't immediately known.
42
43 Early preparation to blow away many builtin types, building them
44 on the fly as needed. Don't compare types to builtin types with
45 ==; examine the relevant fields instead.
46 * coffread.c (process_coff_symbol: C_ARG, C_REGPARM): Avoid ==.
47 * buildsym.c (define_symbol, case 'p'): Avoid ==.
48 * valops.c (value_arg_coerce): Avoid ==. Don't assume host and
49 target types are the same.
50 * valprint.c (val_print): I finally understand arrays, remove FIXME.
51
52 * symmisc.c (printpsyms_command): Reduce redundancy, and put all
53 addresses in GDB itself into parens for easy cleanup and diffing.
54
98618bf7
FF
55Wed Dec 4 21:05:30 1991 Fred Fish (fnf at cygnus.com)
56
57 * dwarfread (enum_type): Arrange for the order of enumeration
58 members to match the source code order; not the order in the
59 Dwarf information, which is explicitly reverse order.
60
3c7cc3b7
JG
61Wed Dec 4 18:24:39 1991 John Gilmore (gnu at cygnus.com)
62
63 * main.c (input_from_terminal_p): Check whether GDB has a
64 terminal at all.
65 (initialize_main): Revise doc for `set editing'.
66
67Wed Dec 4 15:36:39 1991 Fred Fish (fnf at cygnus.com)
68
69 * dwarfread.c (struct_type): Handle structures and unions which
70 contain DIE's other than just member dies.
71
6470e9c3
JG
72Wed Dec 4 01:59:05 1991 John Gilmore (gnu at cygnus.com)
73
74 * symfile.c (reread_symbols): Avoid kludging mtime_set, now that
75 BFD is fixed.
76
2e00f40a
JG
77Tue Dec 3 17:24:57 1991 John Gilmore (gnu at cygnus.com)
78
4369a140
JG
79 * Makefile.in: VERSION 4.2.96.
80
81 * main.c (initialize_main): Revise command descriptions.
82 * command.c (show_user): `info user' -> `show user'.
83 * symtab.c (_initialize_symtab): Typo in `info types' desc.
84
7a6093e8 85 * coffread.c (coff_symfile_read): Avoid select_source_symtab,
4369a140
JG
86 since it is not needed and can cause errors when examining ".o"s.
87 (read_coff_symtab, decode_base_type): Use complain, not printf.
88 Print symbol name, not its number.
89 Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
90 someday should go in a clipper target config file.
7a6093e8
JG
91
92 * symfile.c (compact_misc_function_vector): Handle empty vector.
4369a140
JG
93 (complain, clear_complaints, syms_from_objfile): Fix complaint
94 formatting.
95 * xcoffexec.c: Change syms_from_objfile caller.
7a6093e8 96
2e00f40a
JG
97 * sparc-xdep.c: Force tm-file as tm-sparc.h, to make it compile
98 when configured for cross debugging. FIXME, this needs a more
99 general solution.
100
ce623b5f
PB
101Mon Dec 2 11:04:05 1991 Per Bothner (bothner at cygnus.com)
102
103 * mips-tdep.c (init_extra_frame_info): Float register
104 'i' has gdb-internal number 'FP0+i', not '32+i'.
105 * mipsread.c (new_symbol): Translate g++ special
106 symbol "$t" to "this".
107
f5f0679a
SC
108Sat Nov 30 21:29:55 1991 Steve Chamberlain (sac at cygnus.com)
109 Changes due to include file renaming:
110
111 * xcoffread.c: internalcoff.h ->coff/internal.c,
112 coff-rs6000.h ->coff/rs6000.h
113 * mipsread.c: coff-mips.h ->coff/mips.h
114 * elfread.c: elf-common.h ->elf/common.h
115 elf-external.h ->elf/external.h,
116 elf-internal.h ->elf/internal.h
117 * dwarfread.c dwarf.h ->elf/dwarf.h
118 * dbxread.c: aout64.h ->aout/aout64.h
119 stab.gnu.h ->aout/stab_gnu.h
120
121 * coffread.c: internalcoff.h ->coff/internal.h
122 * buildsym.c: stab.gnu.h ->aout/stab_gnu.h
123 * depend Updated to take the above into account.
124
3053b9f2
FF
125Fri Nov 29 16:59:25 1991 Fred Fish (fnf at cygnus.com)
126
8c6e9f05
FF
127 * configure.in: Add SVR4 i386 configurations.
128
129 * config/mh-i386v4, config/mt-i386v4, tm-i386v4.h, xm-i386v4.h:
130 New files for i386/SVR4.
131
132 * tm-i386v.h: Allow START_INFERIOR_TRAPS_EXPECTED and
133 DECR_PC_AFTER_BREAK to be predefined by files including
134 tm-i386v.h.
135
136 * i386-tdep.c: Add supply_gregset(), fill_gregset(),
137 supply_fpregset(), and fill_fpregset() functions, which are
138 target dependent support functions for the SVR4 /proc register
139 interface.
140
141 * dwarfread.c (enum_type, struct_type): Expand recognized
142 compiler generated tags to include symbols beginning with '.' as
143 well as '~'.
144
3053b9f2
FF
145 * symtab.c (sources_info): Change simple printf of error message
146 to call to error().
147
4b195f9a
RP
148Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com)
149
150 * doc/gdb.texinfo: remove leading comments that survived M4 but
151 described its role in the doc; add one more font to colophon;
152 strengthen disclaimer about unsupported configs.
153
f1d77e90
JG
154Wed Nov 27 01:23:41 1991 John Gilmore (gnu at cygnus.com)
155
156 Fix bugs in C++ debugging.
157
158 * symtab.h: target_type is not used in record types.
159 Eliminate TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. Eliminate
67c29f75 160 lookup_method_type. Add TYPE_TYPE_SPECIFIC macro.
f1d77e90
JG
161
162 * symtab.c (lookup_member_type): Don't chain them up, just
163 allocate one in symbol_obstack when we need one.
164 (allocate_stub_method): Build stub in symbol_obstack.
165 (check_stub_method): Move here from values.c. Don't deallocate
166 stub; overwrite it.
167 (lookup_method_type): Gone now.
168
169 * buildsym.c: Handle g++ v1 stabs a little bit better.
170 Change some C++ parsing error()s to complain()ts.
171 * buildsym.c, findvar.c, printcmd.c, symtab.c: Make unions and
172 structs have the same representation and work the same as far as
173 C++ is concerned.
174 * buildsym.c, symtab.c, values.c: Remove all references to
175 TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT.
176
177 * valops.c: Improve comments and indentation. Only call
178 check_stub_method when the stub flag is on.
179 * valprint.c: Fix or mark minor bugs and unportabilities.
180
181 * coffread.c (anonymous unions): Allocate a cplus structure.
182
183 * mipsread.c: Eliminate "template" types. Build new, real
184 types whenever we need them. Allocate cplus structures as needed.
185 Bulletproof the type parsing a bit more. Mark storage leaks.
67c29f75
JG
186 (parse_type): Copy TYPE_TYPE_SPECIFIC when copying a real type
187 on top of a partial type.
f1d77e90 188
b68da3b8
JG
189Fri Nov 22 16:39:57 1991 John Gilmore (gnu at cygnus.com)
190
378d8e73
JG
191 * inflow.c (terminal_inferior): Check the results of ioctl's, and
192 print a message if any of them fail.
193 (terminal_ours_1): Store result of ioctl's for debugging, but
194 don't print (the terminal isn't ours...).
195
b68da3b8
JG
196 * tm-tahoe.h (FRAME_ARGS_ADDRESS): No need to offset from frame
197 pointer.
198
199 * m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoid
200 conflicts with system header files.
201
8013e170
JG
202Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com)
203
2dd074f4
JG
204 * Roll VERSION to 4.2.95.
205
3ae444f8
JG
206 * buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h>
207 first, before defs.h.
208 * config/mh-i386sco: Override compiler to gcc, print warning.
2b61280a 209 * configure.in: Handle i386-none-aout rather than i386-aout-none.
3ae444f8 210 * infptrace.c, language.h, utils.c: Lint.
1a5a8f2a
JG
211 * m2-exp.y: #undef MAX and MIN in case system includes set them.
212 * xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of
213 {BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid
214 redefinition warnings.
215 * defs.h: Reorder things so that the xm-file gets first crack
216 at #define's, followed by defs.h and then the tm-file.
217 * Makefile.in: Remove spaces after 'ignore exit code' - flags.
218 Late-model BSD 'make's don't cope with them.
8013e170 219
3cb0d72d
JG
220Thu Nov 21 23:48:56 1991 John Gilmore (gnu at cygnus.com)
221
222 * Makefile.in: Roll new files into various lists.
223
4cfd3c49
FF
224Thu Nov 21 18:26:11 1991 Fred Fish (fnf at cygnus.com)
225
226 * dwarfread.c (struct_type): Must initialize the c++ specific
227 portion of union types as well as struct types, since gdb attempts
228 to reference the c++ specific info for both types.
229
7d9884b9
JG
230Thu Nov 21 10:23:52 1991 John Gilmore (gnu at cygnus.com)
231
2e8521a9
JG
232 * Makefile.in: Roll VERSION to 4.2.90.
233
234 * defs.h: Incorporate param.h into defs.h. All users changed.
7d9884b9
JG
235 * param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead.
236 * param.h, param-no-tm.h: Removed.
237 * Update copyrights in all changed files.
238 * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
239 solib.c, symtab.h, tm-umax.h, valprint.c: Lint.
240 * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
241 xm-merlin.h: Avoid host include files in target descriptions.
242 * getpagesize.h: Removed, libiberty copes now.
21f62bbd 243 * Makefile.in: Remove getpagesize.h, param.h, param-no-tm.h.
7d9884b9 244
3db0634c
JG
245 * exec.c (exec_files_info): If `verbose' is set, show file offset
246 as well.
247
f7402c04
JG
248 * main.c: Use getcwd rather than getwd.
249 * standalone.c: Fake getcwd rather than getwd.
250 * xm-*.h: Remove fake values of MAXPATHLEN.
251
76b28d05
JG
252 * xcoffexec.c: Add /* */ to #if 0'd thing to help ANSI.
253
6373dbe3
JG
254Wed Nov 20 18:35:56 1991 John Gilmore (gnu at cygnus.com)
255
49faf3b6
JG
256 * Remove gdb/hp-include. Support for HP a.out oddities should be
257 in BFD, not in GDB. Move gdb/hp-include/a.out.h to include/a.out.hp.h.
258
44ff4c96
JG
259 * infptrace.c, tm-sun386.h: Cashier <a.out.gnu.h>, remove refs.
260
f318d221
JG
261 * configure.in, xconfig, tconfig, Makefile.in, doc/gdbint.texinfo:
262 Makefile fragments for various hosts and targets now come from
263 gdb/config/mh-* and gdb/config/mt-*. This is for consistency with
264 other config setups.
3978d059 265
6373dbe3
JG
266 * rs6000-pinsn.c, rs6k-opcode.h: Clean up.
267 * rs6k-opcode.def: Delete.
268
768be6e1
FF
269Wed Nov 20 05:04:40 1991 Fred Fish (fnf at cygnus.com)
270
271 * dwarfread.c: Recognize obsolete form of AT_element_list
272 attribute still used by at least one AT&T compiler, and possibly
273 more.
274
d018c8a6
FF
275Tue Nov 19 07:53:55 1991 Fred Fish (fnf at cygnus.com)
276
0db97eed
FF
277 * dwarfread.c (enum_type, struct_type): Ignore names invented by
278 helpful compilers for anonymous structs, unions, and enums.
279
d018c8a6
FF
280 * c-exp.y, m2-exp.y: Add defines for yymaxdepth, yy_yys, and
281 yy_yyv, so multiple parsers produced by SVR4 versions of yacc
282 can coexist in the same executable without collision.
283
284 * symtab.h: Add declaration for lookup_template_type() to kill
285 compiler warnings about conversions from int to pointer.
286
b6666a5d
FF
287Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com)
288
5129100c
FF
289 * procfs.c: Move inclusion of defs.h to before param.h, as in
290 all the other source files that include both. This is required
291 to supply some typedefs that are used in files included by param.h.
292
b6666a5d
FF
293 * m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for
294 skipping function prologues, ala the other cpu families (i386,
295 mips, m88k, etc). Add the ability to skip movm and fmovm
296 instructions in the prologues. Still needs support for profile
297 (-p compiled) prologue sequences (FIXME).
298
299 * tm-68k.h: Change SKIP_PROLOGUE macro to use the new generic
300 m68k prologue skipping function by default.
301
302 * tm-altos.h, tm-isi.h: Continue to use the old definition of
303 SKIP_PROLOGUE.
304
e140f1da
JG
305Mon Nov 18 15:12:45 1991 John Gilmore (gnu at cygnus.com)
306
b9fd1330 307 * Makefile.in: Remove tdesc stuff, and extra blanks before colons.
e140f1da 308 * blockframe.c: Remove tdesc-related code. Default
b9fd1330 309 FRAME_CHAIN_COMBINE.
e140f1da
JG
310 * infrun.c: Remove tdesc-related code.
311 * m88k-tdep.c (frame_chain_combine, init_frame_pc): Remove copies
312 of defaultable things.
313 * tm-m88k.h: New file, common to all Moto 88k target configs.
314 Derived from tm-delta88.h.
315 * tm-delta88.h: Use it.
316 * xm-m88k.h: Common file for 88K hosts. Remove obsolete stuff.
317 * xm-delta88.h: Use it.
318 * tm-*.h: Remove FRAME_CHAIN_COMBINE macros, since all are
319 default.
320 * coffread.c: Remove tdesc stuff.
5e2569e6
JG
321 * tconfig/delta88, tconfig/m88k: Remove tdesc stuff.
322 * xconfig/m88k: Rename tm-88k.h to tm-m88k.h.
e140f1da
JG
323
324Mon Nov 18 13:51:37 1991 Per Bothner (bothner at cygnus.com)
325
326 * source.c (open_source_file): If openp fails, try again
327 using just the base (non-directory) part of the filename.
328 This solves various annoying problems, such as when the
329 source was compiled with an absolute pathname - and the
330 source files have moved. Or if the source was compiled
331 using a relative pathname, it can be more convenient
332 to just specific the source directory to the dir command.
333
2d6186f4
FF
334Mon Nov 18 00:04:41 1991 Fred Fish (fnf at cygnus.com)
335
1a18a185
FF
336 * cplus-dem.c (munge_function_name): Add missing third arg to
337 instance of call to do_type().
338
2d6186f4
FF
339 * dwarfread.c: Changes to match new dwarf.h. Remove
340 AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data,
341 and AT_is_external.
342
572acbbe
MT
343Sun Nov 17 16:20:53 1991 Michael Tiemann (tiemann at rtl.cygnus.com)
344
345 * symtab.h (struct type): Moved C++-specific fields into new type
346 `struct cplus_struct_type'. Now takes 10% less memory. Many
347 macros changed.
348 * symtab.c (init_type): Don't set fields belonging to
349 TYPE_CPLUS_SPECIFIC unless TYPE is TYPE_CODE_STRUCT.
350 * buildsym.c (read_type): Allocate TYPE_CPLUS_SPECIFIC for
351 TYPE_CODE_STRUCT.
352 (read_struct_type): Ditto. Also, add comments about how we can
353 deduce TYPE_VPTR_FIELDNO from inheritance info and fieldname info.
354 * coffread.c (decode_base_type): Allocate TYPE_CPLUS_SPECIFIC for
355 TYPE_CODE_STRUCT.
356 (read_struct_type): Ditto.
357 * dwarfread.c (struct_type): Ditto.
358
359 * symtab.c (read_range_type): Don't set TYPE_MAIN_VARIANT.
360 (lookup_pointer_type): Don't use or set TYPE_MAIN_VARIANT.
361 (lookup_reference_type): Ditto.
362
363 * cplus-dem.c: Many changes made to handle decoding of
364 ANSI-mangled names.
365 * symtab.c (gdb_mangle_name): Mangle/demangle ANSI-mangled names
366 as well.
367
cd71911e
SG
368Fri Nov 15 17:57:59 1991 Stu Grossman (grossman at cygnus.com)
369
370 * mipsread.c (parse_partial_symbols): patch to keep DEC C
371 compiler from making gdb bomb out. Thanks to Ed Santiago!
372
a7446af6
FF
373Thu Nov 14 19:27:30 1991 Fred Fish (fnf at cygnus.com)
374
5a5a3b0f
FF
375 * symfile.c: Add function compact_misc_function_vector() to
376 remove duplicate misc function vector entries. See comments
377 in source for why this is necessary/desirable.
378
a7446af6
FF
379 * dwarfread.c: Add misc function type parameter to internal
380 record_misc_function(). Remove calls to init_misc_bunches()
381 and condense_misc_bunches(), these are now done in elfread.c.
382
383 * elfread.c: Add support for reading bfd canonical symbol tables
384 and generating misc function vector entries for global and
385 absolute symbols. Do calls to init_misc_bunches() and
386 condense_misc_bunches() where they will enclose all calls to
387 record_misc_function(), including those in dwarfread.c.
388
389Thu Nov 14 17:02:11 1991 Roland H. Pesch (pesch at cygnus.com)
390
391 * doc/Makefile.in: new targets gdb.me, gdb.ms, gdb.mm
392 (roffable documentation).
393 * doc/gdb.texinfo: embedded hints (as comments) for better
394 texi2roff conversion.
395
430923f3
JG
396Thu Nov 14 13:18:25 1991 John Gilmore (gnu at cygnus.com)
397
398 * m88k-tdep.c (examine_prologue): Deal with OR instructions
399 that shuffle parameters into other regs.
400 * symtab.c (decode_line_1): Fix bug introduced in Per's change
401 of Nov 12th.
402
a219b090
SC
403Wed Nov 13 19:51:11 1991 Steve Chamberlain (sac at cygnus.com)
404
405 * Makefile.in, xconfig/delta88 made it install a sysV manual page;
406 gdb.z into the right place.
407
ea3c0839
JG
408Wed Nov 13 16:45:13 1991 John Gilmore (gnu at cygnus.com)
409
410 Motorola 88000 port without tears, I mean without tdescs.
411
412 * m88k-tdep.c: Blow away all tdesc stuff.
413 Provide functions for all the frame-related macros in
414 tm-delta88.h. Adopt i960-style EXTRA_FRAME_INFO.
415 (examine_prologue, frame_find_saved_regs, skip_prologue): borrow
416 from i960-tdep.c and adapt to the function prologues on the 88k.
417 (read_next_frame_reg): Borrow from mips-tdep.c.
418 FIXME: frame_locals_address should go away.
419
420 * tm-delta88.h: Dump all the tdesc stuff.
421 Macros for all frame-related stuff call fns of same name.
422 Remove duplicated definitions. FP_REGNUM becomes same as
423 SP_REGNUM.
424
425 * xm-88k.h: Eliminate lots of library dependencies, now handled
426 in libiberty. Eliminate KDB nonsupport.
427
428 * doc/gdbint.texinfo: Add rudiments on frames. FIXME, add more.
429
430
431 * stack.c (frame_info): Mark frameless functions.
432 Print locals address (FIXME, remove if same).
433 * blockframe.c: Comment changes, FIXME after.
434 * coffread.c: Even without TDESC, need to zap "@" symbols.
435 Don't register for wierd format names; change the names in BFD.
436
437 * alloca.c, language.c, tdesc.c: Lint.
438 * tdesc.c, tdesc-lib: FIXME: remove these.
439
19230be6
JG
440Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com)
441
442 * Makefile.in: Add tdesc library support. Fixups to lint,
443 copying.c rules.
444
0e2a896c
PB
445Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com)
446
447 * symtab.c (decode_line_1): Remove spurious call to operator_chars.
448
449 Allow setting breakpoints on C++ destructors.
450 * valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR,
451 since it lies. Rely on callers to catch missing destructors.
452 * symtab.c (decode_line_1): For example (see above), here.
453 * buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR
454 flags since they are no longer used.
455
456 Fixes to support C++ methods with functional parameters.
457 * c-exp.y (func_mod rule): Allow (and ignore) list of parameter
458 types in a function type.
459 * eval.c (parse_and_eval_type), value.h: New function,
460 parse_and_eval_type, is based on old code from check_stub_method.
461 But don't actually evaluate the cast, since that calls
462 value_cast(), whcih may fail. Just extract the type
463 from the parsed expression.
464 * values.c (check_stub_method): While looping through the
465 arguments, adjust depth *after* parameter has been handled.
466 Replace call and setup of parse_and_eval with new function
467 parse_and_eval_type.
468
58ae87f6
FF
469Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com)
470
471 * utils.c, rem-multi.shar: Remove fixed arg count version of
472 concat().
473
474 * altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c,
475 core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c,
476 m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c,
477 sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c:
478 Change all instances of use of fixed args concat() to variable
479 args concat() now located in libiberty.
480
74f6fb08
JG
481Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com)
482
483 * Makefile.in: Add xcoffread.c, xcoffexec.c.
484 * xcoffread.c: New file for handling AIX mangled-coff files.
485 * xconfig/rs6000, tconfig/rs6000: New files.
486 * buildsym.c: Add hooks for xcoffread.c.
487 * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
cd56d314 488 xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files.
74f6fb08
JG
489 * xcoffexec.c: New file for handling AIX shared libraries.
490
fb182850
FF
491Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com)
492
493 * core.c: Minor rewording of message to user containing name of
494 (and possibly arguments to) the program that generated a core
495 file.
496
497 * elfread.c: Remove the register_addr() stub now that it is no
498 longer needed.
499
500 * procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new
501 fetch_core_registers() function for core file support.
502
8aca810c
FF
503Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com)
504
b662efed
FF
505 * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call
506 to do_cleanups() which resulted from a previous change.
507
8aca810c
FF
508 * elfread.c: Re-enable compilation of register_addr() stub
509 whenever it is not supplied by coredep.c
510
a048c8f5
JG
511Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com)
512
513 Add tracking of object files (that contain symbols) to gdb.
514 This includes a "struct objfile" that owns symtabs and psymtabs
515 that were read in from that binary file.
516
517 * symfile.h: Add struct objfile. Add pointer to the objfile
518 into the struct sym_fns.
519 Replace global `symfile' and `symfile_mtime' with
520 `symfile_objfile'. Add global object_files chain.
521
522 * symfile.c: Move param.h above symtab.h.
523 (sort_misc_function_vector): Add.
524 (syms_from_objfile): Was syms_from_bfd.
525 (symfile_open): Now returns objfile.
526 (allocate_objfile): New.
527 (free_objfile): New, replacing free_all_.*symtabs.
528 (symfile_init): Takes objfile arg, puts it in sym_fns result.
529 (reread_symbols): Searches whole chain of objfiles.
530 (allocate_symtab): Takes objfile as new parameter, chains them.
531 Handle INIT_EXTRA_SYMTAB_INFO.
532 (free_all_psymtabs, free_all_symtabs): Move here from symmisc.c.
533
534 * dbxread.c: Make more errors into complaints.
535 (push_subfile, pop_subfile): Move to buildsym.c.
536 (dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab,
537 start_psymtab, psymtab_to_symtab_1, read_ofile_symtab,
538 dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor.
539 Pass objfile. Change callers.
540 (fill_symbuf, SWAP_SYMBOL): Take bfd as arg.
541 (read_dbx_symtab): Just wipe out new symbols, not all, on error.
542 (end_psymtab): Blow away psymtab if empty.
543 (process_symbol_pair): Swallow into read_ofile_symtab.
544 (process_one_symbol): Use push_context and pop_context.
545 (virtual_context): Delete #if 0'd obsolete stuff.
546
547 * buildsym.c (end_symtab): Pass objfile.
548 (dbx_lookup_type): Handle null typevector.
549 (dbx_alloc_type): Check file number, not sym number, for -1.
550 (find_symbol_in_list): Add for xcoffread.
551 (start_symtab): Default typevector is empty. Keep reusing same
552 context_stack.
553 (end_symtab): Take objfile argument and pass it to
554 allocate_symtab. Don't make a symtab if no blocks or symbols.
555 Handle empty typevector.
556 (push_context): New function for context stack nesting.
557 (read_type): Mark FIXME where we need to reintroduce type smashing.
558
559 * buildsym.h (pop_context): Macro, paired with push_context.
560 (subfile_stack): Move here from dbxread.c.
561
562 * coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg.
563 (read_coff_symtab): Cleanup by freeing objfile, not all symtabs.
564
565 * mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr,
566 new_psymtab, new_symtab): Take and use objfile arg.
567
568 * dwarfread.c (scan_compilation_units, start_psymtab,
569 process_dies, end_symtab, dwarf_build_psymtabs,
570 read_lexical_block_scope, read_func_scope, read_file_scope): Take
571 and use objfile argument.
572 (psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file
573 descriptor. Use BFD internal functions instead.
574 (end_symtab): Call global allocate_symtab.
575
1d82d3dc 576 * elfread.c, target.c: Minor changes to accommodate objfiles.
a048c8f5
JG
577 * symtab.h: partial_symbol_table has no symfile_name member now.
578 (fn_fieldlists voffset): avoid non-int bitfield.
579 (struct symtab): Add objfile * and objfile_chain * of symtabs.
580 (struct partial_symtab): Add objfile * and objfile_chain * of
581 psymtabs. Remove symfile_name.
582
1d82d3dc
JG
583 * symmisc.c: Lose free_all_symtabs, free_all_psymtabs.
584 (printsyms_command): Rename from print_symtabs. Add selective
585 listing if 2nd argument given. Print objfile info.
586 (printpsyms_command): Rename from print_partial_symtabs. Ditto all.
587 (printobjfiles_command): New; prints objfiles lists, and checks
588 for consistency of symtab, psymtab, and objfile lists.
589
a048c8f5
JG
590 * symfile.h, symfile.c, symtab.h: Lint
591
c4668207
JG
592Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com)
593
594 * command.c: Include param.h.
595 * defs.h (warning_setup, warning): Declare.
596 * expprint.c (print_subexp, UNOP_MEMVAL case): Lint.
597 * inflow.c (new_tty): Use USE_O_NOCTTY #define.
598 * language.c, printcmd.c (print_scalar_formatted), signame.c,
599 stack.c: lint.
600
b92c774e
SC
601Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com)
602
b715d5b4
SC
603 * Makefile.in: link with libiberty after libreadline, since
604 readline might want something in libiberty.
b92c774e
SC
605 * m88k-xdep.c: Fixed the register offsets in the ptrace_user
606 struct for BCS 88k machines.
607 * xm-m88k.h: don't define USIZE if already defined.
608 * configure.in: Added delta88 target.
609
fbcb5095
JG
610Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com)
611
1bf068b8
JG
612 * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac.
613
fbcb5095
JG
614 * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
615 READ_MIPS_FORMAT, which have been unused since BFD. Still
616 remaining is COFF_NO_LONG_FILE_NAMES.
617 * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from
618 function calling code moved to m68k-tdep.c.
619
e64fbb3a
JG
620Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com)
621
622 * coffread.c: Eliminate c_nsyms in favor of c_naux.
623 Complain if no auxents on .bf and .ef FCN symbols, and assume
624 lots of line numbers.
625 (init_linenos, enter_linenos): Use a sentinel at the end of the
626 read-in linenos, to make for a fast, safe loop-end test.
627
628Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com)
629
630 * coffread.c (read_coff_symtab): coffread used to rely on the
631 x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a
632 function. Two of the formats I'm using (29k and 88k) don't seem to
633 set it. Ths patch to fcn_last_line and (enter_linenos) is an
634 attempt to use the actual size of the linno table in the file to set
635 the number of linenos to process.
636
0aaa124f
SC
637Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com)
638
639 * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and
640 mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files
641 are created in place, so the mv fails, then the make continues.
642
545af6ce
PB
643Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com)
644
645 Add C++ as a separate language.
646 * defs.h (enum language): Add language_cplus.
647 * dwarfread.c (end_symtab): Support language_cplus.
648 * c-exp.y: Add new struct language_defn cplus_language_defn.
649 Don't set c to be the default language (see main.c).
650 * c-exp.y (yylex): Only look for field of this if
651 language is C++. (First difference from C!)
652 * language.c: Add case branches for C++ (currently, all
653 the same as C). Also, add c++ to "usage" note for "set lang".
654 * valprint.c (typedef_print). Add case branches for C++.
655 * main.c (main): New way to set initial language: Look at
656 file extension of psymtab containing main(). (Same as we
657 do for symtabs, but avoid loading the symtab yet.)
658 * symtab.c: New routine find_main_psymtab(), used by main()
659 to set initial language.
660 * symfile.c (allocate_symtab): Move code for mapping file
661 extensions-> languages to new deduce_language_from_filename().
662
663 Fix a C++ problem when looking for methods in super-classes.
664 There was confusion between base and derived types.
665 * valops.c (value_fn_field): Change function interface.
666 * values.c: Use new value_fn_field interface.
667
abefb1f1
PB
668Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com)
669
670 * infrun.c: Fixed typo in comment.
671 * utils.c: All the v*fprintf emulation is now in libiberty,
672 so we can get rid of some junk.
673 * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
674 xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.
675 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
676 type operands, as used by branch instructions.
677 * gmalloc.c: Fix prototype of memcpy.
678 * elfread.c: Comment out register_addr, since it conflicts
679 with the one in coredep.c.
680 * buildsym.h: Remove extern declarations of two functions
681 that are really static in buildsym.c.
682 * tm-mips.h: Add symbolic names for more registers.
683 * mips-xdep.c (store_inferior_registers): Use new register names.
684 * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now
685 only used for core files, not ptrace. Therefore,
686 the KERNEL_U_ADDR hack is no longer needed.
687 The mapping to ptrace number is now in in mips-xdep.c.
688 * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the
689 mapping from the old REGISTER_U_ADDR), and use it
690 in {fetch,store}_inferior_registers.
691 * mipsread.c: Rename #include ecoff.h to new name coff-mips.h.
692 * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame):
693 Save/restore FP regs correctly (?).
694 * dbxread.c: Remove duplicate define_symbol and type_synonym_name
695 (these had been previously moved to buildsym.c).
696 Hence, define_symbol becomes extern instead of static.
697 * buildsym.c (read_struct_type): Comment out bogus handling
698 of C++ operator methods. Minor hacking of reading of class
699 contexts. Make define_symbol non-static, so dbxread.c can call it.
700
c9bd6710
JG
701Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com)
702
703 * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real
704 filename with error messages.
705 * stack.c (frame_select_command): Rename to select_frame_command
706 to avoid "fr" and "fra" having nonunique completions.
707 * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *.
708 (symfile_init): Print file format name when unable to handle it.
709 (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST.
710 * symmisc.c (free_symtab): Only free linetable if nonzero.
711 * symtab.h: Remove obsolete BLOCKLIST macros.
712
d7d1098d
SG
713Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com)
714
715 * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure
716 that stop_step is 1 at bottom of main loop. I don't know why this
717 needs to be done, but it helps me sleep better at night.
718
8b3c897a
SG
719Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com)
720
721 * main.c (initialize_history): Read history after reading all
722 init files.
723
4137c5fc
JG
724Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com)
725
726 * buildsym.c: Break out initial malloc sizes.
727 (record_line): Record directly in a subfile. Alloc on demand.
728 (compare_line_numbers): Add from xcoffread.c.
729 (end_symtab): New params say whether to sort pendings and
730 linetable. Patch block stabs if defined. Shrink linetable before
731 allocating the symtab.
732 * buildsym.h: Delete line_vector* and prev_line_number. Add
733 global_stabs and file_stabs for xcoffread.
734 * dbxread.c (start_subfile): Move to buildsym. Change above calls.
735 * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST.
736 * symmisc.c, symtab.c: Cope with null LINETABLEs.
737
738 * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.
739 * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h,
740 tm-sparc.h: Accept fromleaf parameter.
741 * c-exp.y (yyerror): Pass error message if given.
742 * configure.in: Add rs6000 host and target.
743 * inflow.c (new_tty): O_NOCTTY kludge for RS/6000.
744 * symfile.h (entry_point): Add.
745
c0302457
JG
746Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com)
747
748 * buildsym.c: New file. Breaks out symbol-table-building routines
749 from dbxread.c, so they can be shared with xcoffread.c.
750 * buildsym.h: New file. Declarations for buildsym.c users.
751 * dbxread.c: Remove large chunks into buildsym.c.
d47d5315
JG
752 * Makefile.in: Add buildsym.c and buildsym.h.
753
754 * symfile.c (syms_from_bfd): New routine.
755 (add_symbol_file): Call it to do the real work.
756 (syms_from_bfd): Initialize entry_point before calling symfile_init.
757 * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
758 Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
c0302457 759
4c53d9ca
DHW
760Fri Oct 25 10:58:16 1991 Mark Eichin (eichin at cygnus.com)
761
762 * cplus-dem.c (cplus-demangle): added support for templates, static
763 data, and the new (correct) mangling for destructors.
764
765 * dwarfread.c: (dwarfwarn): created a varargs version of
766 dwarfwarn, for non __STDC__ compilers.
767
768 * c-exp.y: (yylex): added match for "template" token.
769 (typebase): added TEMPLATE name '<' type '>' clause, for explicit
770 specification of template types.
771
772 * symtab.c: (lookup_template_type): new function for finding
773 templates in symbol table.
774 (type_name_no_tag): changed to explicitly check for s/u/e at the
775 beginning of the symbol - if it is a template, none of these will
776 be there (but the name will still contain spaces.)
777
bcccec8c
PB
778Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com)
779
780 Various fixes to improve g++ debugging.
781 * symtab.h: Add is_const and is_volatile flags for each method.
782 These are bit fields - take their space from voffset,
783 which shrinks to 30 bits. Since voffset is now a bitfield,
784 make it unsigned for portability. This changes its interpretation
785 slightly: Static methods now have voffset 1 instead of -1,
786 and virtual offsets start at 2, not 1.
787 * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name,
788 since it now returns an entire magled method name, not just
789 the type part. This avoids some duplication.
790 It also allows us to correctly mangle const and volatile
791 methods (using the new is_const and is_volatile bit fields
792 mentioned above).
793 * valprint.c (type_print_base), values.c (check_stub_method):
794 Simplify by using new gdb_mangle_name.
795 * values.c (value_headof): Fix to correctly handle single
796 inheritance (actually two fixes, either of which suffices).
797 * dbxread.c (read_struct_type): Handle const and volatile
798 method specifiers.
799 * dbxread.c (read_struct_type): Yet one more place where
800 we must handle '\\' continuations.
801 * valprint.c (vtbl_ptr_name): Add final '\0'.
802
eb3f3e5c
SG
803Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com)
804
5ab580cc
SG
805 * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of
806 short return values for sparc and 68k. Patch from Paul Eggert.
807
eb3f3e5c
SG
808 * coffread.c, coredep.c, i386-xdep.c: install patches for
809 SysV/386 3.2 from Mauro DePalma.
810
9cb602e1
JG
811Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com)
812
c58215f2
JG
813 * core.c (core_file_info), exec.c (exec_file_info): Print file
814 type. Use printf_filtered.
815
9cb602e1
JG
816 * valops.c (value_fetch_lazy): Avoid 0-length fetches.
817
b662acae
FF
818Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com)
819
c8c0a2bd
FF
820 * dwarfread.c: Add casts to remove compiler warnings.
821
84d82b1c
FF
822 * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h,
823 tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h,
824 tm-sun3.h: Remove locally duplicated code for calling functions
825 in the inferior. The only differences were in the specific trap
826 vectors used and whether or not an fpu was present. These are
827 now handled by appropriate definitions of BPT_VECTOR and
828 HAVE_68881 respectively. Other minor obvious cleanups.
829
830 * valops.c: Correct a minor misspelling.
831
ed317bb3
FF
832 * utils.c: Remove local BSD/USG hacks that are now in libiberty.
833
b662acae
FF
834 * dwarfread.c: Remove prototype for dwarfwarn. Does not work
835 with <varargs.h>.
836
313fdead
JG
837Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com)
838
b0077123
JG
839 * stack.c (frame_command): Always print. Use new
840 frame_select_command to select a frame without printing.
841
313fdead
JG
842 * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable.
843
4a35d6e9
FF
844Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com)
845
35f5886e
FF
846 * dwarfread.c: New file for DWARF debugging format support.
847
848 * elfread.c: New file for ELF object file format support.
849
850 * procfs.c: New file for SVR4 /proc (process file system) support.
851
852 * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for
853 Amiga UNIX support.
854
855 * xm-svr4.h, tm-svr4.h: New files for SVR4 support.
856
857 * xm-m68k.h: New file for host machines with m68k cpu.
858
bb4ff694
FF
859 * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR.
860 Add elfread.o and dwarfread.o to OBS.
861
862 * symfile.h: Add "elf" to list of supported formats in comment.
863
e2aab031
FF
864 * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin
865 types to gdb, builtin_type_long_double, builtin_type_complex, and
866 builtin_type_double_complex. Add and use new TARGET_SHORT_BIT,
867 TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT,
868 TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and
869 TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated
870 types on the target machine (ala the existing TARGET_LONG_LONG_BIT).
871
02070680
FF
872 * infrun.c: When using SVR4 /proc interface instead of ptrace(),
873 call proc_set_exec_trap() to setup child to stop at first instruction.
874
875 * inftarg.c: When using SVR4 /proc interface, call proc_wait()
876 rather than wait().
877
878 * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(),
879 supply_fpregset(), and fill_fpregset(), which are machine
880 dependent support routines for SVR4 /proc interface.
881
2bc2e684
FF
882 * utils.c: Add warning_setup() and warning(). Warning() behaves
883 the same as error() except that it returns normally rather than
884 jumping back to command level. Modules that don't want to call
885 warning() for some reason, but want to produce their own warnings,
886 can call warning_setup() to ensure compatibility with the way
887 warning() and error() deal with the terminal.
888
eaa1ef1d
FF
889 * symtab.c: Make internal errors produce more useful messages.
890
dcd15e5e
FF
891 * tm-68k.h: Move code that is duplicated in almost every single
892 m68k based machine's configuration files to this common file.
893 Duplications in the configuration files still need to be removed
894 (FIXME).
895
150f5436
FF
896 * infrun.c (child_create_inferior): System V versions must call
897 setpgrp() with no arguments, to comply with prototyping typically
898 in <unistd.h>.
899
cb17dfb1
FF
900 * munch: Add support for SVR4 style nm output.
901
4a35d6e9
FF
902 * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object
903 file specific fields from the partial symbol table structure and
904 replace them with a pointer to private data for each different
905 flavor of object file reader to initialize appropriately.
906
b0077123
JG
907Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com)
908
909 * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c
910 and previous.
911
912 * mipsread.c (fixup_undef_type): New function. If a struct /
913 union / enum is defined in a header file but nowhere else used,
914 (by typedefing, pointer referencing or declaration) the mipsread code
915 builds the complete tree for the structure but leaves its code as
916 TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is.
917 Guess its type based on the details of the members.
918
0d3e7f60
SG
919Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com)
920
921 * infrun.c (wait_for_inferior): Check return value from
922 find_pc_line.
923
bc6c937d
SG
924Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com)
925
926 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
927 by my last edit to this routine.
928
b0077123
JG
929Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com)
930
931 * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging.
932 FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap
933 the values before putting them into the dummy code. (From Peter
934 Schauer)
935
44e4e473
SC
936Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com)
937
938 * configure.in: added ebmon target.
939
785ce19c 940Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com)
a1b8c5d6
JG
941
942 GDB-4.2 release!
943
944 * Makefile.in: Roll VERSION to 4.2.
44e4e473 945 * README, TODO, WHATS.NEW: Update.
a1b8c5d6
JG
946
947 * core.c (core_open): Improve error message for bad file.
948 Pass .reg virtual memory address to fetch_core_registers to help
949 it find the registers in the core-file header.
950 * coredep.c (fetch_core_registers): Take new argument, use it,
951 and pass it to register_addr to locate the block of registers.
785ce19c 952 * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
a1b8c5d6
JG
953
954 * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
955 Sequent N_FN_SEQ like everybody else's N_FN.
956
957 * main.c: Circumvent SCO cc bug with #if !!defined(USG).
958 * tm-i386v.h: #endif guck.
959 * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
785ce19c
JG
960 * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
961 * xconfig/tahoe: Add REGEX, which seems to be missing.
962
963 * coredep.c: Add <sys/types.h> for SCOnix.
964 * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file.
965 * printcmd.c (print_formatted): Flush output before disassembly.
a1b8c5d6 966
93ae2e88
RP
967Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com)
968
9e0906a6
RP
969 * doc/refcard.tex (sec "Working Files"): consistent metavars and