binutils-gdb.git
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.

25 years ago * elf.c (copy_private_bfd_data): Always initialize the
Ian Lance Taylor [Mon, 7 Dec 1998 00:33:13 +0000 (00:33 +0000)]
* elf.c (copy_private_bfd_data): Always initialize the
includes_phdrs field.

25 years ago * mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2.
Ian Lance Taylor [Mon, 7 Dec 1998 00:01:16 +0000 (00:01 +0000)]
* mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2.

25 years ago * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
Ian Lance Taylor [Sun, 6 Dec 1998 23:02:41 +0000 (23:02 +0000)]
* elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
file defines a symbol first mentioned in an ELF file.

25 years ago * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
Ian Lance Taylor [Sun, 6 Dec 1998 22:14:30 +0000 (22:14 +0000)]
* bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
possible, rather than only if BFD64.
* elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT,
not __GNUC__.
* bfd-in2.h: Rebuild.

25 years ago * srec.c (srec_set_section_contents): Correct test to avoid
Ian Lance Taylor [Sun, 6 Dec 1998 21:56:13 +0000 (21:56 +0000)]
* srec.c (srec_set_section_contents): Correct test to avoid
switching to 4 byte addresses after seeing a second section which
requires 3 byte addresses.  From Joel Schantz
<joel.schantz@argosys.boeing.com>.

25 years ago * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:48:34 +0000 (21:48 +0000)]
* configure.in (m68k-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
* aclocal.m4: Rebuild with current tools.
* configure: Rebuild.

25 years agorebuild correctly
Ian Lance Taylor [Sun, 6 Dec 1998 21:37:41 +0000 (21:37 +0000)]
rebuild correctly

25 years ago * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:34:37 +0000 (21:34 +0000)]
* configure.tgt (m68*-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.

25 years ago * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:31:24 +0000 (21:31 +0000)]
* config.bfd (m68*-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.

25 years ago * config/tc-alpha.c (emit_ldgp): Give an error message rather than
Ian Lance Taylor [Sun, 6 Dec 1998 20:10:52 +0000 (20:10 +0000)]
* config/tc-alpha.c (emit_ldgp): Give an error message rather than
an assertion failure for a case we can't handle when OBJ_ECOFF.

25 years ago * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
Ian Lance Taylor [Sun, 6 Dec 1998 19:09:24 +0000 (19:09 +0000)]
* ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.

25 years ago * strip.1: Fix typo (-V to -v). From Issei Hirayama
Ian Lance Taylor [Sun, 6 Dec 1998 18:28:53 +0000 (18:28 +0000)]
* strip.1: Fix typo (-V to -v).  From Issei Hirayama
<iss@mail.wbs.or.jp>.

25 years ago * i386.h (i386_optab): Permit w suffix on processor control and
Ian Lance Taylor [Sun, 6 Dec 1998 18:22:55 +0000 (18:22 +0000)]
* i386.h (i386_optab): Permit w suffix on processor control and
  status word instructions.

25 years agoSun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Sun, 6 Dec 1998 18:01:41 +0000 (18:01 +0000)]
Sun Dec  6 12:59:37 1998  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers1.c: Add missing return types and values.
* ld-elfvers/vers2.c: Likewise.
* ld-elfvers/vers3.c: Likewise.
* ld-elfvers/vers4.c: Likewise.
* ld-elfvers/vers5.c: Likewise.
* ld-elfvers/vers6.c: Likewise.
* ld-elfvers/vers7.c: Likewise.
* ld-elfvers/vers9.c: Likewise.
* ld-elfvers/vers15.c: Likewise.

25 years ago * expr.c (operator): And with 0xff to avoid problems with signed
Ian Lance Taylor [Sun, 6 Dec 1998 17:52:58 +0000 (17:52 +0000)]
* expr.c (operator): And with 0xff to avoid problems with signed
char.

25 years ago* gxtool silence tweak
Frank Ch. Eigler [Sat, 5 Dec 1998 11:46:32 +0000 (11:46 +0000)]
* gxtool silence tweak

25 years ago* gx prototype: simulator I/O bug fix
Frank Ch. Eigler [Sat, 5 Dec 1998 10:32:12 +0000 (10:32 +0000)]
* gx prototype: simulator I/O bug fix
1998-12-05  Frank Ch. Eigler  <fche@elastic.org>
* gx-translate.c (m32r_emit_short_insn): Correct ABI result
handling for TRAP insn.

25 years ago(profile_print_addr_range): Pretty up output a little.
Doug Evans [Sat, 5 Dec 1998 08:47:32 +0000 (08:47 +0000)]
(profile_print_addr_range): Pretty up output a little.

25 years ago * configure.in: Call SIM_AC_OPTION_INLINE.
Doug Evans [Sat, 5 Dec 1998 08:09:18 +0000 (08:09 +0000)]
* configure.in: Call SIM_AC_OPTION_INLINE.
* configure: Regenerate.
* sim-main.h: Protect against multiple inclusion.
Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
Done by cgen-sim.h now.
* tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
* cpuall.h: Regenerate.
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* mloop.in (extract16): Make static inline again.
Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
(extract32): Ditto.
Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
(execute): Test ARGBUF_PROFILE_P before profiling.
Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
* mloopx.in: Rewrite.

