binutils-gdb.git
25 years agoCARP:
Andrew Cagney [Mon, 14 Dec 1998 02:37:16 +0000 (02:37 +0000)]
CARP:
Consolidate the semi-dynamic target system dependant GDB parameters
moving them all into a new file.

25 years agoCARP:
Andrew Cagney [Sun, 13 Dec 1998 23:28:46 +0000 (23:28 +0000)]
CARP:

Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.

Document.

Convert mn10300 and PPC targets.

25 years agofor bfd:
Gavin Romig-Koch [Sun, 13 Dec 1998 16:14:24 +0000 (16:14 +0000)]
for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New.
* cpu-mips.c: Added vr4121.
* elf32-mips.c (elf_mips_mach): Same.
(_bfd_mips_elf_final_write_processing): Same.

for gas:
* config/tc-mips.c (mips_4121): New.
(md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121.

for gcc:
* config/mips/mips.c (override_options): Add vr4121.
* config/mips/t-vr4xxx (MULTILIB_MATCHES): Same.

for include/elf:
* mips.h (E_MIPS_MACH_4121): New.

for include/opcode:
* mips.h (INSN_4121): New.

for opcodes:
* mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121.
(_print_insn_mips): Same.
* mips-opc.c: Add vr4121.

for sim/mips:
* configure.in,mips.igen,vr.igen: Add vr4121.
* configure: Rebuilt.

25 years ago * Makefile.am (PROGS,bin_PROGRAMS): Add @BUILD_MISC@
Doug Evans [Sun, 13 Dec 1998 01:33:24 +0000 (01:33 +0000)]
* Makefile.am (PROGS,bin_PROGRAMS): Add @BUILD_MISC@
(link.c,link.o,link): New rules.
* Makefile.in: Rebuild.
* configure.in (vpu-elf): Build `link' cover script if vpu-elf.
(BUILD_MISC): New variable, for target specific hacks (in the worst
sense of the word).
(AC_OUTPUT): Handle building of `link.c'.
* configure: Rebuild.
* link.c.in: New file.
bring over from sky-980617 branch.
link script converted to .c so sanitize with automake/autoconf is simpler

25 years ago * configure.in (mips64vr4xxx): Enable TARGET_ENABLE_FR.
Gavin Romig-Koch [Sat, 12 Dec 1998 22:43:54 +0000 (22:43 +0000)]
* configure.in (mips64vr4xxx): Enable TARGET_ENABLE_FR.
Set mips_fpu, and mips_fpu_bitsize.
Set sim_gen, and sim_igen_machine.
* configure: Rebuild.
* mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
* sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.

25 years agoelf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4300.
Gavin Romig-Koch [Sat, 12 Dec 1998 22:22:11 +0000 (22:22 +0000)]
elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4300.

25 years ago * config.bfd (mips64el-skyb-elf): added new target
Doug Evans [Sat, 12 Dec 1998 17:07:24 +0000 (17:07 +0000)]
* config.bfd (mips64el-skyb-elf): added new target

25 years agoCARP: Mechanism to replace EXTRA_FRAME_INFO.
Andrew Cagney [Sat, 12 Dec 1998 02:50:39 +0000 (02:50 +0000)]
CARP: Mechanism to replace EXTRA_FRAME_INFO.

Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.

Document.

Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.

25 years ago Fri Aug 21 18:13:28 EDT 1998 Jim Lemke <jlemke@cygnus.com>
Doug Evans [Sat, 12 Dec 1998 01:10:41 +0000 (01:10 +0000)]
Fri Aug 21 18:13:28 EDT 1998  Jim Lemke  <jlemke@cygnus.com>

* configure.in (mips64el-skyb-elf): Use fragment mt-skyb and
exclude target-libiberty, target-libg++, etc.
* config/mt-skyb: Do not install gcc, g++, libc, libgcc, etc.

Mon Aug 10 23:04:56 EDT 1998  Jim Lemke  <jlemke@cygnus.com>

* config.sub (vpu-elf): Add a "marketing name" for mips64el-skyb-elf.

Mon Aug 10 18:59:42 EDT 1998  Jim Lemke  <jlemke@cygnus.com>

* configure.in (mips64el-skyb-elf): added new target
Bring over from sky-980617-branch.

25 years ago * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt.
Jeff Law [Fri, 11 Dec 1998 22:53:20 +0000 (22:53 +0000)]
    * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt.

25 years ago1998-12-11 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 11 Dec 1998 21:17:56 +0000 (21:17 +0000)]
1998-12-11  Fernando Nasser  <fnasser@cygnus.com>

        From J.T. Conklin  <jtc@redbacknetworks.com>:
        * i386-stub.c (handle_exception): Add support for 'P' command.
        (NUMREGS): New macro.

