Mark Eichin [Tue, 9 Nov 1993 23:32:04 +0000 (23:32 +0000)]
don't ever use sh explicitly
for lynxos, set SHELL=/bin/bash
Mark Eichin [Tue, 9 Nov 1993 22:07:50 +0000 (22:07 +0000)]
add patsubst %-lynxos to subst-from-hell in stamp-[34]stage-compared.
Maybe someday I'll learn enough of gnumake to turn this into something
reasonable...
Thomas Lord [Tue, 9 Nov 1993 21:29:50 +0000 (21:29 +0000)]
Same as last time (putc_unfiltered) only this time having saved the
modified source before checking it in.
Ian Lance Taylor [Tue, 9 Nov 1993 21:28:19 +0000 (21:28 +0000)]
Entries for several checkins.
Thomas Lord [Tue, 9 Nov 1993 21:15:55 +0000 (21:15 +0000)]
Fixed too many args to putc_unfiltered.
Ian Lance Taylor [Tue, 9 Nov 1993 21:08:58 +0000 (21:08 +0000)]
* elfcode.h (elf_object_p): Rather than looking through an array
of architectures, get the ELF EM_xxx code from the backend
information. Let the generic ELF target match any EM_xxx code not
matched by another ELF target. Call elf_backend_object_p to let
the backend do more checks and set global information.
* libelf.h (struct elf_backend_data): Added elf_machine_code and
elf_backend_object_p fields.
(struct bfd_elf_arch_map): Removed.
(bfd_elf_arch_map, bfd_elf_arch_map_size): Don't declare.
* elf32-target.h, elf64-target.h: Initialize elf_machine_code
field with ELF_MACHINE_CODE. Initialize elf_backend_object_p
field with elf_backend_object_p (if it is defined).
* elf32-gen.c, elf32-hppa.c, elf32-i386.c, elf32-i860.c,
elf32-m68k.c, elf32-m88k.c, elf32-mips.c, elf32-sparc.c,
elf64-gen.c (ELF_MACHINE_CODE): Defined.
* elf32-mips.c: Include ecoffswap.h to get ECOFF swapping
routines.
(mips_elf_object_p): Set the right machine number.
(mips_elf_ecoff_debug_swap): Defined.
(elf_backend_object_p): Defined to be mips_elf_object_p.
(elf_backend_ecoff_debug_swap): Defined to be
mips_elf_ecoff_debug_swap.
* elf.c (bfd_elf_arch_map, bfd_elf_arch_map_size): Removed.
* elf32-mips.c (elf_mips_howto_table): Don't complain on overflow
for R_MIPS_26. Correct overflow detection requires matching the
upper four bits of the destination against the PC. From Ted Lemon
<mellon@pepper.ncd.com>.
* elf32-hppa.c (elf_hppa_reloc_type_lookup): Return type
should point to const data.
Mark Eichin [Tue, 9 Nov 1993 20:57:07 +0000 (20:57 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): pass SHELL.
(needed for CONFIG_SHELL to actually work)
Ian Lance Taylor [Tue, 9 Nov 1993 20:23:47 +0000 (20:23 +0000)]
* nlmconv.c (i386_mangle_relocs): Adjust reloc address by
section output_offset.
Stan Shebs [Tue, 9 Nov 1993 19:43:51 +0000 (19:43 +0000)]
Fix a braino
Roland Pesch [Tue, 9 Nov 1993 19:07:05 +0000 (19:07 +0000)]
Fixed a few regular typos (@var for @value).
Jim Kingdon [Tue, 9 Nov 1993 18:50:22 +0000 (18:50 +0000)]
* utils.c (quit): Also call gdb_flush on standard output and error.
Jim Kingdon [Tue, 9 Nov 1993 18:28:04 +0000 (18:28 +0000)]
* .gdbinit: Remove "source /.gdbinit". It causes a spurious error
if /.gdbinit doesn't exist (and I know of no convention of putting
something in /.gdbinit).
Ian Lance Taylor [Tue, 9 Nov 1993 16:33:28 +0000 (16:33 +0000)]
* libelf.h: Added some comments.
(struct elf_backend_data): Added elf_backend_ecoff_debug_swap
field. Removed unused write_relocs field.
* elf32-target.h: Adjusted elf_backend_data initialization
accordingly.
* elf64-target.h: Corrected elf_backend_data initialization to
fill in all fields and to set elf_64_p to 1.
Jeff Law [Tue, 9 Nov 1993 09:57:02 +0000 (09:57 +0000)]
* Makefile.in (distclean): Delete config-stamp and config.h
Jeff Law [Tue, 9 Nov 1993 09:52:59 +0000 (09:52 +0000)]
* config/tc-hppa.c (evaluate_absolute): Avoid relying on
ANSI-C features.
Jeff Law [Tue, 9 Nov 1993 08:51:02 +0000 (08:51 +0000)]
* config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.
Accept new argument "is_export". All callers changed. When
processing a .export directive for a function, do not allow
the user to set the type to "CODE", instead warn and set the
type to "ENTRY".
Kung Hsu [Tue, 9 Nov 1993 02:22:12 +0000 (02:22 +0000)]
Modified Files:
cp-valprint.c ChangeLog
* cp-valprint.c (cp_print_value_fields): change output from <no
value> to <optimized out or zero length>
Jeffrey Wheat [Tue, 9 Nov 1993 01:42:17 +0000 (01:42 +0000)]
RUNTEST = test for existance of a runtest in the source tree first.
Ian Lance Taylor [Mon, 8 Nov 1993 23:33:56 +0000 (23:33 +0000)]
* elfcode.h (bfd_section_from_shdr): Remove duplicate assignment
to filepos in SHT_STRTAB case.
(assign_file_position_for_section): Set BFD section filepos as
well as ELF section sh_offset.
Ian Lance Taylor [Mon, 8 Nov 1993 23:22:49 +0000 (23:22 +0000)]
* reloc.c: Use const instead of CONST.
(bfd_perform_relocation): Make variable howto a const pointer.
* bfd-in2.h, libbfd.h: Rebuilt.
Jim Kingdon [Mon, 8 Nov 1993 23:18:46 +0000 (23:18 +0000)]
* Makefile.in: Remove unused variable GCC. Remove "#CC=cc" line
which doesn't really relate to anything.
Jim Kingdon [Mon, 8 Nov 1993 23:12:38 +0000 (23:12 +0000)]
* Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
for existence of gcc/Makefile.
Jim Kingdon [Mon, 8 Nov 1993 22:58:34 +0000 (22:58 +0000)]
* gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
David D. Zuhn [Mon, 8 Nov 1993 21:20:52 +0000 (21:20 +0000)]
update for datasheet
Jim Kingdon [Mon, 8 Nov 1993 18:16:06 +0000 (18:16 +0000)]
* inflow.c (terminal_init_inferior), infptrace.c (child_resume):
Add comments about use of Lynx PIDGET and how we will want to
clean it up.
Jim Kingdon [Mon, 8 Nov 1993 17:54:29 +0000 (17:54 +0000)]
* stabs.texinfo: Clean up stuff about visibility and virtual
characters.
* stabs.texinfo (N_M2C): Cite Sun doc.
Jim Kingdon [Mon, 8 Nov 1993 17:27:48 +0000 (17:27 +0000)]
* stabsread.c (read_one_struct_field): Don't give up on unknown
visibility character, just shove it in fip->list->visibility.
(read_baseclasses): Don't give up on unknown virtual or visibility
characters, just assume a reasonable default, complain, and keep
going.
(attach_fields_to_type): Complain on unrecognized visibility.
One result of all this is that '9' (VISIBILITY_IGNORE) can be used
in a stab as well as being something which GDB uses internally.
Ian Lance Taylor [Mon, 8 Nov 1993 17:09:18 +0000 (17:09 +0000)]
* config/tc-mips.c (mips_ip, printInsn): Handle 'k' (from Ted
Lemon <mellon@pepper.ncd.com>).
(mips_ip): Permit odd numbered floating point registers if -mips3.
Jim Kingdon [Mon, 8 Nov 1993 17:02:08 +0000 (17:02 +0000)]
* stabsread.c: Remove long_kludge_name code (it was already #if 0).
* stabsread.c (read_one_struct_field): Clean up comments to reflect
Kung's change of 5 Nov 93.
David Edelsohn [Mon, 8 Nov 1993 16:00:17 +0000 (16:00 +0000)]
* configure.in: Remove h8300h, we have multilib now.
David Edelsohn [Mon, 8 Nov 1993 15:48:42 +0000 (15:48 +0000)]
* configure.in: Remove h8300h, we have multilib now.
David Henkel-Wallace [Mon, 8 Nov 1993 14:28:46 +0000 (14:28 +0000)]
netware target support.
David Henkel-Wallace [Mon, 8 Nov 1993 14:27:46 +0000 (14:27 +0000)]
assert netware, etc
David Henkel-Wallace [Mon, 8 Nov 1993 14:22:06 +0000 (14:22 +0000)]
netware target support.
David Henkel-Wallace [Mon, 8 Nov 1993 14:21:05 +0000 (14:21 +0000)]
netware target support.
Remove redundent unixware target; made it the same as svr4 which is what
config.guess chooses anyway.
David Henkel-Wallace [Mon, 8 Nov 1993 14:19:26 +0000 (14:19 +0000)]
Netware target support
Peter Schauer [Mon, 8 Nov 1993 07:53:45 +0000 (07:53 +0000)]
* alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
FLOAT_FORMAT_CODE to put out floating point register names.
Peter Schauer [Mon, 8 Nov 1993 07:51:23 +0000 (07:51 +0000)]
* symtab.c (decode_line_1, decode_line_2): Do not adjust pc by
FUNCTION_START_OFFSET if funfirstline is not set.
Jeff Law [Mon, 8 Nov 1993 04:23:27 +0000 (04:23 +0000)]
* libbfd.c (bfd_put_8): Add parens around reference to "val"
argument.
Jeff Law [Sun, 7 Nov 1993 20:33:18 +0000 (20:33 +0000)]
* First cut at cleaning up PA instruction parsing.
* config/tc-hppa.c (pa_get_absolute_expression): Accept pointer to
insn structure as an argument, and a pointer to a string. All
callers changed. Always read any field selector here. Call
evaluate absolute to get a return value.
(evaluate_absolute): Addept pointer to insn structure as its
argument. All callers changed.
(INSERT_FIELD_AND_CONTINUE): New macro for inserting a bitfield
into an instruction and continuing the main pa_ip loop.
(CHECK_FIELD): New macro for simple range checking of fields.
(pa_ip): Delete unused variables. Use INSERT_FIELD_AND_CONTINUE
and CHECK_FIELD. All immediate fields now pass through
pa_get_absolute_expression which will also handle field selectors.
Delete dead code. Simplify.
(md_apply_fix_1): Use CHECK_FIELD to verify any fixes that are
applied are in range. Use bfd_put_32 rather than inserting each
byte of the fixed instrution into the buffer ourselves.
Jeff Law [Sun, 7 Nov 1993 20:08:19 +0000 (20:08 +0000)]
* write.c (fixup_segment): Delete {SEG,GLOBAL}_DIFF_ALLOWED code,
it was PA specific and is no longer needed (it's now handled
within the PA backend).
* config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.
* config/tc-hppa.c (fix_new_hppa): If the subtract symbol for
a fixup is $global$ change it to NULL as $global$ is really only
needed long enough to determine the base type of relocation to use.
Jeff Law [Sun, 7 Nov 1993 20:07:51 +0000 (20:07 +0000)]
* config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.
* config/tc-hppa.c (fix_new_hppa): If the subtract symbol for
a fixup is $global$ change it to NULL as $global$ is really only
needed long enough to determine the base type of relocation to use.
Jeff Law [Sun, 7 Nov 1993 09:15:13 +0000 (09:15 +0000)]
* config/tc-hppa.c (create_new_subspace): Initialize subspace_defined.
Jeff Law [Sun, 7 Nov 1993 09:03:59 +0000 (09:03 +0000)]
* config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
for 'z' operands (target of ble branch).
Jeff Law [Sun, 7 Nov 1993 08:33:03 +0000 (08:33 +0000)]
* gas/hppa/basic/basic.exp: No longer expect failures for
system instruction tests now that probei is fixed.
Jeff Law [Sun, 7 Nov 1993 08:31:22 +0000 (08:31 +0000)]
* hppa.h: Immediate field in probei instructions is unsigned,
not low-sign extended.
Jeff Law [Sun, 7 Nov 1993 07:23:52 +0000 (07:23 +0000)]
* config/tc-hppa.c: (update_subspace): Fix type and name of last
parameter. All callers fixed.
(md_begin, pa_chk_field_selector, pa_entry): Lint.
Jeff Law [Sun, 7 Nov 1993 06:46:44 +0000 (06:46 +0000)]
* gas/hppa/reloc/selectorbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
Jeff Law [Sun, 7 Nov 1993 06:43:24 +0000 (06:43 +0000)]
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
to default state after it's been used.
David MacKenzie [Sat, 6 Nov 1993 05:51:14 +0000 (05:51 +0000)]
correct mach3 values
David MacKenzie [Sat, 6 Nov 1993 04:10:25 +0000 (04:10 +0000)]
more doc cleanups
Kung Hsu [Sat, 6 Nov 1993 01:32:11 +0000 (01:32 +0000)]
Modified Files:
gdbtypes.h stabsread.c cp-valprint.c ChangeLog
* gdbtypes.h : add a field 'ignore_field_bits in cplus_specific,
and macros to handle the bits.
* stabsread.c (read_one_struct_field): add VISIBILITY_IGNORE, and
for field of length 0, set this bit on.
* cp-valprint.c (cp_print_value_fields): for VISIBILITY_IGNORE
field, print <no value>.
Roland Pesch [Sat, 6 Nov 1993 01:29:12 +0000 (01:29 +0000)]
* gdb.texinfo: updates re threads.
Roland Pesch [Sat, 6 Nov 1993 00:58:33 +0000 (00:58 +0000)]
* gdb.texinfo: updates re threads.
* remote.texinfo: avoid index entries starting with digits.
Roland Pesch [Sat, 6 Nov 1993 00:33:29 +0000 (00:33 +0000)]
* gdb.texinfo: updates re threads.
* remote.texinfo: avoid index entries starting with digits.
Jim Kingdon [Fri, 5 Nov 1993 21:18:17 +0000 (21:18 +0000)]
* Makefile.in (DISTDOCDIRS): Add gdb.
Ian Lance Taylor [Fri, 5 Nov 1993 20:55:58 +0000 (20:55 +0000)]
coffcode.h change.
Jim Kingdon [Fri, 5 Nov 1993 20:54:42 +0000 (20:54 +0000)]
* Version 4.11.2.
David MacKenzie [Fri, 5 Nov 1993 20:39:26 +0000 (20:39 +0000)]
fix mistakes in last change
Ken Raeburn [Fri, 5 Nov 1993 20:35:15 +0000 (20:35 +0000)]
adjusting repository after cvs mixup
Ken Raeburn [Fri, 5 Nov 1993 20:28:08 +0000 (20:28 +0000)]
adjusting repository for cvs flakiness
Ken Raeburn [Fri, 5 Nov 1993 20:21:39 +0000 (20:21 +0000)]
Trying to fix repository after cvs breakage...
Jeffrey Osier [Fri, 5 Nov 1993 20:13:42 +0000 (20:13 +0000)]
binutils.texi: added nlmconv chapter
Jeff Law [Fri, 5 Nov 1993 20:11:19 +0000 (20:11 +0000)]
* config/obj-som.c (obj_som_init_stab_section): Change
space/subspace sort keys for the stab sections so as to avoid
bugs in the hp linker and pxdb.
David MacKenzie [Fri, 5 Nov 1993 19:51:52 +0000 (19:51 +0000)]
doc cleanup
Stu Grossman [Fri, 5 Nov 1993 19:27:49 +0000 (19:27 +0000)]
* inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
macro to set process groups.
* infptrace.c (child_resume): Temporarily use Lynx PIDGET to
specify resumption of all threads.
* infrun.c (wait_for_inferior): Fix handling of thread-specific
breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup
PC by the right amount when continuing the thread).
* thread.c (thread_apply_command): Add the `thread apply'
command to apply a given GDB command to a list of threads.
Ken Raeburn [Fri, 5 Nov 1993 19:21:35 +0000 (19:21 +0000)]
First cut at sanitization, doc files, &c for gas/binutils releases
Ken Raeburn [Fri, 5 Nov 1993 18:37:43 +0000 (18:37 +0000)]
* Makefile.in (taz): Only build "info" in DISTDOCDIRS.
(DISTDOCDIRS): Don't assume libg++ and gdb folks necessarily want this now.
Jim Kingdon [Fri, 5 Nov 1993 18:09:19 +0000 (18:09 +0000)]
* configure.in: Add doc to configdirs.
* Makefile.in (info dvi install-info clean-info): Recurse into doc.
Jim Kingdon [Fri, 5 Nov 1993 13:59:31 +0000 (13:59 +0000)]
* Makefile.in (init.c): Don't call sed if filename is empty.
John Gilmore [Fri, 5 Nov 1993 08:34:09 +0000 (08:34 +0000)]
Check in version built from changed bfd-in.h.
Jim Kingdon [Fri, 5 Nov 1993 06:12:59 +0000 (06:12 +0000)]
* gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
"_vb$".
Jim Kingdon [Fri, 5 Nov 1993 05:36:03 +0000 (05:36 +0000)]
* gdb.t00/teststrategy.exp: Add xfail for RS/6000.
* gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
Jim Kingdon [Fri, 5 Nov 1993 04:57:29 +0000 (04:57 +0000)]
* dbxread.c (unknown_symchar_complaint): Make message refer to
"symbol descriptor" not "symbol type character" for consistency
with stabs.texinfo terminology.
Jim Kingdon [Fri, 5 Nov 1993 04:49:06 +0000 (04:49 +0000)]
* stabsread.c (read_struct_fields): Accept either '$' or '.' as
the character which introduces a cpp_abbrev or anonymous type.
Jim Kingdon [Fri, 5 Nov 1993 03:01:47 +0000 (03:01 +0000)]
* c-lang.c (c_printstr): Print "" to stream (like all the other
output from this function), not gdb_stdout.
Jim Kingdon [Fri, 5 Nov 1993 02:29:48 +0000 (02:29 +0000)]
* config.sub: Accept hiux* as an OS name.
Jeff Law [Fri, 5 Nov 1993 01:03:25 +0000 (01:03 +0000)]
* gas/hppa/unsorted/fragbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Fri, 5 Nov 1993 01:03:13 +0000 (01:03 +0000)]
Add fragbug.s to things to keep.
Jim Kingdon [Fri, 5 Nov 1993 01:02:31 +0000 (01:02 +0000)]
* Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS per
etc/make-stds.texi. The underscore came from gcc, and dje now
agrees that RUNTESTFLAGS is the correct name.
Jeff Law [Fri, 5 Nov 1993 01:01:18 +0000 (01:01 +0000)]
* write.c (chain_frchains_together): Update pointer to last
frag for a segment in the seginfo structure.
Jim Kingdon [Thu, 4 Nov 1993 23:03:03 +0000 (23:03 +0000)]
* dbxread.c (process_one_symbol): Do relocate 'S' symbols by
the text offset (revert 12 Oct 93 change).
John Gilmore [Thu, 4 Nov 1993 22:49:47 +0000 (22:49 +0000)]
* bfd-in.h (bfd_get_cacheable, bfd_set_cacheable): New accessors.
* bfd.c, opncls.c: Improve comments on file descriptor cacheing.
Per Bothner [Thu, 4 Nov 1993 19:13:47 +0000 (19:13 +0000)]
* install.sh: Remove 'set -e'. It makes any conditionals
in the script useless.
Per Bothner [Thu, 4 Nov 1993 18:50:25 +0000 (18:50 +0000)]
* config.guess: Automatically recognize arm-acorn-riscix
Patch from Richard Earnshaw (rwe11@cl.cam.ac.uk).
Jeffrey Wheat [Thu, 4 Nov 1993 17:36:24 +0000 (17:36 +0000)]
Changed RUNTESTFLAGS to RUNTEST_FLAGS
Jim Kingdon [Thu, 4 Nov 1993 16:59:00 +0000 (16:59 +0000)]
* lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
Jeff Law [Thu, 4 Nov 1993 16:58:27 +0000 (16:58 +0000)]
* From Pete Hoogenboom (hoogen@cs.utah.edu)
* elf32-hppa.c (hppa_elf_get_section_contents): Fix logic error
in last change. Always rebuild symbol extension section the first
time though if output sections exist (fixes ld -r problems).
Jeffrey Wheat [Thu, 4 Nov 1993 16:43:25 +0000 (16:43 +0000)]
Changed RUNTESTFLAGS to RUNTEST_FLAGS
Jeffrey Wheat [Thu, 4 Nov 1993 16:37:34 +0000 (16:37 +0000)]
Added .PHONY for check and installcheck. both now also echo a message.
Jeffrey Wheat [Thu, 4 Nov 1993 16:08:03 +0000 (16:08 +0000)]
Rename RUNTESTFLAGS to RUNTEST_FLAGS
Jim Kingdon [Thu, 4 Nov 1993 14:52:53 +0000 (14:52 +0000)]
* configure.in: Make hppa*-*-hiux* use hppahpux,
not non-existent hppahiux.
David D. Zuhn [Thu, 4 Nov 1993 05:35:21 +0000 (05:35 +0000)]
* configure.in (hppa target): check the source directory for the
pagas sub-directory
Jason Merrill [Thu, 4 Nov 1993 02:10:36 +0000 (02:10 +0000)]
Lose build-all.mk for net releases
David D. Zuhn [Thu, 4 Nov 1993 01:04:16 +0000 (01:04 +0000)]
build-all-latest target
Kung Hsu [Thu, 4 Nov 1993 00:49:24 +0000 (00:49 +0000)]
Modified Files:
values.c valops.c ChangeLog
* values.c (value_fn_field): when physical name not found, do not
error, but return null.
* valops.c (value_struct_elt): when name and args match does not
mean it is the one, some times a typedef class can have the same
memeber method and args. This probably will not happen with new
version of g++, but it does happen in old g++ and cause gdb error.
Ken Raeburn [Thu, 4 Nov 1993 00:09:39 +0000 (00:09 +0000)]
Fix up dependencies and rules for ld.dvi, ld.info.
Ken Raeburn [Wed, 3 Nov 1993 23:09:24 +0000 (23:09 +0000)]
* Makefile.in (distclean): Don't get rid of dvi or info files.
David MacKenzie [Wed, 3 Nov 1993 21:51:06 +0000 (21:51 +0000)]
fix reloc type bits conflict
Jim Kingdon [Wed, 3 Nov 1993 21:33:13 +0000 (21:33 +0000)]
Merge changes for dos x udi:
* Makefile.in (udi2go32.o): add rule to build this file
* 29k-share/udi/udi2go32.c: new file
* config/a29k/a29k-udi.mt: add udi2go32.o
* 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
if __GO32__ is defined. What a hack.