Commit Graph

15875 Commits

Author SHA1 Message Date
Jeff Law a466b86aac * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
PC in the registers array.  From Peter Schauer.
1996-03-19 17:40:12 +00:00
Ian Lance Taylor a912e811fc * configure.in: Add AC_FUNC_VFORK.
* configure, config.in: Rebuild.
	* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
	defined.
1996-03-18 23:52:43 +00:00
Ian Lance Taylor 6ae6090e22 * stabs.c (parse_stab_range_type): A complex type is defined as a
subrange of itself with the high bound zero.
	* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
1996-03-18 23:06:29 +00:00
Fred Fish 0ef22be97f * symfile.c (reread_symbols): Reinitialize bcache struct
members to zero using memset.  Also use memset to reinit
	global_psymbols and static_psymbols, rather than explicitly
	resetting each structure member.
1996-03-18 21:24:48 +00:00
Ian Lance Taylor 975def01a5 * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
string.  Extract the addend from the result of expression.
1996-03-18 18:13:59 +00:00
Ian Lance Taylor e7f9ba4fa1 * elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
output_bfd is not NULL.
1996-03-18 18:12:36 +00:00
Fred Fish 5d93d326ad Add acconfig.h and config.h.in 1996-03-18 16:15:05 +00:00
Fred Fish 9b4df2e5af * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
defined, and use it to compile the test case with -O2.  The
	native compilation still uses no optimization.
	* gdb.base/mips_pro.c: Remove inline assembly code since
	it is compiled PIC by default, which results in assembler
	warnings that make the testsuite think the compilation
	was unsuccessful.
1996-03-17 21:48:40 +00:00
Fred Fish 315206699f * configure.in: Add fragment to create stamp-h.
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
	* configure.in (AC_CHECK_HEADERS):  Check for link.h.
	* configure:  Regenerate with autoconf.
	* config.h.in:  Regenerate with autoheader.
	* config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
	is defined.
	* solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
	* config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
	older a.out based systems.
1996-03-17 06:28:57 +00:00
Fred Fish d58ffc6cc6 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. 1996-03-17 01:08:19 +00:00
Fred Fish bfcf3112c4 Forgot during last checkin.
* config.h.in: New file.
	* Makefile.in (distclean): Remove config.h and stamp-h during distclean.
	(config.h, stamp-h): New targets to remake config.h when necessary.
1996-03-17 00:53:34 +00:00
Fred Fish db210d08e4 * acconfig.h: New file, for autoheader.
* configure.in (AC_CONFIG_HEADER): Add, generate config.h.
	* configure: Regenerate.
	* Makefile.in (defs_h): Add config.h
	* defs.h (config.h): Include before any other includes or defines.
	* i386-tdep.c (gdb_string.h): Move include after include of defs.h.
1996-03-17 00:36:07 +00:00
Fred Fish 6991e9579a * gdb.c++/misc.exp: Add note to message for
"print s.a for foo struct" that this is a known gcc 2.7.2
	and earlier bug.
1996-03-16 23:23:58 +00:00
Fred Fish fdfd613467 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.texinfo (Expressions): Fix erroneous array constant example.
1996-03-16 22:16:06 +00:00
Fred Fish d5fde1c906 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
	result in an empty line, to work around a bug in native Ultrix 4.4
	and OSF/1-3.2C make.
1996-03-16 21:58:00 +00:00
Fred Fish 3dedc867b7 * configure.in: Add gdbserver to configdirs under linux.
* configure: Regenerate.
1996-03-16 21:46:56 +00:00
Fred Fish d056cc31e1 * gdb.texinfo: Add missing "@bullet" to some "@itemize"
commands.
1996-03-16 21:46:06 +00:00
Fred Fish 1b5b958124 * gdb.base/break.exp: Fix pattern for matching "Delete all
breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
	setup_xfail for deleting all breakpoints test.  Fix various
	timeout messages to include "(timeout)".
	* gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
	for "p t_float_values2(3.14159,float_val2)".
	* gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
	for "continue to call2g" when gcc compiled.
	* gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
	"up to foo in langs.exp", "show language at foo in langs.exp",
	"show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
	and "show language at fsub in langs.exp".
	* gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
	"list line 1 in include file", "list message for lines past EOF",
	"list function in include file", "list list0.h:foo", and
	"list filename:function; nonexistant function".
	* gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
	"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
	and "ptype t_char_array" to be for native cc only.
