David Edelsohn [Thu, 2 Mar 1995 00:11:22 +0000 (00:11 +0000)]
* 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.
Michael Meissner [Wed, 1 Mar 1995 22:34:34 +0000 (22:34 +0000)]
Warn if GOT16 overflows.
Kung Hsu [Wed, 1 Mar 1995 21:22:37 +0000 (21:22 +0000)]
* config/i960/vxworks960.mt: add remote-vx960.o.
* config/m68k/vxworks68.mt: add remote-vx68.o.
Kung Hsu [Wed, 1 Mar 1995 21:20:14 +0000 (21:20 +0000)]
* config/m68k/vxworks68.mt: add remote-vx68.o.
Kung Hsu [Wed, 1 Mar 1995 21:19:29 +0000 (21:19 +0000)]
* config/i960/vxworks960.mt: add remote-vx960.o.
Kung Hsu [Wed, 1 Mar 1995 21:16:38 +0000 (21:16 +0000)]
* remote-vx960.c: new file for target specific register packaging.
* remote-vx68.c: ditto.
Jason Molenda [Wed, 1 Mar 1995 19:55:05 +0000 (19:55 +0000)]
Wed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>
* configure.host: Recognize powerpc-*-aix*.
for sludge.cygnus.com.
Michael Meissner [Wed, 1 Mar 1995 18:58:34 +0000 (18:58 +0000)]
Build without warnings under Linux.
Ian Lance Taylor [Wed, 1 Mar 1995 18:57:24 +0000 (18:57 +0000)]
* emulparams/gld960coff.sh (COFF_CTORS): Define.
* scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.
Ian Lance Taylor [Wed, 1 Mar 1995 18:06:13 +0000 (18:06 +0000)]
* coff-i960.c (COFF_PAGE_SIZE): Define.
Michael Meissner [Wed, 1 Mar 1995 17:23:41 +0000 (17:23 +0000)]
Add Linux yacc suport.
Ian Lance Taylor [Wed, 1 Mar 1995 16:58:57 +0000 (16:58 +0000)]
* configure.in: Rewrite output of TDEFAULTS to avoid relying on
semantics of single quotes in parameter substitution.
Jim Kingdon [Wed, 1 Mar 1995 07:18:04 +0000 (07:18 +0000)]
* 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.
Kung Hsu [Wed, 1 Mar 1995 02:13:06 +0000 (02:13 +0000)]
* defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
compile time.
Kung Hsu [Wed, 1 Mar 1995 01:39:12 +0000 (01:39 +0000)]
* 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.
Kung Hsu [Wed, 1 Mar 1995 00:35:09 +0000 (00:35 +0000)]
* 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.
Kung Hsu [Wed, 1 Mar 1995 00:27:31 +0000 (00:27 +0000)]
* vx-share/ptrace.h: merge in WRS new ptrace requests.
Kung Hsu [Wed, 1 Mar 1995 00:22:46 +0000 (00:22 +0000)]
* defs.h: fix a syntax error.
Kung Hsu [Wed, 1 Mar 1995 00:01:49 +0000 (00:01 +0000)]
* 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.
Ken Raeburn [Tue, 28 Feb 1995 23:38:47 +0000 (23:38 +0000)]
read.c, tc-* md_operand changes
Ken Raeburn [Tue, 28 Feb 1995 23:37:38 +0000 (23:37 +0000)]
(md_operand): Replaced empty function in .c file with empty macro in .h file.
Kung Hsu [Tue, 28 Feb 1995 23:08:06 +0000 (23:08 +0000)]
* defs.h: define SWAP_TARGET_AND_HOST macro.
* findvar.c, monitor.c, hppa-tdep.c: remove definition of
SWAP_TARGET_AND_HOST.
Ian Lance Taylor [Tue, 28 Feb 1995 22:37:42 +0000 (22:37 +0000)]
* configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.
Ian Lance Taylor [Tue, 28 Feb 1995 22:34:21 +0000 (22:34 +0000)]
fix configury
Ian Lance Taylor [Tue, 28 Feb 1995 20:35:41 +0000 (20:35 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.
Ian Lance Taylor [Tue, 28 Feb 1995 19:33:51 +0000 (19:33 +0000)]
* elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
sections, if they have the same VMA.
Ian Lance Taylor [Tue, 28 Feb 1995 19:16:40 +0000 (19:16 +0000)]
Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
* configure.in: Use ../../bfd/hosts/std-host.h if specific
host unavailable.
Ian Lance Taylor [Tue, 28 Feb 1995 17:54:37 +0000 (17:54 +0000)]
* 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.
Ian Lance Taylor [Tue, 28 Feb 1995 17:44:35 +0000 (17:44 +0000)]
* 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.
Rob Savoye [Tue, 28 Feb 1995 17:29:02 +0000 (17:29 +0000)]
* configure.in: Match on mips-ecoff, and default to the IDT
configuration.
Jim Kingdon [Tue, 28 Feb 1995 16:38:26 +0000 (16:38 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
Jim Kingdon [Tue, 28 Feb 1995 16:35:11 +0000 (16:35 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.
Kung Hsu [Mon, 27 Feb 1995 21:05:00 +0000 (21:05 +0000)]
* configure.in: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:59:54 +0000 (20:59 +0000)]
* config.bfd: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:54:49 +0000 (20:54 +0000)]
* config.sub: add vxworks29k configuration.
Stan Shebs [Mon, 27 Feb 1995 20:03:49 +0000 (20:03 +0000)]
* monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.
Ian Lance Taylor [Fri, 24 Feb 1995 20:25:52 +0000 (20:25 +0000)]
tweak previous patch
Ian Lance Taylor [Fri, 24 Feb 1995 19:42:43 +0000 (19:42 +0000)]
* config/tc-mips.c (load_register): Correctly handle 32 bit values
with the high bit set in 64 bit mode.
PR 6381.
Stu Grossman [Fri, 24 Feb 1995 05:09:37 +0000 (05:09 +0000)]
* monitor.c (monitor_load_ascii_srec): Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.
Jeff Law [Fri, 24 Feb 1995 00:47:29 +0000 (00:47 +0000)]
* gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
Jeff Law [Fri, 24 Feb 1995 00:34:19 +0000 (00:34 +0000)]
* hppa.h (fstwx): Fix single-bit error.
Jeff Law [Thu, 23 Feb 1995 06:16:35 +0000 (06:16 +0000)]
* 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).
Jim Kingdon [Thu, 23 Feb 1995 02:30:57 +0000 (02:30 +0000)]
* gdb.base/term.exp: Do not give a warning if not native, it is
not an abnormal condition.
Ian Lance Taylor [Thu, 23 Feb 1995 02:20:57 +0000 (02:20 +0000)]
* config/tc-mips.c (append_insn): If listing_prev_line is called,
call frag_grow to make sure there is still room for a variant.
Per Bothner [Wed, 22 Feb 1995 07:43:01 +0000 (07:43 +0000)]
* ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
(same as C's '(TYPE[])EXPR')
Angela Marie Thomas [Wed, 22 Feb 1995 04:56:32 +0000 (04:56 +0000)]
added regs.exp to Things-to-keep
Ian Lance Taylor [Wed, 22 Feb 1995 02:20:51 +0000 (02:20 +0000)]
* bout.c (b_out_slurp_reloc_table): Don't return an error if asked
for relocations for the .bss section.
PR 6377.
Angela Marie Thomas [Wed, 22 Feb 1995 01:36:16 +0000 (01:36 +0000)]
Added arc to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:34:47 +0000 (01:34 +0000)]
Added remote-mon.c and ser-go32-para.c to Things-to-lose
Jeff Law [Tue, 21 Feb 1995 22:15:19 +0000 (22:15 +0000)]
* som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
lengths.
Jim Kingdon [Tue, 21 Feb 1995 21:09:48 +0000 (21:09 +0000)]
* gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
t_char_array".
Stan Shebs [Tue, 21 Feb 1995 20:27:41 +0000 (20:27 +0000)]
* top.c (print_gdb_version): Update the year.
David Edelsohn [Tue, 21 Feb 1995 17:55:04 +0000 (17:55 +0000)]
Recognize arm-*-pe* (psion project).
David Edelsohn [Tue, 21 Feb 1995 17:39:52 +0000 (17:39 +0000)]
Remove CYG-LOC from lynx.
Peter Schauer [Tue, 21 Feb 1995 07:56:45 +0000 (07:56 +0000)]
* Makefile.in (ALL_MACHINES): Add w65-dis.o.
Jeff Law [Tue, 21 Feb 1995 05:14:22 +0000 (05:14 +0000)]
Add missing ChangeLog entry.
Jeff Law [Tue, 21 Feb 1995 05:12:58 +0000 (05:12 +0000)]
Add missed log entry for som.c.
Per Bothner [Tue, 21 Feb 1995 00:29:08 +0000 (00:29 +0000)]
* pr-5016.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Per Bothner [Tue, 21 Feb 1995 00:20:48 +0000 (00:20 +0000)]
* chillvars.ch: Add missing INIT's.
* chillvars.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Jim Kingdon [Sun, 19 Feb 1995 22:36:18 +0000 (22:36 +0000)]
* Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
`..' not in `../..'.
Jim Kingdon [Sun, 19 Feb 1995 21:47:32 +0000 (21:47 +0000)]
* lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.
Jim Kingdon [Sun, 19 Feb 1995 21:12:56 +0000 (21:12 +0000)]
* gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.
Peter Schauer [Sun, 19 Feb 1995 19:08:34 +0000 (19:08 +0000)]
Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
in addition to a PIOCSSIG to kill the inferior.
Per Bothner [Fri, 17 Feb 1995 23:24:22 +0000 (23:24 +0000)]
* gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type.
Per Bothner [Fri, 17 Feb 1995 23:20:29 +0000 (23:20 +0000)]
* parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
* valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
* c-typeprint.c (c_type_print_varspec_suffix): If array length
is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
David Edelsohn [Fri, 17 Feb 1995 20:44:32 +0000 (20:44 +0000)]
* arc-dis.c (arc_get_disassembler): Change argument to int,
one of bfd_mach_arc_xxx. All callers updated.
Ian Lance Taylor [Fri, 17 Feb 1995 20:42:22 +0000 (20:42 +0000)]
--set-section-flags patch from dje.
David Edelsohn [Fri, 17 Feb 1995 20:41:34 +0000 (20:41 +0000)]
* dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.
Ian Lance Taylor [Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)]
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
Ian Lance Taylor [Fri, 17 Feb 1995 19:54:47 +0000 (19:54 +0000)]
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
Ian Lance Taylor [Fri, 17 Feb 1995 19:21:24 +0000 (19:21 +0000)]
* objcopy.c (struct section_list): Add fields remove, set_flags,
and flags. Change adjust from boolean to enum.
(remove_sections): Remove static variable.
(sections_removed): New static variable.
(copy_options): Add --set-section-flags.
(copy_usage): Mention --set-section-flags.
(parse_flags): New static function.
(find_section_list): New static function.
(is_strip_symbol): Change return type from int to boolean.
(is_strip_section): New static function.
(filter_symbols): Call is_strip_section.
(copy_object): When adding sections, check for specified flags or
VMA. Call filter_symbols if any sections are being removed.
(setup_section): Use find_section_list function rather than
looking through remove_sections and adjust_sections. Handle
--set-section-flags.
(copy_section): Use find_section_list rather than looking through
remove_sections.
(strip_main): Use find_section_list instead of adding items to
sections_removed.
(copy_main): Use find_section_list instead of adding items to
sections_removed and adjust_sections. Handle --set-section-flags.
* binutils.texi, objcopy.1: Document --set-section-flags.
Ian Lance Taylor [Fri, 17 Feb 1995 18:35:40 +0000 (18:35 +0000)]
* hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Only define SEEK_SET and SEEK_CUR if they are not already defined.
Remove all external function declarations.
Michael Meissner [Fri, 17 Feb 1995 18:09:23 +0000 (18:09 +0000)]
Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from GOT start.
Michael Meissner [Fri, 17 Feb 1995 17:51:00 +0000 (17:51 +0000)]
Add PC relative support to PowerPC ELF assembler.
Michael Meissner [Fri, 17 Feb 1995 17:41:08 +0000 (17:41 +0000)]
Make GOT relocs offset by 32768, which allows the table to double in size.
Ian Lance Taylor [Fri, 17 Feb 1995 17:26:48 +0000 (17:26 +0000)]
* syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.
Ian Lance Taylor [Fri, 17 Feb 1995 16:57:18 +0000 (16:57 +0000)]
* coffgen.c (coff_real_object_p): Set start address and flags
before calling coff_mkobject_hook. Restore them on failure.
* ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
clear D_PAGED.
PR 6341.
Ian Lance Taylor [Fri, 17 Feb 1995 16:46:52 +0000 (16:46 +0000)]
* coffgen.c: Reindented.
J.T. Conklin [Fri, 17 Feb 1995 00:54:00 +0000 (00:54 +0000)]
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
(LDFLAGS): Set to -Xlinker -Ur.
Jim Kingdon [Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)]
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
David Edelsohn [Thu, 16 Feb 1995 22:40:19 +0000 (22:40 +0000)]
* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
(bfd_install_relocation): Likewise.
David Edelsohn [Thu, 16 Feb 1995 22:35:50 +0000 (22:35 +0000)]
* expr.c (operand): Move md_operand handling to default case
(so it works).
Ian Lance Taylor [Thu, 16 Feb 1995 22:35:36 +0000 (22:35 +0000)]
* mips-opc.c: Add r4650 mul instruction.
Michael Meissner [Thu, 16 Feb 1995 21:31:22 +0000 (21:31 +0000)]
Rewrite insque/remque support to cast all pointers to PTR.
Michael Meissner [Thu, 16 Feb 1995 21:09:22 +0000 (21:09 +0000)]
Rewrite Linux insque/remque support again.
J.T. Conklin [Thu, 16 Feb 1995 18:42:42 +0000 (18:42 +0000)]
add 1995 to copyright
J.T. Conklin [Thu, 16 Feb 1995 18:41:54 +0000 (18:41 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
Ian Lance Taylor [Thu, 16 Feb 1995 18:23:57 +0000 (18:23 +0000)]
* hosts/std-host.h: Remove all function declarations which return
int or void, except the one for free.
J.T. Conklin [Thu, 16 Feb 1995 01:10:04 +0000 (01:10 +0000)]
* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
of replicating gdb startup code.
J.T. Conklin [Thu, 16 Feb 1995 00:44:43 +0000 (00:44 +0000)]
* config/mt-vxworks (LDFLAGS): Set to -r.
(CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
(gdb) and gdb for vxworks uses (vxgdb).
J.T. Conklin [Thu, 16 Feb 1995 00:35:53 +0000 (00:35 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
program_transform_name to determine the gdb name used by the
target.
Stan Shebs [Wed, 15 Feb 1995 23:19:55 +0000 (23:19 +0000)]
keep Windows GDB, believe it or not
Michael Meissner [Wed, 15 Feb 1995 22:59:36 +0000 (22:59 +0000)]
Declare insque/remque as int funcs if not Linux.
Michael Meissner [Wed, 15 Feb 1995 22:57:53 +0000 (22:57 +0000)]
Only protect insque/remque on Linux.
J.T. Conklin [Wed, 15 Feb 1995 22:28:51 +0000 (22:28 +0000)]
* configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
J.T. Conklin [Wed, 15 Feb 1995 22:01:50 +0000 (22:01 +0000)]
* all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
* remote.texi (NetWare): New node, how to use gdbserve.nlm on
NetWare targets. Mostly stolen from the Server node.
Ian Lance Taylor [Wed, 15 Feb 1995 21:11:10 +0000 (21:11 +0000)]
Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.
Ian Lance Taylor [Wed, 15 Feb 1995 21:08:05 +0000 (21:08 +0000)]
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF. From gary@Intrepid.COM (Gary Funck).
Ian Lance Taylor [Wed, 15 Feb 1995 20:47:31 +0000 (20:47 +0000)]
* mips-opc.c: Add uld and usd macros for unaligned double load and
store.
Ian Lance Taylor [Wed, 15 Feb 1995 20:45:35 +0000 (20:45 +0000)]
* gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
* gas/mips/usd.d: New file.
* gas/mips/usd.s: New file.
* gas/mips/mips.exp: Run new tests.