Commit Graph

12144 Commits

Author SHA1 Message Date
Michael Meissner 9754404872 Add powerpc-*-eabi support. 1995-01-26 17:27:56 +00:00
Michael Meissner 39e5cbd7ee Add support for PowerPC embedded ABI. 1995-01-26 17:07:03 +00:00
Ian Lance Taylor e83e94effd * aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
the start address is in the .text section, even if STAT_FOR_EXEC
	is set.  Just use STAT_FOR_EXEC as an additional test.
1995-01-26 16:43:54 +00:00
Michael Meissner da8fa3ba29 Allow configuration of PowerPC embedded ABI. 1995-01-26 16:39:26 +00:00
Michael Meissner c6d729b375 Add new relocs for PowerPC Elf support.
Add eabi support.
1995-01-26 16:31:24 +00:00
Ian Lance Taylor e079cfe890 * coff-sh.c (CALC_ADDEND): Don't define.
(coff_sh_relocate_section): Remove.
	(coff_relocate_section): Use _bfd_coff_generic_relocate_section.
1995-01-26 04:27:50 +00:00
Per Bothner acc4efdecd * language.h (struct language_defn): New field c_style_arrays.
* language.c (unknown_language_defn, auto_language_defn,
	local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
	asm_language_defn):  Set c_style_arrays to true.
	* m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
	f-lang.c (f_language_defn):  Set c_style_arrays to false.
	* valops.c (value_string):  If c_style_array is not set,
	allocate string in gdb (not inferior) using allocate_value.

	* value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
	Only call value_coerce_array if current_language->c_style_arrays.
	* values.c:  Add #include "language.h".  (Needed for COERCE_ARRAY.)

	* valops.c (chill_varying_type):  New predicate.
	* valops.c (value_cast):  Support assigning a fixed string or array
	to a variable string/array structure.

	* valarith.c (value_subscripted_rvalue):  Extra parameter lowerbound.
	Check index>=lowerbound, and then add lowerbound to index here,
	instead of in caller.  Generalize to arbitrary lval_types.
	(value_subscript):  Use enhanced value_subscripted_rvalue if
	c_style_arrays is false (and index is in range).
1995-01-26 02:32:25 +00:00
Stu Grossman b66051ec19 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
found.
	* gdbtk.tcl:  Initialize expr_update_list() to prevent errors when
	popping up expression window for the first time.