1996-03-16 19:51:15 +00:00
Fred Fish a1cdb7172c * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
setup_xfail for "print coremaker_bss", "print coremaker_ro",
 	"print func2::coremaker_local", and "backtrace in corefile.exp".
1996-03-16 00:47:44 +00:00
Ian Lance Taylor fde6018a93 * app.c (do_scrub_chars): If whitespace is seen in state 11, and
LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
	mode, change the state to 3 rather than 1.
1996-03-15 22:12:10 +00:00
J.T. Conklin f727efb55d * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
* config/i386/tm-nbsd.h (NUM_REGS): Define.
1996-03-15 20:12:35 +00:00
David Edelsohn 34c4d647ed * coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead
of bfd_alloc (fixes fix_line not being initialized).
	Delete zeroing of fix_{value,tag,end,scnlen} fields.
1996-03-15 01:12:57 +00:00
Ian Lance Taylor b213fd2917 * Makefile.in (DO_X): Don't get confused if CC contains `=' in an
option.
1996-03-15 00:33:04 +00:00
Ian Lance Taylor a527d9d7f1 * configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
config/mh-necv4.
1996-03-15 00:31:00 +00:00
Ian Lance Taylor e4115748d0 * mh-necv4: New file. 1996-03-15 00:29:21 +00:00
Ian Lance Taylor 20b42e3dcb * mh-necv4: New file. 1996-03-15 00:20:59 +00:00
Ian Lance Taylor c0914b6e6e * install.sh: Correct misspelling of transformbasename. 1996-03-15 00:18:41 +00:00
Ian Lance Taylor e6769dee6d * config.guess: Recognize mips-*-sysv*. 1996-03-15 00:17:48 +00:00
Ian Lance Taylor ee0f488d03 * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
correspond to 11 March change.
1996-03-14 23:19:08 +00:00
Jeff Law 57289b5c5d * coffcode.h: Allow specific backends to override the
bfd_link_add_symbols routine.
Not used yet, but it will be soon for hmse.
1996-03-14 23:17:50 +00:00
Jeff Law 4e05424729 * coff-h8300.c: Include genlink.h.
(howto_table): Add R_MEM_INDIRECT.
        (rtype2howto): Support R_MEM_INDIRECT.
        (h8300_reloc16_extra_cases): Handle R_MEM_INDIRECT like R_RELBYTE
        for now.
hmse
1996-03-14 23:06:51 +00:00
Jeff Law 9da28504b8 * config/tc-h8300.c (build_bytes, MEMIND case): Generate
an R_MEM_INDIRECT reloc rather than R_RELBYTE.
hmse
1996-03-14 22:55:12 +00:00
Jeff Law a404ea2596 * solib.c (solib_break_names): Add _r_debug_state for
vanilla SVR4 implementations.  From Peter Schauer.
1996-03-14 17:32:12 +00:00
Jeff Law deddae6681 * scripttempl/h8300.sc: Change name of page zero memory
from "null" to "vectors".  Create an output section for
        vectors.  Add comments on how to explicitly place items
        in the vector table.
        * scripttempl/h8300h.sc: Likewise.
hmse
1996-03-14 00:49:42 +00:00
Fred Fish 38b92747fe * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
"bt in signals.exp".  This problem only appears when running
	the testsuite, and then only intermittently.