25 years ago * Makefile.in (configure-target-libjava): Depend on
Tom Tromey [Fri, 11 Dec 1998 18:56:32 +0000 (18:56 +0000)]
* Makefile.in (configure-target-libjava): Depend on
configure-target-newlib.
(configure-target-boehm-gc): New target.
(configure-target-qthreads): New target.

25 years ago1998-12-11 Jeff Law (law@cygnus.com)
Jason Molenda [Fri, 11 Dec 1998 18:47:33 +0000 (18:47 +0000)]
1998-12-11  Jeff Law (law@cygnus.com)

        * configure.in (with-sim-gpu2): Do not emit a -L argument without
        an associated pathname.  Link in the math library after the gpu2
        library.

Assumes that libm is around (and doesn't take advantage of the
AC_CHECK_LIB(m) that is already in configure.in), but this is a
minor point and unlikely to cause problems.

25 years agoUpdate.
Ulrich Drepper [Fri, 11 Dec 1998 17:14:50 +0000 (17:14 +0000)]
Update.

25 years agoCleanups.
Gavin Romig-Koch [Fri, 11 Dec 1998 15:18:54 +0000 (15:18 +0000)]
Cleanups.

25 years agoh8300: tweak "opcode not available in h8/300 mode" message
Ken Raeburn [Fri, 11 Dec 1998 07:55:04 +0000 (07:55 +0000)]
h8300: tweak "opcode not available in h8/300 mode" message

25 years agoCompare with ZERO not NULL.
Andrew Cagney [Fri, 11 Dec 1998 06:00:55 +0000 (06:00 +0000)]
Compare with ZERO not NULL.

25 years agoFix compiler warnings on FreeBSD.
Andrew Cagney [Fri, 11 Dec 1998 01:30:59 +0000 (01:30 +0000)]
Fix compiler warnings on FreeBSD.

25 years agoThu Dec 10 18:46:25 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 10 Dec 1998 23:48:37 +0000 (23:48 +0000)]
Thu Dec 10 18:46:25 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/div0s.cgs: New testcase.
* sim/fr30/div0u.cgs: New testcase.
* sim/fr30/div1.cgs: New testcase.
* sim/fr30/div2.cgs: New testcase.
* sim/fr30/div3.cgs: New testcase.
* sim/fr30/div4s.cgs: New testcase.
* sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.

25 years agoThu Dec 10 18:39:46 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 10 Dec 1998 23:41:58 +0000 (23:41 +0000)]
Thu Dec 10 18:39:46 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-opc.c,fr30-opc.h: Regenerated.

25 years agoFixes.
Jeff Law [Thu, 10 Dec 1998 23:36:40 +0000 (23:36 +0000)]
Fixes.

25 years ago* Fix for endianness bugs in tx39 sio sim.
Frank Ch. Eigler [Thu, 10 Dec 1998 23:20:48 +0000 (23:20 +0000)]
* Fix for endianness bugs in tx39 sio sim.
1998-12-10  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
(tx3904sio_tickle): fflush after a stdout character output.

25 years agoAdd missing sanitize markers.
Jeff Law [Thu, 10 Dec 1998 23:20:47 +0000 (23:20 +0000)]
Add missing sanitize markers.

25 years agoCARP:
Andrew Cagney [Thu, 10 Dec 1998 23:07:24 +0000 (23:07 +0000)]
CARP:
More replace reg_name[] with REGISTER_NAME().

25 years agoUpdate.
Ulrich Drepper [Thu, 10 Dec 1998 22:48:35 +0000 (22:48 +0000)]
Update.

25 years ago(elf_i386_relocate_section): Don't fail relocations in debug sections
Ulrich Drepper [Thu, 10 Dec 1998 22:47:25 +0000 (22:47 +0000)]
(elf_i386_relocate_section): Don't fail relocations in debug sections
for symbol defined externally.

25 years agoStart of HP merge changes to GDB.
David Taylor [Thu, 10 Dec 1998 21:25:43 +0000 (21:25 +0000)]
Start of HP merge changes to GDB.

25 years ago * gas/mips/vu0.[sd]: Update vmtir testcases.
Doug Evans [Thu, 10 Dec 1998 21:20:00 +0000 (21:20 +0000)]
* gas/mips/vu0.[sd]: Update vmtir testcases.

25 years ago * m32r-opc.c: Regenerate.
Doug Evans [Thu, 10 Dec 1998 20:50:29 +0000 (20:50 +0000)]
* m32r-opc.c: Regenerate.