25 years ago * cgen-defs.h: New file, old cgen-sim.h.
Doug Evans [Sat, 5 Dec 1998 07:56:13 +0000 (07:56 +0000)]
* cgen-defs.h: New file, old cgen-sim.h.
* cgen-sim.h: Simple header that includes others.
* sim-arange.c: New file.
* sim-arange.h: New file.
* sim-basics.h: Include it.
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
(sim-arange.o): Add rule for.
* sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
(sim_io_eprintf_cpu): Add prototype.
* sim-inline.h (HAVE_INLINE): Define if GNUC.
(INLINE2): New macro.
(EXTERN_INLINE): New macro.
* sim-module.c (sim_post_argv_init): Initialize cpu backlink
before calling module init fns.
* sim-profile.h (OPTION_PROFILE_*): Move into enum.
(profile_init): New function.
(profile_options): New option --profile-range.
(profile_option_handler): Handle --profile-range.
(profile_print_insn): Qualify address range specific section titles.
(profile_print_addr_ranges): New function.
(profile_info): Print address ranges if specified.
(profile_install): Set profile_init init fn.
* sim-profile.h (PROFILE_DATA): New member `range'.
* sim-trace.c (trace_init): New function.
(trace_options): New option --trace-range.
(trace_option_handler): Handle --trace-range.
(trace_install): Set trace_init init fn.
* sim-trace.h (TRACE_DATA): New member `range'.
* sim-utils.c (sim_cpu_msg_prefix): New function.
(sim_io_eprintf_cpu): New function.
* cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
(PC_IN_PROFILE_RANGE_P): New macro.
* cgen-trace.c (trace_insn_init): Set current_insn to NULL.
(trace_insn_fini): New arg abuf.  All callers updated.
Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
printing cycle counts.
* cgen-trace.h (trace_insn_fini): Update prototype.
(TRACE_RESULT_P): New macro.
(TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
(TRACE_INSN): Check ARGBUF_TRACE_P.
(TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
* cgen-types.h (SIM_INLINE): Delete.
(SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
* cgen-utils.c: Don't include cgen-engine.h
* genmloop.sh (@cpu@_fill_argbuf): New function.
(@cpu@_fill_argbuf_tp): New function.
(@cpu@_emit_before,@cpu@_emit_after): New functions.
(@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
(SET_CTI_VPC,SET_INSN_COUNT): Update.
(@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
(@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
doing profiling. Update call to TRACE_INSN_FINI.

25 years ago* sim-memopt.c (sim_memory_uninstall): Result type is `void'.
Doug Evans [Sat, 5 Dec 1998 02:33:31 +0000 (02:33 +0000)]
* sim-memopt.c (sim_memory_uninstall): Result type is `void'.

25 years agoaddress range support
Doug Evans [Sat, 5 Dec 1998 02:19:39 +0000 (02:19 +0000)]
address range support

25 years ago * fr30-opc.c: Regenerate.
Doug Evans [Sat, 5 Dec 1998 01:46:33 +0000 (01:46 +0000)]
* fr30-opc.c: Regenerate.

25 years ago*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:24:21 +0000 (23:24 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:17:38 +0000 (23:17 +0000)]
*** empty log message ***

25 years agoFri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Fri, 4 Dec 1998 22:08:56 +0000 (22:08 +0000)]
Fri Dec  4 17:08:08 1998  Dave Brolley  <brolley@cygnus.com>

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

26 years agoChange default start address to 0x10000 so that it fits in 20 bits
Nick Clifton [Fri, 4 Dec 1998 10:14:35 +0000 (10:14 +0000)]
Change default start address to 0x10000 so that it fits in 20 bits

26 years ago * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
Doug Evans [Fri, 4 Dec 1998 08:22:27 +0000 (08:22 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.

26 years ago1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 4 Dec 1998 04:46:18 +0000 (04:46 +0000)]
1998-12-03  Jason Molenda  (jsm@bugshack.cygnus.com)

        * monitor.c (monitor_read_memory): Zero out pattern buffers
        before calling re_search.
        (parse_register_dump): Ditto.

PR 18049.  This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer.  The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.

If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.

26 years ago* gen-engine.c (print_run_body): Prefix instruction_address.
Andrew Cagney [Fri, 4 Dec 1998 04:45:05 +0000 (04:45 +0000)]
* gen-engine.c (print_run_body): Prefix instruction_address.

26 years ago* Test case for PR 18364, over from d30v branch.
Frank Ch. Eigler [Fri, 4 Dec 1998 04:17:08 +0000 (04:17 +0000)]
* Test case for PR 18364, over from d30v branch.
1998-12-04  Frank Ch. Eigler  <fche@cygnus.com>
* do-shifts.S: Update an older test case.

26 years ago * remote.texi: Changed wording that implied that the GDB remote
Stan Shebs [Thu, 3 Dec 1998 23:29:54 +0000 (23:29 +0000)]
* remote.texi: Changed wording that implied that the GDB remote
protocol caches register values instead of GDB itself.

26 years agoThu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 22:38:13 +0000 (22:38 +0000)]
Thu Dec  3 14:20:03 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/ld.cgs: Implement more loads.
* sim/fr30/call.cgs: New testcase.
* sim/fr30/testutils.inc (testr_h_dr): New macro.
(set_s_user,set_s_system): New macros.

26 years agoThu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 19:27:35 +0000 (19:27 +0000)]
Thu Dec  3 14:26:20 1998  Dave Brolley  <brolley@cygnus.com>

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

26 years agoThu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 19:22:56 +0000 (19:22 +0000)]
Thu Dec  3 14:20:03 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30: New Directory.

26 years agoFix typo in orevious delta
Nick Clifton [Thu, 3 Dec 1998 17:03:56 +0000 (17:03 +0000)]
Fix typo in orevious delta

26 years agochange BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48
Nick Clifton [Thu, 3 Dec 1998 17:02:49 +0000 (17:02 +0000)]
change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48

26 years agoAdd support for R_FR30_48 reloc.
Nick Clifton [Thu, 3 Dec 1998 16:53:03 +0000 (16:53 +0000)]
Add support for R_FR30_48 reloc.