1995-01-26 02:27:06 +00:00
Per Bothner ee3a45e7b7 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
TYPE_LENGTH is length in bytes, not bits.
1995-01-26 02:19:13 +00:00
Jim Wilson 8d9a1cce3f * tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
(md_pseudo_table): Add space for consistent formatting.
	(COND8_RANGE, COND12_RANGE): Delete unused macros.
	(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
	Correct minimum and maximum branch offsets.  Add comments explaining
	why these numbers are correct.
1995-01-26 00:26:11 +00:00
Stan Shebs c429bbab3a * gdb.base/default.exp: xfail no-stack backtraces for h8300,
restart GDB for h8300 after a continue.
	(return): Add pattern to match a29k-udi behavior.
	* gdb.base/nodebug.exp: Remove obsolete comment.
	* gdb.base/regs.exp: New file, testing of register displays.
	* gdb.base/return.exp: Fix typo in reference to $objdir.
	* gdb.base/whatis.exp: Always start with a fresh GDB.
1995-01-26 00:02:46 +00:00
Jim Kingdon 7010dbced3 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
higher, these tests generate a lot of output.
1995-01-25 22:16:08 +00:00
Ian Lance Taylor 1eeb357e6a Wed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
	mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
	m620 for PowerPC64 mode.
	(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
1995-01-25 20:43:50 +00:00
Jim Kingdon 5024a43fee * infrun.c (proceed): Flush stdout before resuming inferior.
* infcmd.c (step_1), annotate.c (annotate_starting):
	Don't bother to flush here.
1995-01-25 18:16:42 +00:00
Jeff Law dc192b86c4 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
by an ill-advised global search and replace.
1995-01-25 08:13:14 +00:00
Jim Kingdon 6535b97b3f * lib/gdb.exp (gdb_test): Remove catch from around the send. The
code following the catch silently ignored some errors; without the
	catch they should be thrown like any other tcl error.  Also, the
	catch used "" instead of {} which meant all the callers who wanted
	to include one of the characters "[]$ had to quote it an extra time.
	* gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
	ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
	demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
	Remove extra quoting.
1995-01-25 03:33:25 +00:00
David Edelsohn c1ac88f9d5 Sanitize arc stuff. 1995-01-25 03:27:54 +00:00
Stu Grossman 8e5bc49fe5 * gdbtk.tcl (create_registers_window): Work around a radiobutton
widget bug to make Options|Natural button work.
1995-01-25 00:36:33 +00:00
Ken Raeburn f2224fe249 "gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.
Well, sometimes.
Bunch of patches from Pat Rankin for cleaning up some warnings in vax-vms gas.
1995-01-24 21:56:29 +00:00
Stu Grossman c81a3fa9b6 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
g++ caused by out-of-order pc's.
	* gdbtk.tcl (files_command):  Remove duplicate file names.  Also,
	add scrollbar.
1995-01-24 21:49:11 +00:00
Ian Lance Taylor 2a056eaff2 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
call untested for each test, rather than ignoring it.  If one test
	fails, go on to the next one instead of returning.
	* ld-cdtest/cdtest.exp: If compilations fail, mark tests as
	unresolved.
	* ld-empic/empic.exp: Likewise.  Also, always pass the same test
	name to pass or fail.
	* ld-shared/shared.exp: Likewise.  Also, always run all tests.
	* ld-scripts/defined.exp: If as or nm fail, mark test as
	unresolved.  Always pass the same test name to pass or fail.
	* ld-scripts/script.exp: Likewise.
	* ld-scripts/sizeof.exp: Likewise.
1995-01-24 20:16:49 +00:00
Ian Lance Taylor 51fbf4548f update copyright dates 1995-01-24 19:48:50 +00:00
Ian Lance Taylor 16fe8950ad * elf32-mips.c (mips_elf_output_extsym): Set the value of the
ECOFF symbol from the hash table entry.
1995-01-24 19:27:35 +00:00
Ian Lance Taylor 5f3548d6c7 update copyrights 1995-01-24 16:01:04 +00:00
Ian Lance Taylor 6ade1673fc * ldctor.c (ldctor_add_set_entry): Don't dump core if a
constructor entry is in the absolute section.
1995-01-24 15:34:16 +00:00
Michael Meissner e1dbfef664 Add EM_PPC macro. 1995-01-24 14:42:17 +00:00
Jeff Law af2e6b157e * gdb.base/commands.exp: Make test names unique; every test either
passes or fails.  Update some comments.
1995-01-24 05:16:25 +00:00
Jeff Law 36491e5bda * gdb.disasm/hppa.exp (do_system_control_tests): Update. 1995-01-24 04:59:07 +00:00
Jeff Law 359bb9a364 * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
miscompilation of "diag" instructions.

	* gas/hppa/basic/basic.exp (do_system): Update.
1995-01-24 04:50:43 +00:00
Stu Grossman 6bd7d9fad8 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
doc!
1995-01-24 01:23:18 +00:00
Steve Chamberlain c525c3afcb Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
* coff-sh.c (coff_sh_relocate_section):  Don't subtract
	vma twice.
1995-01-23 22:57:30 +00:00
Ian Lance Taylor 6e3acf74d0 * coff-sh.c (sh_reloc): Don't ignore the previous contents of an
R_SH_IMM32 reloc.
PR 6215.
1995-01-23 22:32:18 +00:00
Jim Kingdon 1b0c5a4fbb * gdb.texinfo (Processes): New node. 1995-01-23 22:27:49 +00:00
Ken Raeburn 7343338436 configure regen, tc-mips.c libiberty.h include 1995-01-23 21:57:32 +00:00
Ken Raeburn 051fbc8919 regenerated 1995-01-23 21:56:46 +00:00
Per Bothner 6d34c23688 Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal):  Fix for proper endianness.
	* expprint.c (print_subexp):  Don't call error on OP_BITSTRING,
	just print B'<unimlemented>'.
	* gdbtypes.c (create_set_type):  Fix bug in length calculation.
	* valops.c, value.h (value_bitstring):  New function.
	* eval.c (evaluate_subexp):  Implement support for OP_BITSTRING.

	* ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
	check that return type is non-void, and print in proper Chill syntax.
1995-01-23 21:20:58 +00:00
Rob Savoye ce51845b10 * Makefile.in: Remove references to remote-mon.c.
* remote-mon.c: remove. Replaced by rom68k-rom.c.
	* rom68k-rom.c: Support for Rom68k monitor.
1995-01-23 19:25:24 +00:00
Ian Lance Taylor 9cc7c60b40 * config/tc-sh.h (tc_init_after_args): Don't define.
* config/tc-sh.c (md_begin): Remove unused variable table.
	(md_assemble): Remove unused variable p.
	(md_convert_frag): Cast fr_address to unsigned long for printf.
	(md_apply_fix): Use as_warn_where rather than as_warn.
	(sh_init_after_args): Remove empty function.
1995-01-23 19:22:52 +00:00
Ian Lance Taylor eb10ff23af * configure.in (i386-*-gnu*elf*): New target. 1995-01-23 19:09:02 +00:00
Ian Lance Taylor 6e7f3f077b x 1995-01-23 19:01:41 +00:00
Ian Lance Taylor c1e128e5a1 * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.
1995-01-23 19:00:46 +00:00
Ian Lance Taylor e18ecf7a78 * config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.
1995-01-23 18:55:58 +00:00
Jim Kingdon a9c67591ce * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
gcc/ch/runtime not chillrt, since that is where the chill runtime
	lives now.
1995-01-23 18:54:29 +00:00
Ian Lance Taylor 123bfaa5ec * opncls.c (bfd_openstreamr): Call bfd_cache_init. 1995-01-23 18:35:07 +00:00
Steve Chamberlain 0c699ac167 * remote-hms.c (hms_load): Delete.
(target_ops): Use hr_load_image.
1995-01-23 08:11:30 +00:00
Steve Chamberlain 771d7a99ed Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
* remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
        Define memory_insert/remove_breakpoint.
	* xm-go32.h: Remove redundant SIGs.

Thu Jan 19 20:26:58 1995  Steve Chamberlain  <sac@splat>

	* ser-go32.c: Rewritten by nigel@algor.co.uk.
1995-01-23 08:09:02 +00:00
Steve Chamberlain 0a1aac9434 Don't pass -S to the linker. 1995-01-23 07:54:24 +00:00
Torbjorn Granlund 0fb39e84f9 Changes for PR 6203. 1995-01-22 22:12:59 +00:00
Jim Kingdon 89ac6f79fb The following fixes a FAIL caused by the fact that the alpha stabs
configuration didn't use the ".if alpha" code in weird.def.
	* gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
	bit pointer, so the 32 bit version works even on the alpha.
	* gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
	Remove the stuff which allowed us to have separate versions for
	alpha and everything else.
1995-01-22 06:25:50 +00:00
Ian Lance Taylor be7571b69a * hash.c (hash_ask): If we find the slot after wrapping around,
break out of the loop.  Fixes bug in Jan 18 change.
1995-01-22 00:04:01 +00:00