25 years agoBring over forgotten changelog entry from sky-980617-branch.
Doug Evans [Thu, 10 Dec 1998 19:36:01 +0000 (19:36 +0000)]
Bring over forgotten changelog entry from sky-980617-branch.

Thu Jul 23 18:31:03 1998  Frank Ch. Eigler  <fche@cygnus.com>

* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
old one-operand CLIP.

25 years ago * gas/dvp/lower-2.[sd]: Handle label as immediate data.
Doug Evans [Thu, 10 Dec 1998 19:27:27 +0000 (19:27 +0000)]
* gas/dvp/lower-2.[sd]: Handle label as immediate data.
* gas/dvp/gifimage-1.[sd]: Add testcases for EOP.
* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
old one-operand CLIP.
Bring over from sky-980617-branch.

25 years agoThu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Ian Lance Taylor [Thu, 10 Dec 1998 16:16:08 +0000 (16:16 +0000)]
Thu Dec 10 11:12:28 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
(ALL_EMUL_EXTRA_OFILES): New variable.  Put them here instead.
* configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
if configuring with all targets.
* configure, Makefile.in, aclocal.m4: Rebuild.

* emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
(pe_dll_do_default_excludes): Removed, unused.
(pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
pe_dll_stdcall_aliases): Don't initialize them, this file may be
compiled more than once.
* pe-dll.c (pe_def_file, pe_dll_export_everything,
pe_dll_do_default_excludes, pe_dll_kill_ats,
pe_dll_stdcall_aliases): Define and initialize them here instead.
(generate_reloc): Fix allocation of reloc_addresses array to use
bfd_vma instead of unsigned long.  Fix element size in qsort call.
(reloc_sort): Compare pointers to bfd_vma instead of unsigned
long.

25 years ago * targets.c (bfd_target_vector): Remove duplicate entry for
Ian Lance Taylor [Thu, 10 Dec 1998 16:01:06 +0000 (16:01 +0000)]
* targets.c (bfd_target_vector): Remove duplicate entry for
tekhex_vec.

25 years agoAdd line separator character.
Nick Clifton [Thu, 10 Dec 1998 12:04:21 +0000 (12:04 +0000)]
Add line separator character.

25 years agoInclude "sim-assert.h".
Andrew Cagney [Thu, 10 Dec 1998 06:54:36 +0000 (06:54 +0000)]
Include "sim-assert.h".

25 years agoCARP:
Andrew Cagney [Thu, 10 Dec 1998 06:10:03 +0000 (06:10 +0000)]
CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().

25 years ago * config/tc-mips.c (append_insn): Don't move INSN_SYNC
Doug Evans [Thu, 10 Dec 1998 04:19:50 +0000 (04:19 +0000)]
* config/tc-mips.c (append_insn): Don't move INSN_SYNC
instructions into delay slot.
Bring over from sky-980617-branch.

25 years ago * config/tc-dvp.h (md_end): Define.
Doug Evans [Thu, 10 Dec 1998 01:19:52 +0000 (01:19 +0000)]
* config/tc-dvp.h (md_end): Define.
* config/tc-dvp.c (dvp_end): New function.
Bring over from sky-980617-branch.

25 years ago * mips-opc.c (sync*): Flag these instructions with INSN_SYNC.
Doug Evans [Thu, 10 Dec 1998 00:03:43 +0000 (00:03 +0000)]
* mips-opc.c (sync*): Flag these instructions with INSN_SYNC.

25 years ago * mips.h (INSN_SYNC): New flag.
Doug Evans [Wed, 9 Dec 1998 23:50:06 +0000 (23:50 +0000)]
* mips.h (INSN_SYNC): New flag.

25 years agobring changes over from sky-980617-branch
Doug Evans [Wed, 9 Dec 1998 23:28:41 +0000 (23:28 +0000)]
bring changes over from sky-980617-branch

25 years ago * mips-opc.c (mips_builtin_opcodes): Update vmtir syntax.
Doug Evans [Wed, 9 Dec 1998 23:10:52 +0000 (23:10 +0000)]
* mips-opc.c (mips_builtin_opcodes): Update vmtir syntax.
* dvp-opc.c (vu_lower_opcodes): Update mtir entry.
(extract_ffstreg): Fix calculation of reg part of returned value.
PR 18402

25 years agoKeep agentexpr.texi.
Jim Blandy [Wed, 9 Dec 1998 21:25:05 +0000 (21:25 +0000)]
Keep agentexpr.texi.

