Commit Graph

13832 Commits

Author SHA1 Message Date
Michael Tiemann 0384d2e3df Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com>
* registers.c (register_description): Add gdb synonyms for cr
	(cnd) and msr (ps).
1995-09-10 17:33:54 +00:00
Peter Schauer 85226acd41 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUM
substitution.
	(supply_fpregset):  Use FP_MAX_REGNUM.
1995-09-10 15:56:01 +00:00
Michael Meissner d8f994b2dc fix typo. 1995-09-10 03:44:58 +00:00
Peter Schauer b6a40d0cf1 * stabsread.c (read_enum_type): Exit loop for putting pending
enum symbols into the enum type correctly if we had no pending
	symbols on entry to read_enum_type.
1995-09-09 15:24:18 +00:00
Peter Schauer 7eb10f9ad1 * gdb.base/signals.exp: Rewrite `handle all print' test as
a procedure. Accept blanks or TABs as whitespace, increase
	timeout and expect input buffer size for the large output
	from the command. Remove "i*86-*-bsdi2.0" xfail.
1995-09-09 08:38:40 +00:00
Kung Hsu 6047ab6a19 * inferior.h: Add extern declaration of inferior_environ.
* solib.c (solib_map_sections): To get inferior's env instead of
	gdb's for LD_LIBRARY_PATH, same for PATH.
1995-09-09 00:26:46 +00:00
J.T. Conklin d55a826735 * configure.in (noconfigdirs): Disable gdb on m68k-*-netbsd*. 1995-09-09 00:15:47 +00:00
Michael Meissner 8b3797aa18 Update to new config scheme 1995-09-08 23:56:38 +00:00
Ian Lance Taylor ed753c2049 Add Linux style directory searching.
* configure.tgt: Add i386lelf to targ_extra_emuls for
	i[345]86-*-linuxaout* and i[345]86-*-linuxoldld.  For
	i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to
	targ_extra_emuls.
	* emulparams/i386lelf.sh: New file, a copy of elf_i386.sh.
	* emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf
	recommended mechanism to define DIR and struct dirent.
	(libcmp): New static function use only when TARGET_IS_i386lelf.
	(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
	* Makefile.in (ALL_EMULATIONS): Add ei386lelf.o
	(ei386lelf.c): New target.
1995-09-08 23:37:45 +00:00
Ian Lance Taylor 2b71e1e4d7 * elfcode.h (align_file_position): Remove; not used. 1995-09-08 22:43:31 +00:00
Ian Lance Taylor 62b4ac8bc6 * ldemul.h (ldemul_set_symbols): Declare.
(ldemul_parse_args): Declare.
	* ldemul.c (ldemul_parse_args): Fix indentation.
1995-09-08 21:28:17 +00:00
Ian Lance Taylor 74453659c5 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
tests as untested rather than unresolved.
1995-09-08 21:16:31 +00:00
Ian Lance Taylor b8345a37ac * configure.in: Call AC_HEADER_DIRENT.
* configure, config.in: Rebuild.
	* emultempl/sunos.em: Use autoconf recommend mechanism to define
	DIR and struct dirent.
1995-09-08 21:11:40 +00:00
Ian Lance Taylor ffb8885bb0 * configure.in: Build ld in mips*-*-bsd* case. 1995-09-08 20:47:20 +00:00
Ian Lance Taylor d62ef165e3 * configure.tgt (mips*-*-bsd*): New case. 1995-09-08 20:46:44 +00:00
Ian Lance Taylor 673f5b9f2c * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)
New case.
	* configure.tgt (i[345]86-*-ptx*): New case.
1995-09-08 20:34:05 +00:00
Kung Hsu 2858b1f25e * solib.c (solib_map_sections): Copy full path name into so_list
structure so that symbol_file_add can find it.
1995-09-08 20:00:56 +00:00
Ian Lance Taylor 92a25e12ff * app.c (do_scrub_chars): In MRI mode, keep a space before a
possible comment character.
	* config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after
	an instruction which takes no operands.
1995-09-08 19:17:46 +00:00
Ian Lance Taylor 138b11d825 * Makefile.in (install): Don't install gasp in $(tooldir). 1995-09-08 18:43:50 +00:00
Ian Lance Taylor 3e0d03278c * Makefile.in (install): Don't install in $(tooldir). 1995-09-08 18:38:50 +00:00
Ian Lance Taylor fe7ec1d0a2 * Makefile.in (install): Don't install in $(tooldir). 1995-09-08 18:33:23 +00:00
Ian Lance Taylor 21852576ff * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
* configure: Rebuild.
	* Makefile.in (INSTALL): Revert to using install.sh.
	(INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
	(INSTALL_XFORM, INSTALL_XFORM1): Restore.
	(CC_FOR_BUILD): Restore.
	(gencode): Build using $(CC_FOR_BUILD).
	(install): Don't install in $(tooldir).
1995-09-08 18:32:37 +00:00
Ian Lance Taylor c64dfabd07 * configure.in: Remove AC_PROG_INSTALL.
* configure: Rebuild.
	* Makefile.in (INSTALL): Revert to using install.sh.
	(INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
	(INSTALL_XFORM, INSTALL_XFORM1): Restore.
	(mostlyclean): Make the same as clean, not distclean.
	(clean): Remove config.log.
	(install): Don't install in $(tooldir).
1995-09-08 18:29:22 +00:00
Ian Lance Taylor b6de8f6a08 * configure.in: Convert to use autoconf.
* configure: New file, built by autoconf.
	* acconfig.h: New file.
	* config.in: New file, built by autoheader.
	* Makefile.in: Various changes for new configure script.  Also:
	(INSTALL): Go up two levels, not one.
	(ALLOCA, MALLOC, OPCODES): Remove.
	(gencode): Use $(CC_FOR_BUILD).
	(case.o): Remove.
	(run.o, interp.o): Depend upon config.h.
	* interp.c: Include "config.h".  Don't include "sysdep.h".
	Include <stdlib.h>, <time.h>, and <unistd.h> if they exist.
	* run.c: Include "config.h".  Don't include "sysdep.h".  Include
	<stdlib.h> if it exists.  Include "getopt.h".  Declare printf if
	necessary.
1995-09-08 18:07:02 +00:00
Ian Lance Taylor 247d4fb1af mention new config.in file 1995-09-08 16:34:48 +00:00
Ian Lance Taylor 0743b4ac29 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
	AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES and AR.
	Call AC_CHECK_HEADERS for stdlib.h and time.h.  Touch stamp.h if
	creating config.h.
	* configure: Rebuild.
	* Makefile.in (AR): Define as @AR@.
	(CC): New variable, defined as @CC@.
	(CFLAGS): Define as @CFLAGS@.
	(RANLIB): Define as @RANLIB@.
	(HDEFINES, TDEFINES): New variables.
	(@host_makefile_frag@): Remove.
	(compile.o, run.o): Depend upon config.h.
	(mostlyclean): Make the same as clean, not distclean.
	(clean): Remove config.log.
	(distclean): Remove config.h and stamp-h.
	(Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
	invoking config.status.
	(config.h, stamp-h): New targets.
	* compile.c: Include "config.h".  Don't include <sys/times.h>.
	Include <time.h> and <stdlib.h> if they exist.  Don't include
	"sysdep.h".
	(get_now): Remove unused local b.
	* run.c: Include "config.h".  Include <stdlib.h> if it exists.
	Don't include "sysdep.h".
	* writecode.c: Don't include "bfd.h" or "sysdep.h".  Include
	<stdio.h>.
1995-09-08 16:26:41 +00:00
Ian Lance Taylor 1dff79026a * configure.in: Only check for <sys/procfs.h> on a native system,
and make sure it defines prstatus_t.
	* configure: Rebuild.
1995-09-08 15:50:29 +00:00
Ian Lance Taylor 824155e843 * Makefile.in (Makefile): Just rebuild Makefile when running
config.status.
	(config.h, stamp-h): New targets.
	* configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
	earlier.  Don't bother to call AC_ARG_PROGRAM.  Touch stamp-h when
	rebuilding config.h.
	* configure: Rebuild.
1995-09-08 15:30:49 +00:00
Michael Meissner 4f965b817e Do not include sysdep.h, bfd no longer provides it 1995-09-08 13:59:49 +00:00
Ian Lance Taylor 84c1534f02 * mips-opc.c: Change unaligned loads and stores with "t,A"
operands to use "t,A(b)".
PR 7947.
1995-09-08 05:08:38 +00:00
Ian Lance Taylor ee14a559e3 * config/tc-mips.c (macro): Handle a non zero base register for
M_U{L,S}{D,W,H}_A.
PR 7947.
1995-09-08 05:06:45 +00:00
Ian Lance Taylor 1359db1b8c * gasp.c (show_usage): Put program_name argument in first fprintf,
not second.
1995-09-08 04:30:24 +00:00
Ken Raeburn ebf6d5e63d * config.sub: Accept -lites* OS. From Ian Dall. 1995-09-08 00:10:02 +00:00
J.T. Conklin c632873c27 (Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
1995-09-07 22:07:47 +00:00
Ian Lance Taylor 3dce804d95 * expr.c (operand): Handle 08 and 09 in MRI mode.
* macro.c (ISSEP): Remove duplicated `"' character.
 	(get_any_string): Copy some characters for which ISSEP is true:
	';', '>', '(', ')'.  Otherwise we can get in an infinite loop.
	* read.c (s_space): In MRI mode, the expressions stop at the first
	unquoted space.
	(cons_worker): In MRI mode, restore the terminating character at
	the end of the function.
