Per Bothner [Wed, 5 Aug 1992 18:46:00 +0000 (18:46 +0000)]
* copy.c: When is_strip (because it is invoked as the strip
program), follow traditional argv processing:
'strip file1 file2' now strips file1 and file2, rather
than stripping file1 (as input), leaving output in file2.
John Gilmore [Wed, 5 Aug 1992 08:59:10 +0000 (08:59 +0000)]
* tc-m68k.c (try_index): Error if index scaling specified and
assembling for an older CPU than a 68020.
This bug was found at Adobe because GAS did not diagnose incorrect
68020 code generated by GCC when compiling for 68010. We had to debug it
in the target system as failing instructions.
Per Bothner [Wed, 5 Aug 1992 04:15:37 +0000 (04:15 +0000)]
* cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
cdtest.exp: A test program (copied from libg++/test-install)
that tests that constructor and destructors are handled
corrrectly.
Fred Fish [Mon, 3 Aug 1992 07:28:46 +0000 (07:28 +0000)]
* configure.in: Recognize i486 host cpu.
* valprint.c (type_print_derivation_info): Print derivation info
in same form as class declarations in source.
* valprint.c (type_print_varspec_suffix): Split arg printing
code out to type_print_args function.
Fred Fish [Sat, 1 Aug 1992 20:51:09 +0000 (20:51 +0000)]
* config/stratus.mt (CC): Remove definition.
* elf.c (bfd_section_from_shdr, elf_section_from_bfd_section,
section_from_elf_index): Add SHT_BEPROGBITS case for i860 in
big endian mode.
* elf.c (bfd_section_from_shdr): Test for the possibility that
section_from_elf_index returns NULL and don't dereference it.
Fred Fish [Sat, 1 Aug 1992 20:47:51 +0000 (20:47 +0000)]
* dwarf.h: Replace with current version from gcc distribution.
* common.h (SHT_BEPROGBITS): Add section type for i860 operating
in big endian mode, where code is in a separate section. The
SHT_PROGBITS section is used for data. From pfieland@stratus.com.
Fred Fish [Sat, 1 Aug 1992 20:40:59 +0000 (20:40 +0000)]
* dwarfread.c (struct dieinfo): Remove obsolete at_visibility,
at_import, at_frame_base.
* dwarfread.c (completedieinfo): Remove cases for obsolete
AT_visibility, AT_import, and AT_frame_base attributes.
* breakpoint.h (BREAKPOINT_MAX): Increase from 10 to 16 for
i860, which can keep up to 4 shadow breakpoints.
* tm-stratus.h (USG): Define.
* tm-stratus.h (TARGET_BYTE_ORDER): Define to BIG_ENDIAN.
* xm-stratus.h (HOST_BYTE_ORDER): Define to BIG_ENDIAN.
* xm-stratus.h (xm-sysv4.h): Include, name changed from xm-svr4.h.
* xm-stratus.h (NO_JOB_CONTROL): Remove define.
* config/stratus.mt (TDEPFILES): Include files available from
stratus that are not yet in release pending receipt of paperwork
at FSF.
* buildsym.c (finish_block): Minor code format change.
* gdbtypes.h (struct field): Add to comments.
* gdbtypes.h (virtual_field_bits): Add to comments.
* objfiles.c (allocate_objfile): Change obstack interface to
match FSF merging efforts.
Ken Raeburn [Sat, 1 Aug 1992 02:26:13 +0000 (02:26 +0000)]
* config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
processor/opcode mismatch, so reword the error message.
(md_assemble): If no CPU has been set (even if FPU/PMMU
characteristics have been), default to 68020. Don't need extra
quotes around error string.
Ken Raeburn [Sat, 1 Aug 1992 02:12:55 +0000 (02:12 +0000)]
* configure.in (mips host): Accept "ultrix" with version number.
* expr.c (floating_constant): Separate "=-" to avoid confusing
ancient or broken compilers.
* config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
processor/opcode mismatch, so reword the error message.
(md_assemble): If no CPU has been set (even if FPU/PMMU
characteristics have been), default to 68020. Don't need extra
quotes around error string.
Fred Fish [Thu, 23 Jul 1992 04:41:40 +0000 (04:41 +0000)]
* lmode_inferior_valid, lmode_ours_valid: New static vars.
* inflow.c (terminal_init_inferior, terminal_inferior,
terminal_ours_1, initialize_inflow): Record and use state
of lmode_inferior_valid and lmode_ours_valid.
Fred Fish [Tue, 21 Jul 1992 04:14:34 +0000 (04:14 +0000)]
* buildsym.c (read_struct_type): Initialize structs allocated
with alloca, to avoid using random values from stack later on.
* defs.h (fprintf_filtered): Add prototype.
* gdbtypes.c (check_stub_method): Fix misleading comments.
* gdbtypes.c (print_arg_types, dump_fn_fieldlists): New maint
support functions.
* gdbtypes.c (print_cplus_stuff, recursive_dump_type): Many
small changes to maint support functions.
* gdbtypes.h (cplus_struct_type): Reorganize member ordering
for some fields and expand comments.
* objfiles.c (allocate_objfile): Use new obstack_alloc_arg
macro and track change to obstack_full_begin macro.
* utils.c (fprintfi_filtered): New function.
* valprint.c (type_print_base): Fixup field printing to not
print extraneous lines and not print bogus "no data fields"
messages for C++ classes with no data members. Also use new
fprintfi_filtered function.
Stu Grossman [Sat, 18 Jul 1992 00:00:24 +0000 (00:00 +0000)]
* energize.c: Relativize pathnames in #include statements.
* (kernel_dispatch): Better error messages for unknown protocol
messages.
* (kernel_dispatch): First cut at DynamicLoad message handling.
Fred Fish [Fri, 17 Jul 1992 18:52:05 +0000 (18:52 +0000)]
* eval.c (evaluate_subexp): Ask lookup_struct_elt_type to call
error if it fails to find a member type, rather than return NULL
and trigger a coredump.
* symtab.c (lookup_symbol, lookup_demangled_block_symbol,
lookup_demangled_partial_symbol,): Ask demangle_and_match to
match on complete demanglings, including argument lists for member
functions, rather than just accepting the first demangling that
matches the class and function name.
Fred Fish [Fri, 17 Jul 1992 17:16:26 +0000 (17:16 +0000)]
* dwarfread.c (read_file_scope): Pass contents of AT_comp_dir
to start_symtab as the directory name.
* dwarfread.c (completedieinfo): Strip off any leading hostname
portion of the AT_comp_dir attribute string. Gdb doesn't know
what to do with them (FIXME).
Roland Pesch [Thu, 16 Jul 1992 23:52:14 +0000 (23:52 +0000)]
(1) disable documentation for .lsym at sac's request
(2) structural changes triggered thereby
(3) verify m4 and makeinfo run correctly on all versions of the doc
represented in the Makefile and m4 config definition files
as.texinfo: disabled .lsym
exploit makeinfo node defaulting
removed some conditional hair around nodes
fixed some bad conditionals in a29k config
a29k.m4, i960.m4, sparc.m4, vax.m4: supply missing switch definitions
(looks like these hadn't been tested for a while)
as-all.texinfo: mechanically derived from above
* coff-m68k.c: added R_RELLONG_NEG reloc type, and changed
RTYPE2HOWTO to cope with same.
* reloc.c (bfd_perform_relocation): added support for size of -2
(subtract a word reloc type). Updated doc.
* write.c (fixup_segment): if relaxing, don't do anything.
* config/obj-bout.[ch] : maintain the a_relaxable file header info
* config/tc-i960.c: new option -linkrelax
* bfd-in.h : add BFD_IS_RELAXABLE flag
* bout.c (bout_swap_exec_header_[in_out]): new field in exec
header e_relaxable, major hackery in callbacks
* libaout.h : add space for a_relaxable.
* seclet.c (rel): don't relax empty sections
Fred Fish [Wed, 15 Jul 1992 19:33:21 +0000 (19:33 +0000)]
* dbxread.c, dwarfread.c: Re-enable experimental code to
automatically select demangling style.
* demangle.c (DEFAULT_DEMANGLING_STYLE): Rename from simply
DEMANGLING_STYLE, to make more descriptive. Revert back to
"auto" as default. Comment use.
* Makefile.in (DEMANGLING_STYLE, DEMANGLE_OPTS): Remove.
* Makefile.in (${DEMANGLER}.o) Remove target and special
compilation rule.