25 years ago * gas/vtable/vtable.exp: Do not run these tests for the dvp assembler.
Jeff Law [Wed, 9 Dec 1998 21:04:28 +0000 (21:04 +0000)]
    * gas/vtable/vtable.exp: Do not run these tests for the dvp assembler.

25 years ago * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
Doug Evans [Wed, 9 Dec 1998 20:44:30 +0000 (20:44 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,semx-switch.c: Regenerate.

25 years ago * config/tc-mips.c (gpr_interlocks): The r5900 always has
Jeff Law [Wed, 9 Dec 1998 19:33:06 +0000 (19:33 +0000)]
    * config/tc-mips.c (gpr_interlocks): The r5900 always has
        gpr interlocks.
Fixes minor assembler testsuite failure on the r5900.

25 years ago* sim-if.c: Include string.h or strings.h if present.
Doug Evans [Wed, 9 Dec 1998 18:18:15 +0000 (18:18 +0000)]
* sim-if.c: Include string.h or strings.h if present.

25 years ago * cgen-scache.c (scache_flush): Delete unused locals i,sc.
Doug Evans [Wed, 9 Dec 1998 18:09:55 +0000 (18:09 +0000)]
    * cgen-scache.c (scache_flush): Delete unused locals i,sc.

25 years ago* sim-trace.c: Include stdlib.h if present.
Doug Evans [Wed, 9 Dec 1998 18:07:26 +0000 (18:07 +0000)]
* sim-trace.c: Include stdlib.h if present.

25 years ago* sim-arange.c: Include libiberty.h, and stdlib.h if present.
Doug Evans [Wed, 9 Dec 1998 18:03:24 +0000 (18:03 +0000)]
* sim-arange.c: Include libiberty.h, and stdlib.h if present.

25 years ago * dv-sockser.c: Include unistd.h if present.
Doug Evans [Wed, 9 Dec 1998 17:56:41 +0000 (17:56 +0000)]
* dv-sockser.c: Include unistd.h if present.
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.

25 years agodefine completer_chars so that opcodes/hppa-dis.c compiles.
David Taylor [Wed, 9 Dec 1998 16:08:26 +0000 (16:08 +0000)]
define completer_chars so that opcodes/hppa-dis.c compiles.

25 years agoFix generic relocs to work as RELAs not RELs.
Nick Clifton [Wed, 9 Dec 1998 10:26:33 +0000 (10:26 +0000)]
Fix generic relocs to work as RELAs not RELs.

25 years agoLink with i960 simulator.
Jim Wilson [Wed, 9 Dec 1998 06:54:51 +0000 (06:54 +0000)]
Link with i960 simulator.
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.

25 years agoi960 simulator.
Jim Wilson [Wed, 9 Dec 1998 06:52:14 +0000 (06:52 +0000)]
i960 simulator.
* configure.in (i960-*-*): Add.
* configure: Rebuild.

25 years agoAdd i960 support to sim/common.
Jim Wilson [Wed, 9 Dec 1998 06:41:29 +0000 (06:41 +0000)]
Add i960 support to sim/common.
* gennltvals.sh: Add i960.
* nltvals.def: Rebuild.

25 years ago SCO Open Server Release 5 core file support, from Jouke Numan
Ian Lance Taylor [Wed, 9 Dec 1998 03:23:25 +0000 (03:23 +0000)]
SCO Open Server Release 5 core file support, from Jouke Numan
<jnuman@hiscom.nl>:
* sco5-core.c: New file.
* configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo.
(sco5-core.lo): Define SCO5_CORE in COREFLAG.
* Makefile.am: Rebuild dependencies.
(OPTIONAL_BACKENDS): Add sco5-core.lo.
(OPTIONAL_BACKENDS_CFILES): Add sco5-core.c.
* bfd.c (struct _bfd): Add sco5_core_data field to tdata.
* targets.c (sco5_core_vec): Add to target list if SCO5_CORE.
* bfd-in2.h, configure, Makefile.in: Rebuild.

25 years agoFixes.
Jeff Law [Wed, 9 Dec 1998 01:29:11 +0000 (01:29 +0000)]
Fixes.

25 years agoFixes.
Jeff Law [Wed, 9 Dec 1998 01:02:26 +0000 (01:02 +0000)]
Fixes.

25 years agoTue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
Ian Lance Taylor [Wed, 9 Dec 1998 00:55:55 +0000 (00:55 +0000)]
Tue Dec  8 19:51:50 1998  Mark Klein  <mklein@dis.com>

* configure.in (hppa-*-mpeix*): New target.
* config/obj-som.h (obj_som_compiler): Declare.
* config/obj-som.c (compiler_seen): New static variable.
(obj_som_compiler): New function.
* config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
  (md_pseudo_table): Add "compiler" if OBJ_SOM.
(pa_type_args): Set hppa_priv_level.
(pa_compiler): New static function if OBJ_SOM.
* configure: Rebuild.

25 years ago * NEWS: Add mentions of newly-added configurations.
Stan Shebs [Wed, 9 Dec 1998 00:51:48 +0000 (00:51 +0000)]
* NEWS: Add mentions of newly-added configurations.

25 years agoTue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com>
Ian Lance Taylor [Wed, 9 Dec 1998 00:49:31 +0000 (00:49 +0000)]
Tue Dec  8 19:38:42 1998  Mark Klein  <mklein@dis.com>

* config.bfd (hppa*-*-mpeix*): New target.
* configure.in: Add AC_HEADER_DIRENT.
(hppa*-*-mpeix*): New target.
* configure.host (hppa*-*-mpeix*): New host.
* hpux-core.c: Check HOST_HPPAMPEIX.  Use HAVE_DIRENT_H and
friends rather than just including <sys/dir.h>.
* som.h (struct som_symbol): Add hppa_priv_level and apto
tc_data.  Change all users.
(struct somdata): Add comp_unit field.
(obj_som_compilation_unit): Define.
(bfd_som_attach_compilation_unix): Declare.
* som.c: Check HOST_HPPAMPEIX.
(struct som_misc_symbol_info): Add new field priv_level.
(som_object_setup): Add current_offset parameter.  Change all
callers.
(setup_sections): Likewise.
(som_object_p): For EXECLIBMAGIC, read the lst header.
(som_write_symbol_strings): Add compilation_unit parameter.
Change all callers.
(som_finish_writing): Write out compilation_unit.
(som_bfd_derive_misc_symbol_info): Set priv_level.
(som_build_and_write_symbol_table): Set xleast field to 3.
(som_slurp_symbol_table): Set symbol priv_level.
(bfd_som_attach_compilation_unit): New function.
(som_bfd_ar_write_symbol_stuff): Set xleast field to 3.  Set
priv_level into symbol_value.
* configure, config.in: Rebuild.

25 years ago1998-12-08 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Wed, 9 Dec 1998 00:38:46 +0000 (00:38 +0000)]
1998-12-08  Philippe De Muyter  <phdm@macqel.be>

        * config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
        must accept a signal number as parameter.
        * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
        * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.

        * inferior.h (register_valid): Variable's type is `SIGNED char', not
        `char'.
        * findvar.c (register_valid): Ditto.

        * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
        * gdbthread.h (unbind_target_thread_vector): Likewise.

25 years agoFixes.
Jeff Law [Tue, 8 Dec 1998 22:52:54 +0000 (22:52 +0000)]
Fixes.

25 years ago*** empty log message ***
Jeff Law [Tue, 8 Dec 1998 22:51:49 +0000 (22:51 +0000)]
*** empty log message ***

25 years agoKeep restore.c and restore.exp
Jeff Law [Tue, 8 Dec 1998 22:01:16 +0000 (22:01 +0000)]
Keep restore.c and restore.exp

25 years agoTue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Edith Epstein [Tue, 8 Dec 1998 21:57:35 +0000 (21:57 +0000)]
Tue Dec  8 15:09:44 1998  Edith Epstein  <eepstein@sophia.cygnus.com>

        Merged in m68k-linux patch from Andreas Schwab

        1998-12-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

        * Makefile.in, configure.host, configure.tgt: Add support for
        m68k-linux.
        * config/m68k/linux.mh: New file.
        * config/m68k/linux.mt: New file.
        * config/m68k/nm-linux.h: New file.
        * config/m68k/tm-linux.h: New file.
        * config/m68k/xm-linux.h: New file.
        * gdb/m68klinux-nat.c: New file.
        * gdbserver/low-linux.c: Add support for m68k-linux.
        * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.

25 years ago * libbfd.c (COERCE32): Cast through unsigned long and long to
Ian Lance Taylor [Tue, 8 Dec 1998 21:55:15 +0000 (21:55 +0000)]
* libbfd.c (COERCE32): Cast through unsigned long and long to
avoid bug in old version of gcc.

25 years ago * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
Ian Lance Taylor [Tue, 8 Dec 1998 21:30:59 +0000 (21:30 +0000)]
* objdump.1: Fix typo (-d to -D).  From Nokubi Hirotaka
<hnokubi@yyy.or.jp>.

25 years ago * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.
Ian Lance Taylor [Tue, 8 Dec 1998 21:22:47 +0000 (21:22 +0000)]
* elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.
(elf_backend_additional_program_headers): Don't define.

25 years agoTue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Edith Epstein [Tue, 8 Dec 1998 20:41:19 +0000 (20:41 +0000)]
Tue Dec  8 15:09:44 1998  Edith Epstein  <eepstein@sophia.cygnus.com>

        * config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
          Added NUM_FREGS macro.

        * config/m68k/xm-linux.h: m68k-linux patch. New file.

        * config/m68k/tm-linux.h: m68k-linux patch. New file.

        * config/m68k/nm-linux.h: m68k-linux patch. New file.

        * config/m68k/linux.mt: m68k-linux patch. New file.

        * config/m68k/linux.mh: m68k-linux patch. New file.

        * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
          that checks the value of __GLIBC to decide whether or
          not to include sys/reg.h.

        * m68klinux-nat.c: m68k-linux patch. New file. Note
          both m68k-tdep.c and m68klinux-nat.c contain definitions
          for supply_gregset and supply_fpregset. The definitions
          in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
          the definitions in m68klinux-nat.c will be used. This is a
          bit of a hack. The supply_* routines do not belong in
          *_tdep.c files. But, there are several lynx ports that currently
          depend on these definitions.

        * configure.tgt: m68k-linux patch. Added m68*-*-linux*
          gdb_target.

        * configure.host: m68k-linux patch. Added m68*-*-linux*
          gdb_host.

        * Makefile.in: m68k-linux patch. Added compile line for
          m68klinux-nat.o

25 years ago * read.c (output_leb128): Don't mark as inline.
Ian Lance Taylor [Tue, 8 Dec 1998 20:01:58 +0000 (20:01 +0000)]
* read.c (output_leb128): Don't mark as inline.

25 years ago(generic_strcat_address): reformat to GNU coding
David Taylor [Tue, 8 Dec 1998 19:01:34 +0000 (19:01 +0000)]
(generic_strcat_address): reformat to GNU coding
conventions.  change sprintf call to an sprintf_vma call.

25 years agoTue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 8 Dec 1998 18:22:44 +0000 (18:22 +0000)]
Tue Dec  8 13:16:53 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.
* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.

25 years agoTue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 8 Dec 1998 18:22:25 +0000 (18:22 +0000)]
Tue Dec  8 13:16:53 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.

25 years agoTue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 8 Dec 1998 18:19:13 +0000 (18:19 +0000)]
Tue Dec  8 13:16:53 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.

25 years agoTue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 8 Dec 1998 18:14:38 +0000 (18:14 +0000)]
Tue Dec  8 13:12:44 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.

25 years ago* config/tc-ppc.c (ppc_vbyte): Prototype and new function for
Andrew Macleod [Tue, 8 Dec 1998 17:05:38 +0000 (17:05 +0000)]
* config/tc-ppc.c (ppc_vbyte): Prototype and new function for
  AIX .vbyte unaligned data support.
  (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
  (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
  sections.

25 years ago The following changes were made by Jim Blandy
David Taylor [Tue, 8 Dec 1998 16:33:13 +0000 (16:33 +0000)]
The following changes were made by Jim Blandy
  <jimb@zwingli.cygnus.com> and David Taylor
  <taylor@texas.cygnus.com> as part of a project to merge in changes
  made by HP; HP did not create ChangeLog entries.

* config/mp-enable-tui: New file.
(TUI_CFLAGS): Search devo's include directory, as long as we're
  totally ruining modularity.
(INCLUDE_SRCDIR): New var.
(GDB_TUI_SRCDIR): Fix syntax error.

* configure.in: Check the --enable-tui flag; if it's set, include
  a makefile fragment that #defines TUI and adds the needed #include
  directories.
(*-*-hpux*): New host; use sysdep-hpux.h.

* Makefile.in (.c.o): Check the variable set in the makefile
fragment above.

* display.c (term_goto): declare it.
(insert_some_chars): set it.
(delete_chars): set it.

* readline.c: add tui include files surrounded by TUI.
(rl_reset): new function, move some of rl_abort functionality to
  here.
(rl_abort): call rl_reset.
(rl_getc): tui changes.
(init_terminal_io): tui changes.

* readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
tui_tputs): declare if TUI is defined.

* rltty.c (prepare_terminal_settings): additional comment.

* signals.c: add tui include files surrounded by TUI.  move #if
  and #endif to column 1 so HP's compiler will accept them.  Remove
  declaration of tuiDoAndReturnToTop since it's declared in tui.h.
(rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
   (rl_handle_sigwinch_on_clear): define if TUI defined.
(rl_set_signals): if TUI, avoid infinite recursion.
(rl_clear_signals): install rl_handle_sigwinch_on_clear.

* sysdep-hpux.h: New file.

25 years ago The following changes were made by
David Taylor [Tue, 8 Dec 1998 15:54:10 +0000 (15:54 +0000)]
The following changes were made by
Elena Zannoni <ezannoni@kwikemart.cygnus.com>,
David Taylor <taylor@texas.cygnus.com>, and
Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to
merge in changes by HP; HP did not create ChangeLog entries.

* dis-buf.c (generic_strcat_address): new function.

* hppa-dis.c: Changes to improve hppa disassembly.
  Changed formatting in : reg_names, fp_reg_names,control_reg,
  New variables : sign_extension_names, deposit_names, conversion_names
    float_test_names, compare_cond_names_double, add_cond_names_double,
    logical_cond_names_double, unit_cond_names_double,
    branch_push_pop_names, saturation_names, shift_names, mix_names,
  New Macros :   GET_COMPL_O, GET_PUSH_POP,MERGED_REG
  Move some definitions to libhppa.h: GET_FIELD, GET_BIT
  (fput_const): renamed as fput_hex_const
  (print_insn_hppa):
   - use the macros fputs_filtered and
     fput_decimal_const whenever possible; calls to sign_extend require
     2 params -- add a missing second param of 0.
   - Some new code ifdefed for LOCAL_ONLY, all related to figuring out
     architecture version number of current machine. HP folks are
     trying to handle situation where the target program was compiled
     for PA 1.x (32-bit), but is running on a PA 2.0 machine and
     visa versa.
   - added new cases : 'g', 'B', 'm'
   - added cases specifically for PA 2.0
   - changed the following cases : '"', 'n', 'N', 'p', 'Z',
   - calls to fput_const become calls to fput_hex_const

25 years agoFix pc relative relocs.
Nick Clifton [Tue, 8 Dec 1998 15:44:06 +0000 (15:44 +0000)]
Fix pc relative relocs.

25 years agoHP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
David Taylor [Tue, 8 Dec 1998 15:44:05 +0000 (15:44 +0000)]
HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
Zannoni.

* hpux-core.c (hpux_core_core_file_p): this function now
  understands HPUX 10.30 thread info. Yes, the thread stacks can be
  found in the corefile! Also, in hpux_core_core_file_p, if we
  encounter a section with an unknown type, don't punt.  Instead,
  just skip it.  Also, count the number of sections of known type
  that we encounter.  If we encounter at least one good one, then
  we'll declare that the file is a core file.  If we encounter any
  unknown ones but some known ones, then we'll issue a warning (but
  still declare it to be a core file). Also, correctly decide when a
  file is not a core.
(PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
(CORE_ANON_SHMEM): define if not defined.
(hpux_core_struct): add members lwpid and user_tid.
(core_kernel_thread_id, core_user_thread_id): new macros.
(make_bfd_asection): use bfd_alloc to allocate room for a copy of
  the name before storing it in the bfd.
(hpux_core_core_file_p): handle threads.

* libhppa.h (GET_FIELD): protect against redefinition.
(HPPA_WIDE): define.
(GET_FIELD): define.
(GET_BIT): define.
(MASK): define.
(CATENATE): define.
(ELEVEN): define.
(sign_extend): redefine.
(assemble_6): define.
(assemble_12): rewrite.
(assemble_16): define.
(assemble_16a): define.
(assemble_17): rewrite.
(assemble_22): define.

25 years ago* sky->devo merge, final part of sim merge
Frank Ch. Eigler [Tue, 8 Dec 1998 12:23:26 +0000 (12:23 +0000)]
* sky->devo merge, final part of sim merge
[ChangeLog.sky]
1998-12-08  Frank Ch. Eigler  <fche@cygnus.com>
* sim-main.h (sim_state): Add multi-phase load tracking fields.
* sky-gdb.c (sky_option_handler): Add --load-next option handling.
* mips.igen (BREAK): Add multi-phase load and printf code handling.

25 years ago* Test case for PR 18452.
Frank Ch. Eigler [Tue, 8 Dec 1998 08:53:58 +0000 (08:53 +0000)]
* Test case for PR 18452.
1998-12-08  Frank Ch. Eigler  <fche@cygnus.com>
* do-2wordops.S: New test for double-word load-like operations.

25 years agoi960 cgen simulator support.
Jim Wilson [Tue, 8 Dec 1998 07:40:07 +0000 (07:40 +0000)]
i960 cgen simulator support.
* Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c.
(ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo.
start-sanitize-cygnus
(CLEANFILES): Add stamp-i960.
(I960_DEPS): Define.
(i960c-opc.h, i960c-opc.c, i960c-asm.c, i960c-dis.c, stamp-i960):
New makefile rules.
end-sanitize-cygnus
(i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules.
* Makefile.in: Rebuilt.
* configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o,
i960-dis.c to ta.
* i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig.
* i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files.

25 years agoMon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl>
Ian Lance Taylor [Tue, 8 Dec 1998 02:11:38 +0000 (02:11 +0000)]
Mon Dec  7 21:10:09 1998  J.J. van der Heijden  <j.j.vanderheijden@student.utwente.nl>

* configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
files.

25 years ago*** empty log message ***
Jim Blandy [Mon, 7 Dec 1998 23:15:12 +0000 (23:15 +0000)]
*** empty log message ***

25 years ago1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Dec 1998 23:07:17 +0000 (23:07 +0000)]
1998-12-07  Jason Molenda  (jsm@bugshack.cygnus.com)

        * config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
        * config/powerpc/xm-cygwin.h: Ditto.

PR 17664.

With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.

25 years ago* rs6000-tdep.c (pop_frame): Correctly find the registers saved in
Jim Blandy [Mon, 7 Dec 1998 20:28:54 +0000 (20:28 +0000)]
* rs6000-tdep.c (pop_frame): Correctly find the registers saved in
the stack frame.  Their offset from the previous stack frame is in
fdata.gpr_offset and fdata.fpr_offset, not fdata.offset.
(gdb.base/return.exp)
* config/rs6000/tm-rs6000.h: Doc fixes.

25 years ago*** empty log message ***
Jim Blandy [Mon, 7 Dec 1998 20:28:31 +0000 (20:28 +0000)]
*** empty log message ***

25 years agoMon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 7 Dec 1998 19:34:45 +0000 (19:34 +0000)]
Mon Dec  7 14:33:44 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.

25 years agoImrpve handling of erroneous input.
Nick Clifton [Mon, 7 Dec 1998 15:54:34 +0000 (15:54 +0000)]
Imrpve handling of erroneous input.

25 years agoCheck for BFD_RELOC_ARM_PCREL_BRANCH in elf32_arm_force_relocation.
Catherine Moore [Mon, 7 Dec 1998 15:54:33 +0000 (15:54 +0000)]
Check for  BFD_RELOC_ARM_PCREL_BRANCH in elf32_arm_force_relocation.

25 years agoUse signed values for signed relocaitons.
Nick Clifton [Mon, 7 Dec 1998 13:23:17 +0000 (13:23 +0000)]
Use signed values for signed relocaitons.

25 years ago * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
Ian Lance Taylor [Mon, 7 Dec 1998 03:41:40 +0000 (03:41 +0000)]
* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
(mips-dec-bsd*): Set endian to little.
* configure: Rebuild.

25 years ago * mipsbsd.c (MY(set_arch_mach)): Make static.
Ian Lance Taylor [Mon, 7 Dec 1998 03:39:20 +0000 (03:39 +0000)]
* mipsbsd.c (MY(set_arch_mach)): Make static.
* aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use
bfd_mach_mips* macros rather than simple numbers.

25 years ago * gprof.texi (Symspecs): Mention that you have to add any
Ian Lance Taylor [Mon, 7 Dec 1998 02:58:45 +0000 (02:58 +0000)]
* gprof.texi (Symspecs): Mention that you have to add any
underscore yourself when naming a symbol.

25 years ago COFF weak symbol support, based on patches from Mark Elbrecht
Ian Lance Taylor [Mon, 7 Dec 1998 02:47:22 +0000 (02:47 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT.
* coffgen.c (coff_renumber_symbols): Handle weak symbols.
(coff_write_alien_symbol): Likewise.
* cofflink.c (coff_link_check_ar_symbols): Likewise.
(coff_link_add_symbols): Likewise.
(_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.

25 years ago COFF weak symbol support, based on patches from Mark Elbrecht
Ian Lance Taylor [Mon, 7 Dec 1998 02:46:56 +0000 (02:46 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
* config/obj-coff.c (obj_coff_weak): New static function.
(obj_coff_endef) [both versions]: Handle weak symbols.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(obj_pseudo_table): Add "weak".

25 years ago * objdump.c (SFILE): Add size field.
Ian Lance Taylor [Mon, 7 Dec 1998 01:07:02 +0000 (01:07 +0000)]
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one.  Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50.  Change
initialization and use of sfile to match changes to
objdump_sprintf.