1995-09-07 21:54:13 +00:00
Ian Lance Taylor 535c89f0a5 * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test. 1995-09-07 20:29:24 +00:00
David Edelsohn 24691f5599 (Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
	* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
	(CC, CFLAGS, AR, RANLIB): Likewise.
	(HDEFINES, TDEFINES): Define.
	(CC_FOR_BUILD): Delete.
	(host_makefile_frag): Delete.
	(Makefile): Don't depend on frags.
	* configure.in (sysdep.h): Don't create symlink.
	(host_makefile_frag, frags): Deleted.
	(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
	* configure: Regenerated.
1995-09-07 19:08:15 +00:00
Ian Lance Taylor ef346f1a7f * config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
	Check for config.h:config.in when creating stamp-h.
	* configure: Rebuild.
	* Makefile.in (stamp-h): Depend upon config.in rather than
	config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
	calling config.status.
1995-09-07 17:20:53 +00:00
Ian Lance Taylor 320d4f291f * config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
	Check for config.h:config.in when creating stamp-h.
	* configure: Rebuild.
	* Makefile.in (stamp-h): Depend upon config.in rather than
	config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
	calling config.status.
1995-09-07 17:12:26 +00:00
Ian Lance Taylor a7873a6cbd tweak last change 1995-09-07 17:09:48 +00:00
Ian Lance Taylor 936b870cfd * config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
	* configure: Rebuild.
	* Makefile.in (stamp-h): Set CONFIG_HEADERS to config.h:config.in
	when calling config.status.
1995-09-07 17:03:55 +00:00
Ian Lance Taylor f40d9bc267 * Makefile.in (distclean): Remove config.h and stamp-h. 1995-09-07 16:53:02 +00:00
Ian Lance Taylor d698bce4c7 * Makefile.in (distclean): Remove config.h, stamp-h, and
config.log.
1995-09-07 16:52:35 +00:00
Ian Lance Taylor 870015b1b8 * Makefile.in (do_distclean): Remove config.h and stamp-h.
(Makefile): Just rebuild Makefile.
	(config.h, stamp-h): New targets.
	* configure.in: Create stamp-h when rebuilding config.h.
	* configure: Rebuild.
1995-09-07 16:50:40 +00:00
Ian Lance Taylor 94a7312289 * read.c (cons_worker): Don't use #elif; old compilers don't
support it.
1995-09-07 16:35:37 +00:00
Ian Lance Taylor dee0c69c27 * nm.c (value_format): Initialize based on BFD64 and
BFD_HOST_64BIT_LONG.
	(print_radix): New static variable.
	(set_print_radix): Set print_radix.  Adjust changes to
	value_format.
	(print_value): New static function, to print 64 bit octal and
	decimal values correctly.
	(print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
	print_value.
	(print_symbol_info_sysv): Use print_value.
	(print_symbol_info_posix): Likewise.
1995-09-07 16:14:43 +00:00
Ian Lance Taylor 36ea6198a7 * configure.host (sparc-*-sunos64*): Remove.
* ldlang.c (lang_map): Check BFD64, not HOST_64_BIT.
1995-09-07 14:52:12 +00:00
Ian Lance Taylor 9d32554321 * ldexp.c (exp_fold_tree): Don't warn about moving the location
counter backward in the absolute section.
PR 7942.
1995-09-07 14:49:31 +00:00
Ian Lance Taylor e840039ffc * gas/mri/comment.s, gas/mri/comment.d: New test.
* gas/mri/mri.exp: Run it.
	* gas/mri/expr.s: Remove whitespace in operand field.
	* gas/mri/for.s: Add comments for further testing.
	* gas/macros/test2.s: Put in an upper case ELSE to test case
	insensitivity.
1995-09-07 01:45:07 +00:00
Ian Lance Taylor 40db611884 * Makefile.in (ALL_CFLAGS): Define.
(.c.o, disassemble.o): Use $(ALL_CFLAGS).
	(MOSTLYCLEAN): Add config.log.
	(distclean): Don't remove config.log.
	* configure.in: Substitute HDEFINES.
	* configure: Rebuild.
1995-09-07 01:23:22 +00:00