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