1996-03-13 22:56:22 +00:00
Ian Lance Taylor 96704ebcbc * emultempl/lnk960.em (machine_table): Add jx and hx. 1996-03-13 22:41:25 +00:00
Ian Lance Taylor 5cb57c2c07 * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
support it.
1996-03-13 17:40:58 +00:00
Ian Lance Taylor e3d73386d7 * lexsup.c (parse_args): Handle --wrap.
* ldmain.c (main): Initialize link_info.wrap_hash.
	* ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
	and NAME cases.
	* ld.texinfo, ld.1: Document --wrap.
1996-03-12 23:39:18 +00:00
Ian Lance Taylor 8881b321e0 * linker.c (bfd_wrapped_link_hash_lookup): New function.
(_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash
	table string.  Use bfd_wrapped_link_hash_lookup.
	(_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash
	table string.
	* aoutx.h (aout_link_write_symbols): Use the name from the hash
	table, if any, when writing out symbols.
	(aout_link_input_section_std): Use the name from the hash table,
	if any, when reporting undefined symbols.
	(aout_link_input_section_ext): Likewise.
	(aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup.
	* bout.c (get_value): Likewise.
	* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
	* ecoff.c (ecoff_reloc_link_order): Likewise.
	* elflink.h (elf_link_add_object_symbols): Likewise.
	(elf_reloc_link_order): Likewise.
	* linker.c (_bfd_generic_link_output_symbols): Likewise.
	(_bfd_generic_reloc_link_order): Likewise.
	(default_indirect_link_order): Likewise.
	* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
	* sunos.c (sunos_add_one_symbol): Likewise.
	* xcofflink.c (xcoff_link_add_symbols): Likewise.
	(bfd_xcoff_link_count_reloc): Likewise.
	(xcoff_reloc_link_order): Likewise.
1996-03-12 23:14:58 +00:00
Stan Shebs 063c5ee025 * gdb.base/return.exp (return_tests): Differentiate between
two tests of continuing.
1996-03-12 23:02:25 +00:00
Ian Lance Taylor efda824b08 * ieee.c (ieee_write_undefined_tag): Switch to global_types even
if it is not empty.
	(ieee_tag_type): For an enum, look through info->enums.
1996-03-12 19:33:31 +00:00
Ian Lance Taylor 4b7d2399ae Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* ld.h (ld_config_type): Add warn_multiple_gp field.
	* lexsup.c (parse_args): Handle --warn-multiple-gp.
	* ldmain.c (warning_callback): Suppress multiple gp values warning
	if --warn_multiple_gp was not used.
	* ld.texinfo, ld.1: Document --warn-multiple-gp.
1996-03-12 17:47:55 +00:00
Ian Lance Taylor a10d3dec45 Tue Mar 12 12:41:17 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* coff-alpha.c (alpha_relocate_section): Use
	info->callbacks_warning, rather than _bfd_error_handler, for
	"multiple gp" warning.
1996-03-12 17:42:19 +00:00
Ian Lance Taylor 1e9e7ce0bb comment change 1996-03-12 17:30:44 +00:00
Ian Lance Taylor 7826d7e117 tweak last patch 1996-03-12 17:26:23 +00:00
Ian Lance Taylor ea2488ad2e * configure: Rebuild with autoconf 2.8. 1996-03-12 17:22:07 +00:00
Ian Lance Taylor e1b8810917 * debug.c (debug_type_samep): Don't loop endlessly in
DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.
1996-03-12 17:10:22 +00:00
Ian Lance Taylor 02df835b83 Don't do SunOS style dynamic linking for sparc-aout:
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
	(sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
	(sparc*-wrs-vxworks*): Likewise.
	* emulparams/sparcaout.sh: New file.
	* Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
	(esparcaout.c): New target.
1996-03-12 17:04:25 +00:00
Ian Lance Taylor 8fee8bf38e * config/atof-ieee.c (gen_to_words): Improve handling of
X_PRECISION numbers.  Based on patches from Andreas Schwab
	<schwab@issan.informatik.uni-dortmund.de>.
1996-03-11 23:58:15 +00:00
Dawn Perchik a4cf4e29f8 Keep mon960 files. 1996-03-11 23:52:05 +00:00