Commit Graph

12444 Commits

Author SHA1 Message Date
Ian Lance Taylor
21a2f02616 Doc note from pierre@phi.la.tce.com (Pierre Willard):
* ld.texinfo: -X and -x work even if -s or -S are not specified.
	* ld.1: Similar change.
1995-03-02 19:36:10 +00:00
Jim Kingdon
cc5be3662c * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
support the latter anymore.
1995-03-02 15:45:02 +00:00
Jim Kingdon
ff0a7ea5cd * misc.exp: If executable does not exist, issue warning and skip
remaining tests, like other chill tests.
1995-03-02 14:23:40 +00:00
Jim Kingdon
60fdbf97c7 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
-DNO_PROTOTYPES.
	* gdb.base/callfuncs.c: Control use of prototypes based on
	NO_PROTOTYPES, not __STDC.
	* gdb.base/callfuncs.exp (do_function_calls): xfail one of the
	t_float_values2 tests if prototypes in use.

	* gdb.base/callfuncs.c (t_float_values, t_float_values2,
	t_double_values):  When checking differences against DELTA, check
	that difference is within the range (-DELTA,DELTA), not just
	(-infinity,DELTA).
1995-03-02 14:09:31 +00:00
Per Bothner
1d19172b58 Forgot to check in ChangeLog entry for ch-exp.y (Feb 21). 1995-03-02 04:56:01 +00:00
Per Bothner
1a0a972847 * misc.ch, misc.exp, Makefile.in: New test case. 1995-03-02 04:28:57 +00:00
David Edelsohn
762cf56f74 Various changes for sparc64.
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
	(SPARC_INTREG_SIZE): Define.
	(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
	where appropriate.
	(enum branch_type): New value `done_retry'.
	(isbranch): Renamed from isannulled.  All callers changed.
	Support new sparc64 branch insns.
	(single_step): Handle done_retry.
	(sparc_extract_struct_value_address): Don't assume 4 byte regs.
	(get_saved_register): Likewise.
	(sparc_push_dummy_frame): Likewise.
	(sparc_frame_find_saved_regs): Likewise.
	(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
	or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
	(sparc64_extract_struct_value_address): New function.
	(dump_ccreg, sparc_print_register_hook): Likewise.
	* sp64-tdep.c: Deleted.
	* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
	(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
	(CC_HAS_LONG_LONG): Define.
	(REGISTER_NAMES): Delete cle/tle and reorganize.
	(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
	sparc-tdep.c now.
	(REGISTER_BYTES): Update.
	(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
	(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
	(NO_SINGLE_STEP): Likewise.
	* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
	* sparc/sp64.mt: Move simulator support ...
	* sparc/sp64sim.mt: ... to here.
1995-03-02 00:18:04 +00:00
David Edelsohn
579dfd8eef Merged into sparc-tdep.c. 1995-03-02 00:13:16 +00:00
David Edelsohn
9e3501580c * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
	(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
	where appropriate.
	(enum branch_type): New value `done_retry'.
	(isbranch): Renamed from isannulled.  All callers changed.
	Support new sparc64 branch insns.
	(single_step): Handle done_retry.
	(sparc_extract_struct_value_address): Don't assume 4 byte regs.
	(get_saved_register): Likewise.
	(sparc_push_dummy_frame): Likewise.
	(sparc_frame_find_saved_regs): Likewise.
	(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
	or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
	(sparc64_extract_struct_value_address): New function.
	(dump_ccreg, sparc_print_register_hook): Likewise.
	* sp64-tdep.c: Deleted.
	* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
	(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
	(CC_HAS_LONG_LONG): Define.
	(REGISTER_NAMES): Delete cle/tle and reorganize.
	(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
	sparc-tdep.c now.
	(REGISTER_BYTES): Update.
	(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
	(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
	(NO_SINGLE_STEP): Likewise.
	* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
	* sparc/sp64.mt: Move simulator support ...
	* sparc/sp64sim.mt: ... to here.
1995-03-02 00:11:22 +00:00
Michael Meissner
3598343227 Warn if GOT16 overflows. 1995-03-01 22:34:34 +00:00
Kung Hsu
7e869571e4 * config/i960/vxworks960.mt: add remote-vx960.o.
* config/m68k/vxworks68.mt: add remote-vx68.o.
1995-03-01 21:22:37 +00:00
Kung Hsu
6154707a81 * config/m68k/vxworks68.mt: add remote-vx68.o. 1995-03-01 21:20:14 +00:00
Kung Hsu
0fbc1f5f72 * config/i960/vxworks960.mt: add remote-vx960.o. 1995-03-01 21:19:29 +00:00
Kung Hsu
4ba796ad29 * remote-vx960.c: new file for target specific register packaging.
* remote-vx68.c: ditto.
1995-03-01 21:16:38 +00:00
Jason Molenda
8760f77caf Wed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>
* configure.host: Recognize powerpc-*-aix*.

for sludge.cygnus.com.
1995-03-01 19:55:05 +00:00
Michael Meissner
8bfd30b27f Build without warnings under Linux. 1995-03-01 18:58:34 +00:00
Ian Lance Taylor
0b153077ec * emulparams/gld960coff.sh (COFF_CTORS): Define.
* scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.
1995-03-01 18:57:24 +00:00
Ian Lance Taylor
46cde09506 * coff-i960.c (COFF_PAGE_SIZE): Define. 1995-03-01 18:06:13 +00:00
Michael Meissner
ea082c0ac8 Add Linux yacc suport. 1995-03-01 17:23:41 +00:00
Ian Lance Taylor
d842ea0b17 * configure.in: Rewrite output of TDEFAULTS to avoid relying on
semantics of single quotes in parameter substitution.
1995-03-01 16:58:57 +00:00
Jim Kingdon
bc28e68dad * hppa-tdep.c (pa_print_registers), monitor.c: Use
extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
	* defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
	Rename it to SWAP_FLOATING to make it clear it is no longer for
	integers.
1995-03-01 07:18:04 +00:00
Kung Hsu
66aa7cf935 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
compile time.
1995-03-01 02:13:06 +00:00
Kung Hsu
abed6bc2e1 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
processor.
        * remote-arc.c (arc_wait): when a processor stops, stop other two
        processors too.
        * remote-arc.c (switch_command): switch tm_print_insn.
1995-03-01 01:39:12 +00:00
Kung Hsu
cb58e516f9 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
'file' command firts, then 'target', then 'load', this is due to gdb
        target set up.
        * config/mips-gdb.exp: Fix a couple regular exp bugs.
1995-03-01 00:35:09 +00:00
Kung Hsu
bc01beb5ea * vx-share/ptrace.h: merge in WRS new ptrace requests. 1995-03-01 00:27:31 +00:00
Kung Hsu
75988f9412 * defs.h: fix a syntax error. 1995-03-01 00:22:46 +00:00
Kung Hsu
161520dc02 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
* remote-vx.c: move read_register and write_register out to
        target specific files.
        * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
1995-03-01 00:01:49 +00:00
Ken Raeburn
33d8f4697c read.c, tc-* md_operand changes 1995-02-28 23:38:47 +00:00
Ken Raeburn
03678945bd (md_operand): Replaced empty function in .c file with empty macro in .h file. 1995-02-28 23:37:38 +00:00
Kung Hsu
326ae3e292 * defs.h: define SWAP_TARGET_AND_HOST macro.
* findvar.c, monitor.c, hppa-tdep.c: remove definition of
        SWAP_TARGET_AND_HOST.
1995-02-28 23:08:06 +00:00
Ian Lance Taylor
121bdf8f01 * configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.
1995-02-28 22:37:42 +00:00
Ian Lance Taylor
f7ce03e552 fix configury 1995-02-28 22:34:21 +00:00
Ian Lance Taylor
0877841d73 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.
1995-02-28 20:35:41 +00:00
Ian Lance Taylor
afbc1a16b3 * elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
sections, if they have the same VMA.
1995-02-28 19:33:51 +00:00
Ian Lance Taylor
35680553b1 Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
* configure.in: Use ../../bfd/hosts/std-host.h if specific
	host unavailable.
1995-02-28 19:16:40 +00:00
Ian Lance Taylor
c47c90f441 * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
	* config/i386-lelf.mt: New file.
	* config/i386-gelf.mt: New file.
1995-02-28 17:54:37 +00:00
Ian Lance Taylor
882c80a7cc * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
	* config/i386-lelf.mt: New file.
	* config/i386-gelf.mt: New file.
1995-02-28 17:44:35 +00:00
Rob Savoye
decc32b7c1 * configure.in: Match on mips-ecoff, and default to the IDT
configuration.
1995-02-28 17:29:02 +00:00
Jim Kingdon
689409ca78 * alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
1995-02-28 16:38:26 +00:00
Jim Kingdon
de7ad6d87d * alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.
1995-02-28 16:35:11 +00:00
Kung Hsu
d2c0206038 * configure.in: add a29k-*-vxworks configuration. 1995-02-27 21:05:00 +00:00
Kung Hsu
490d89a787 * config.bfd: add a29k-*-vxworks configuration. 1995-02-27 20:59:54 +00:00
Kung Hsu
9ce13cfcfb * config.sub: add vxworks29k configuration. 1995-02-27 20:54:49 +00:00
Stan Shebs
431b7d5fff * monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.
1995-02-27 20:03:49 +00:00
Ian Lance Taylor
6b67ed7865 tweak previous patch 1995-02-24 20:25:52 +00:00
Ian Lance Taylor
7811254cb0 * config/tc-mips.c (load_register): Correctly handle 32 bit values
with the high bit set in 64 bit mode.
PR 6381.
1995-02-24 19:42:43 +00:00
Stu Grossman
82fc343234 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.
1995-02-24 05:09:37 +00:00
Jeff Law
b5f105b7eb * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
	* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1995-02-24 00:47:29 +00:00
Jeff Law
292210add5 * hppa.h (fstwx): Fix single-bit error. 1995-02-24 00:34:19 +00:00
Jeff Law
e386acc8d7 * config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
add symbol if it's a common symbol (the value of a common symbol
	is its size, not a value in the traditional sense).
1995-02-23 06:16:35 +00:00