platform/upstream/binutils.git
26 years agoDe-sanitize simulator hw.
Andrew Cagney [Mon, 25 May 1998 06:20:43 +0000 (06:20 +0000)]
De-sanitize simulator hw.

26 years agoFix mips SWL on 64bit ISA when 32 bit word appears in second half of
Andrew Cagney [Mon, 25 May 1998 05:48:34 +0000 (05:48 +0000)]
Fix mips SWL on 64bit ISA when 32 bit word appears in second half of
64 bit bus.
Test.

26 years ago * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
Keith Seitz [Sun, 24 May 1998 21:05:12 +0000 (21:05 +0000)]
    * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
that
        we can use this member to track real timeouts.
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
        system timeout of one second. Track the "real" timeout as a series of th
ese
        one second timeouts.
        Call ui_loop_hook to keep the gui alive.

        * top.c: Define new hook for cygwin32, "ui_loop_hook".

        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
        update problems.

26 years ago * Initial support for "sim list vif[01]"
Ron Unrau [Sun, 24 May 1998 13:06:09 +0000 (13:06 +0000)]
* Initial support for "sim list vif[01]"

26 years ago * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
Peter Schauer [Sat, 23 May 1998 09:31:41 +0000 (09:31 +0000)]
* dwarf2read.c (read_subroutine_type):  Set TYPE_FLAG_PROTOTYPED
on C++ functions.
* valops.c (value_arg_coerce):  Add new argument to indicate whether
the function has a prototype, handle integer and float promotions
accordingly.
        (call_function_by_hand):  Always call value_arg_coerce, pass down
prototype information.

26 years ago * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
Doug Evans [Fri, 22 May 1998 23:03:45 +0000 (23:03 +0000)]
* cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
* m32r-asm.c,m32r-dis.c: Regenerate.

26 years ago * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
Doug Evans [Fri, 22 May 1998 23:02:40 +0000 (23:02 +0000)]
* cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.

26 years ago * gas/m32r/allinsn.d: Handle 64 bit bfd_vma.
Doug Evans [Fri, 22 May 1998 22:58:08 +0000 (22:58 +0000)]
* gas/m32r/allinsn.d: Handle 64 bit bfd_vma.
* gas/m32r/uppercase.d: Likewise.
* gas/m32r/m32rx.d: Likewise.

26 years ago * dvp-opc.c (parse_dotdest): Missing dest -> xyzw.
Doug Evans [Fri, 22 May 1998 18:45:19 +0000 (18:45 +0000)]
* dvp-opc.c (parse_dotdest): Missing dest -> xyzw.

26 years agoReformat for consistency.
Jason Molenda [Fri, 22 May 1998 18:07:40 +0000 (18:07 +0000)]
Reformat for consistency.

26 years ago * remote.c (_initialize_remote): Typo extended__remote
John Metzler [Fri, 22 May 1998 17:59:05 +0000 (17:59 +0000)]
* remote.c (_initialize_remote): Typo extended__remote

26 years agoOnly enable H/W on some mips targets.
Andrew Cagney [Fri, 22 May 1998 05:23:04 +0000 (05:23 +0000)]
Only enable H/W on some mips targets.
Move common hw-obj to Make-common
Pacify GCC

26 years agoSanity clause
Andrew Cagney [Fri, 22 May 1998 02:08:26 +0000 (02:08 +0000)]
Sanity clause

26 years agoBack out of hw-main _callback -> _descriptor changes
Andrew Cagney [Fri, 22 May 1998 01:12:06 +0000 (01:12 +0000)]
Back out of hw-main _callback -> _descriptor changes

26 years agoFix operator precedence in if() statement.
Nick Clifton [Thu, 21 May 1998 23:59:59 +0000 (23:59 +0000)]
Fix operator precedence in if() statement.

26 years ago * gas/dvp/upper-2.[sd]: Test absent dest -> xyzw.
Doug Evans [Thu, 21 May 1998 22:16:04 +0000 (22:16 +0000)]
* gas/dvp/upper-2.[sd]: Test absent dest -> xyzw.

26 years agoFixes to allow testsuite to pass (modulo problems with cofftag).
Nick Clifton [Thu, 21 May 1998 22:04:56 +0000 (22:04 +0000)]
Fixes to allow testsuite to pass (modulo problems with cofftag).

26 years agoThu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 21 May 1998 20:20:39 +0000 (20:20 +0000)]
Thu May 21 13:14:25 1998  John Metzler  <jmetzler@cygnus.com>
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
(_initialize_gnu_nat):      Call new init
* mac-nat.c (init_child_ops):          Ditto
(_initialize_mac_nat):                 Ditto
* monitor.c (init_base_monitor_ops):   Ditto
(_initialize_remote_monitors) :        Ditto
* ppc-bdm.c (init_bdm_ppc_ops):        Ditto
(_initialize_bdm_ppc):                 Ditto
* remote-adapt.c ( init_adapt_ops):    Ditto
(_initialize_remote_adapt):            Ditto
* remote-array.c (init_array_ops) :    Ditto
(_initialize_array):                   Ditto
* remote-bug (init_bug_ops) :          Ditto
(_initialize_remote_bug):              Ditto
* remote-e7000.c (init_e7000_ops):     Ditto
(_initialize_remote_e7000) :           Ditto
* remote-eb.c (init_eb_ops) :          Ditto
(_initialize_remote_eb) :              Ditto
*remote-es.c (init_es1800_ops) :       Ditto
(init_es1800_child_ops) :              Ditto
(_initialize_es1800) ;                 Ditto
*remote-hms.c (init_hms_ops):          Ditto
(_initialize_remote_hms) :             Ditto
* remote-mm.c (init_mm_ops):           Ditto
(_initialize_remote_mm) :              Ditto
* remote-nindy.c (init_nindy_ops):     Ditto
(_initialize_nindy):                   Ditto
* remote_nrom.c (init_nrom_ops) :      Ditto
(_initialize_remote_nrom) :            Ditto
*remote-os9k (init_rombug_ops) :       Ditto
(_initialize_remote_os9k) :            Ditto
*remote-rdi.c (init_rdi_ops) :         Ditto
(_initialize_remote_rdi) :             Ditto
* remote-rdp.c (init_remote_rdp_ops) : Ditto
(_initialize_remote_rdp) :             Ditto
* remote-sds.c (init_sds_ops) :        Ditto
(_initialize_remote_sds) :             Ditto
* remote-sim.c (init_gdbsim_ops) :     Ditto
(_initialize_remote_sim) :             Ditto
* remote-st.c (init_st2000_ops):       Ditto
(_initialize_remote_st2000):           Ditto
*remote-udi.c (init_udi_ops) :         Ditto
(_initialize_remote_udi) :             Ditto
* remote-vx.c (init_vx_ops) :          Ditto
(init_vx_run_ops) :                    Ditto
(_initialize_vx) :                     Ditto
* remote.c (init_remote_ops):          Ditto
(init_extended_remote_ops):            Ditto
(_initialize_remote):                  Ditto
* sparcl-tdep.c (init_sparclite_ops):  Ditto
(_initialize_sparcl_tdep):             Ditto
* v850ice.c (init_850ice_ops):         Ditto
(_initialize_v850ice):                 Ditto
*win32-nat.c: (init_child_ops):        Ditto
(_initialize_inftarg):                 Ditto

26 years agogencode.c: Mark BEGEZALL as LIKELY.
Gavin Romig-Koch [Thu, 21 May 1998 18:26:38 +0000 (18:26 +0000)]
gencode.c: Mark BEGEZALL as LIKELY.

26 years agoremove errant ChangeLog header.
Jason Molenda [Thu, 21 May 1998 18:07:33 +0000 (18:07 +0000)]
remove errant ChangeLog header.

26 years agoThu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 21 May 1998 18:03:25 +0000 (18:03 +0000)]
Thu May 21 13:56:24 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk.c: reinserted the changes that were accidentally deleted:
        (_initialize_gdbtk): Use correct device names in
        cygwin-specific call (cosmetic change).
        (gdbtk_ignorable_warning): removed va_list parameter,
        which was unused.
        (_initialize_gdbtk): add cygwin32 specific code to
        allow `gdb -nw' to work when specified specified from a windows
        console-mode command line.

        * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk

26 years ago * interp.c: modified name of GIF device
Patrick Macdonald [Thu, 21 May 1998 15:41:35 +0000 (15:41 +0000)]
* interp.c: modified name of GIF device
* sky-gpuif.[ch]:  IMT burst support and queue manipulation ( see
                   ChangeLog.sky for complete details )
* sky-gs.c: modified name of GIF device

26 years agoFix sign extension on 32 bit add/sub instructions.
Andrew Cagney [Thu, 21 May 1998 09:32:07 +0000 (09:32 +0000)]
Fix sign extension on 32 bit add/sub instructions.

26 years ago* interp.c (sim_fetch_register): Convert internal r5900 regs to
Andrew Cagney [Thu, 21 May 1998 08:18:21 +0000 (08:18 +0000)]
* interp.c (sim_fetch_register): Convert internal r5900 regs to
target byte order

26 years ago* sim-hw.c: Include ctype.h.
Andrew Cagney [Thu, 21 May 1998 08:17:31 +0000 (08:17 +0000)]
* sim-hw.c: Include ctype.h.
(do_hw_poll_read): Do not assume EAGAIN.

26 years agoSmall typeos.
Jason Molenda [Wed, 20 May 1998 23:29:03 +0000 (23:29 +0000)]
Small typeos.

26 years agoc_gen.pl: Added subroutine "print_comment"
Jillian Ye [Wed, 20 May 1998 22:14:16 +0000 (22:14 +0000)]
c_gen.pl: Added subroutine "print_comment"
          and on/off option for "src line #"

26 years ago * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
Gavin Romig-Koch [Wed, 20 May 1998 19:31:04 +0000 (19:31 +0000)]
* mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
* mips/tm-tx39l.h : Same.

26 years agoWed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Wed, 20 May 1998 17:13:20 +0000 (17:13 +0000)]
Wed May 20 10:12:11 1998  John Metzler  <jmetzler@cygnus.com>

* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
        Split out as separate function called by skip prologue and scan
        prologue. new formula handles optimization in which the prologue
        is interleaved with the body of the function. Also recognizes new
        variations of prologue encoding.  Use of frame pointer is
        essential to debugging, -fno-omit-frame-pointer
        (m32r_skip_prologue): Call decode prologue, ignore line info
        (m32r_scan_prologue): Call decode prologue, ignore line info

26 years ago * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
Doug Evans [Wed, 20 May 1998 11:59:32 +0000 (11:59 +0000)]
* m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
* mloopx.in (extract): Set abuf.addr for proper fill nop counting.
(execute): Count parallel insns.
* sim-if.c (print_m32r_misc_cpu): Print count.
* sim-main.h (M32R_MISC_PROFILE): New member parallel_count.

26 years ago * cgen-trace.c (first_insn_p): New static local.
Doug Evans [Wed, 20 May 1998 11:43:00 +0000 (11:43 +0000)]
* cgen-trace.c (first_insn_p): New static local.
(trace_insn_init): Set it.
(trace_insn_fini): Use TRACE_PREFIX.
(trace_insn): Rewrite to use trace_prefix.
* sim-trace.c (trace_prefix): Don't print filename arg if NULL.
Adjust width accordingly.

* sim-profile.h (PROFILE_DATA): New member profile_any_p.
(PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
(PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
(PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
(PROFILE_COUNT_CORE): Simplify.
* sim-profile.c (profile_option_handler): Compute profile_any_p.

26 years ago Zero bottom two bits of pc in jmp,jl insns.
Doug Evans [Wed, 20 May 1998 07:54:31 +0000 (07:54 +0000)]
Zero bottom two bits of pc in jmp,jl insns.
* sem.c,sem-switch.c: Regenerate.
* semx.c: Regenerate.

26 years ago * cgen-ops.h (ADDCFSI): Fix typo.
Doug Evans [Wed, 20 May 1998 07:01:05 +0000 (07:01 +0000)]
* cgen-ops.h (ADDCFSI): Fix typo.

26 years ago * mips-opc.c (multu1): Add two operand variant for the r5900.
Jeff Law [Wed, 20 May 1998 06:21:01 +0000 (06:21 +0000)]
    * mips-opc.c (multu1): Add two operand variant for the r5900.

26 years agoTue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Wed, 20 May 1998 00:30:42 +0000 (00:30 +0000)]
Tue May 19 17:23:54 1998  John Metzler  <jmetzler@cygnus.com>
* w89k-rom.c (_initialize_w89k ): Call new init function
             (init_w89k_cmds): Convert to dynamic initialization of
              monitor_ops data structure for forward compatability with
              additions to the data structure.
* dbug-rom.c (_initialize_dbug_rom): ditto
             (init_dbug_cmds):       ditto
* m32r-rom.c (_initialize_m32r_rom):  ditto
             (init_m32r_cmds):        ditto

26 years agoFix for PR15642 - apply label alignment adjustment to all labels at the given address.
Nick Clifton [Wed, 20 May 1998 00:03:01 +0000 (00:03 +0000)]
Fix for PR15642 - apply label alignment adjustment to all labels at the given address.

26 years ago * sim-if.c (do_trap): Treat traps 2-15 as hardware does.
Doug Evans [Tue, 19 May 1998 23:52:23 +0000 (23:52 +0000)]
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.

26 years ago * reloc.c (bfd_check_overflow): Add casts before shifts which may
Ian Lance Taylor [Tue, 19 May 1998 22:45:38 +0000 (22:45 +0000)]
* reloc.c (bfd_check_overflow): Add casts before shifts which may
  not fit in 32 bits.
(_bfd_relocate_contents): Likewise.

26 years ago * gas/mips/mips16.d: Correct to reflect bug fix to disassembler.
Ian Lance Taylor [Tue, 19 May 1998 22:17:38 +0000 (22:17 +0000)]
* gas/mips/mips16.d: Correct to reflect bug fix to disassembler.

26 years ago * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
Ian Lance Taylor [Tue, 19 May 1998 21:36:42 +0000 (21:36 +0000)]
* mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
with a shift count of 0.

26 years ago*** empty log message ***
Catherine Moore [Tue, 19 May 1998 13:20:47 +0000 (13:20 +0000)]
*** empty log message ***

26 years agoUse number_to_chars_bigendian and number_to_chars_littleendian to
Catherine Moore [Tue, 19 May 1998 13:03:09 +0000 (13:03 +0000)]
Use number_to_chars_bigendian and number_to_chars_littleendian to
write data in sparc_handle_align.

26 years agoFix PR 15948
Nick Clifton [Tue, 19 May 1998 00:12:10 +0000 (00:12 +0000)]
Fix PR 15948

26 years ago * write.c (fixup_segment): Change "segment" to "section" in
Doug Evans [Mon, 18 May 1998 23:06:10 +0000 (23:06 +0000)]
* write.c (fixup_segment): Change "segment" to "section" in
error message.

26 years agoFix nightly testing bug.
Nick Clifton [Mon, 18 May 1998 21:47:54 +0000 (21:47 +0000)]
Fix nightly testing bug.

26 years agoChange subtraction of two symbols message; At end of file flush any debug_sym links
Michael Meissner [Mon, 18 May 1998 20:56:45 +0000 (20:56 +0000)]
Change subtraction of two symbols message; At end of file flush any debug_sym links

26 years ago * dbxread.c (process_one_symbol): If block addresses are relative to
Keith Seitz [Mon, 18 May 1998 20:48:58 +0000 (20:48 +0000)]
    * dbxread.c (process_one_symbol): If block addresses are relative to
        function start addresses, reset function_start_address whenever a new
        source file is seen.

26 years ago From Jason Merrill <jason@cygnus.com>:
Ian Lance Taylor [Mon, 18 May 1998 20:21:22 +0000 (20:21 +0000)]
From Jason Merrill <jason@cygnus.com>:
* ldlang.c (wild_sort): Correct order of sort.
* scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
.dtors.
* scripttempl/elfd10v.sc: Likewise.
start-sanitize-d30v
* scripttempl/elfd30v.sc: Likewise.
end-sanitize-d30v
* scripttempl/elfppc.sc: Likewise.

26 years ago * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:51:56 +0000 (17:51 +0000)]
    * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
        (mips_ip): Likewise.

26 years ago* Added tests for R5900 mult1 instructions.
Frank Ch. Eigler [Mon, 18 May 1998 17:48:38 +0000 (17:48 +0000)]
* Added tests for R5900 mult1 instructions.

26 years ago * vu0.s: Test vopmula/vopmsub with and without opcode
Jeff Law [Mon, 18 May 1998 17:48:37 +0000 (17:48 +0000)]
    * vu0.s: Test vopmula/vopmsub with and without opcode
        completer.
        * vu0.d: Corresponding changes.

26 years ago* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Frank Ch. Eigler [Mon, 18 May 1998 17:46:35 +0000 (17:46 +0000)]
* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Mon May 18 14:27:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
* mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.

26 years ago * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:46:34 +0000 (17:46 +0000)]
    * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
        (_print_insn_mips): Likewise.
        * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
        completers.

26 years ago * sim/sky/sky.ld: Delete file.
Doug Evans [Mon, 18 May 1998 17:38:48 +0000 (17:38 +0000)]
* sim/sky/sky.ld: Delete file.

26 years agoChanged command line switch from --m32rx-enable-special to --hidden
Nick Clifton [Mon, 18 May 1998 17:34:24 +0000 (17:34 +0000)]
Changed command line switch from --m32rx-enable-special to --hidden
Removed documentation about the switch.

26 years ago* Monster patch - may destablize MIPS sims for a little while.
Frank Ch. Eigler [Mon, 18 May 1998 15:55:05 +0000 (15:55 +0000)]
* Monster patch - may destablize MIPS sims for a little while.
* Followup patch for SCEI PR 15853
* First check-in of TX3904 interrupt controller devices for ECC. [sanitized]
* First implementation of MIPS hardware interrupt emulation.
Mon May 18 18:22:42 1998  Frank Ch. Eigler  <fche@cygnus.com>
* configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
  modules.  Recognize TX39 target with "mips*tx39" pattern.
* configure: Rebuilt.
* sim-main.h (*): Added many macros defining bits in
  TX39 control registers.
(SignalInterrupt): Send actual PC instead of NULL.
(SignalNMIReset): New exception type.
* interp.c (board): New variable for future use to identify
a particular board being simulated.
(mips_option_handler,mips_options): Added "--board" option.
(interrupt_event): Send actual PC.
(sim_open): Make memory layout conditional on board setting.
(signal_exception): Initial implementation of hardware interrupt
  handling.  Accept another break instruction variant for simulator
  exit.
(decode_coproc): Implement RFE instruction for TX39.
(mips.igen): Decode RFE instruction as such.
start-sanitize-tx3904
* configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
* interp.c: Define "jmr3904" and "jmr3904debug" board types and
bbegin to implement memory map.
* dv-tx3904cpu.c: New file.
* dv-tx3904irc.c: New file.
end-sanitize-tx3904

26 years ago* Followup for SCEI PR 15853.
Frank Ch. Eigler [Mon, 18 May 1998 13:33:26 +0000 (13:33 +0000)]
* Followup for SCEI PR 15853.
Mon May 18 12:37:38 1998  Frank Ch. Eigler  <fche@cygnus.com>
* config/tc-mips.c (macro): For R5900, use "B" operand format for
  "break" instructions generated in macro (div etc.) instructions.

26 years agoImprove error message
Michael Meissner [Mon, 18 May 1998 13:33:25 +0000 (13:33 +0000)]
Improve error message

26 years ago* Various MIPS test case tweaks.
Frank Ch. Eigler [Mon, 18 May 1998 10:15:38 +0000 (10:15 +0000)]
* Various MIPS test case tweaks.
Mon May 18 13:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>
* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
  disassembler.
start-sanitize-r5900
* gas/mips/break5900.[sd]: Test that break instructions generated
  in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900

26 years ago* Fix sanitization
Frank Ch. Eigler [Mon, 18 May 1998 09:31:10 +0000 (09:31 +0000)]
* Fix sanitization

26 years ago * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
Richard Henderson [Mon, 18 May 1998 07:14:11 +0000 (07:14 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots,
        elf64_alpha_size_got_sections): Rewrite, handling multiple got
        subsections during relaxation more correctly.

26 years ago * gdb.base/reread.exp: New file.
Mark Alexander [Sun, 17 May 1998 06:49:55 +0000 (06:49 +0000)]
* gdb.base/reread.exp: New file.
* gdb.base/reread1.c: New file.
* gdb.base/reread2.c: New file.

26 years ago * config/sim.exp: Use 'target sim -sparclite' when running
Mark Alexander [Sun, 17 May 1998 06:25:03 +0000 (06:25 +0000)]
* config/sim.exp: Use 'target sim -sparclite' when running
SPARClite programs.

26 years agoKeep structs2.{c,exp} for now.
Doug Evans [Sun, 17 May 1998 01:50:07 +0000 (01:50 +0000)]
Keep structs2.{c,exp} for now.

26 years ago * gdb.base/structs2.exp: New file.
Doug Evans [Sun, 17 May 1998 01:50:06 +0000 (01:50 +0000)]
* gdb.base/structs2.exp: New file.
* gdb.base/structs2.c: New file.

26 years ago * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
Doug Evans [Sun, 17 May 1998 00:50:07 +0000 (00:50 +0000)]
* cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
* genmloop.sh: Use them rather than static locals.

26 years ago * erc32.c (close_port): Don't close stdin; it kills GDB.
Doug Evans [Sat, 16 May 1998 23:07:01 +0000 (23:07 +0000)]
* erc32.c (close_port): Don't close stdin; it kills GDB.
(byte_swap_words): New function.
* sis.h: (byte_swap_words): Declare.
* interf.c (run_sim): Always fetch instructions as big-endian.
* sis.c (run_sim): Ditto.
Move this c/l entry from ../ChangeLog.

26 years ago* Bringing over patches for PR 15870, 15653 from chill/d30v branches.
Frank Ch. Eigler [Sat, 16 May 1998 20:34:43 +0000 (20:34 +0000)]
* Bringing over patches for PR 15870, 15653 from chill/d30v branches.
  Also, fixed a small third-party sanitize typo in ChangeLog.

26 years ago * sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
Doug Evans [Sat, 16 May 1998 20:11:41 +0000 (20:11 +0000)]
* sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
(sim_sync_stop): New function.

26 years ago * sim-engine.c (sim_engine_set_run_state): New function.
Doug Evans [Sat, 16 May 1998 19:51:12 +0000 (19:51 +0000)]
* sim-engine.c (sim_engine_set_run_state): New function.
* sim-engine.h (sim_engine_set_run_state): Declare.
* genmloop.sh (pending_reason,pending_sigrc): New static locals.
(@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
(engine_resume): Reorganize.  Allow synchronous exit from main loop.

26 years ago * sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
Doug Evans [Sat, 16 May 1998 00:32:09 +0000 (00:32 +0000)]
* sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
* sim/m32r/misc.exp: Ditto.

26 years ago * Makefile.in (devices.o): Add dependencies.
Doug Evans [Fri, 15 May 1998 23:46:24 +0000 (23:46 +0000)]
* Makefile.in (devices.o): Add dependencies.

* arch.h,cpu.c,cpu.h,cpuall.h: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
* cpux.c,cpux.h,modelx.c,semx.c: Regenerate.
* m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions.
* mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.

26 years ago * cgen-trace.c (trace_insn_init): New arg first_p.
Doug Evans [Fri, 15 May 1998 23:31:22 +0000 (23:31 +0000)]
* cgen-trace.c (trace_insn_init): New arg first_p.
All callers updated.
(trace_insn_fini): New arg last_p.  All callers updated.
* cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
(TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
* genmloop.sh (engine_resume): Update.

26 years ago(cgen_hw_lookup_by_num): better name
Doug Evans [Fri, 15 May 1998 23:01:06 +0000 (23:01 +0000)]
(cgen_hw_lookup_by_num): better name

26 years ago * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
Doug Evans [Fri, 15 May 1998 21:59:35 +0000 (21:59 +0000)]
* cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
(cgen_hw_lookup_by_enum): New function.

* m32r-opc.c, m32r-opc.h: Regenerate, delete h-abort.

26 years agoRun ranlib on installed copy of libsim.a.
Joyce Janczyn [Fri, 15 May 1998 20:06:08 +0000 (20:06 +0000)]
Run ranlib on installed copy of libsim.a.

26 years agoJava sanitization.
Stu Grossman [Fri, 15 May 1998 19:51:35 +0000 (19:51 +0000)]
Java sanitization.

26 years agoSanitize Java.
Stu Grossman [Fri, 15 May 1998 19:47:04 +0000 (19:47 +0000)]
Sanitize Java.

26 years agoadd ld-ilocks-addr32.d
Gavin Romig-Koch [Fri, 15 May 1998 19:39:54 +0000 (19:39 +0000)]
add ld-ilocks-addr32.d

26 years agoInstall libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.
Joyce Janczyn [Fri, 15 May 1998 19:05:28 +0000 (19:05 +0000)]
Install libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.

26 years ago * gas/mips/mips.exp: Distinguish chains with 32-bit addresses.
Gavin Romig-Koch [Fri, 15 May 1998 18:53:56 +0000 (18:53 +0000)]
* gas/mips/mips.exp: Distinguish chains with 32-bit addresses.
* gas/mips/ld-ilocks-addr32.d : New.

26 years ago * ldlex.l: Recognize keyword SORT.
Ian Lance Taylor [Fri, 15 May 1998 07:29:35 +0000 (07:29 +0000)]
* ldlex.l: Recognize keyword SORT.
* ldgram.y (current_file): Change to struct wildcard_spec.
(%union): Add new fields cname and wildcard.
(wildcard_name, wildcard_spec): New nonterminals.
(file_NAME_list): Use wildcard_spec.
(input_section_spec): Change current_file usage.
* ld.h (struct wildcard_spec): Define.
* ldlang.h (lang_wild_statement_struct): Add new fields
sections_sorted and filenames_sorted.
(lang_add_wild): Update declaration.
* ldlang.c (wild_sort): New static function.
(wild_section): Use wild_sort.
(print_wild_statement): Print sorting information.
(lang_add_wild): Add new parameters sections_sorted and
filenames_sorted.  Change all callers.
* mri.c (mri_draw_tree): Update calls to lang_add_wild.
* scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfppc.sc: Likewise.

26 years ago * sis.h (uint64, int64): Define.
Mark Alexander [Fri, 15 May 1998 06:23:04 +0000 (06:23 +0000)]
* sis.h (uint64, int64): Define.
* exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
* (mul64): Simplify calculation of negative result.
* (div64): New helper function for 64-bit division.
* (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
and UDIVCC.

26 years ago* emulparams/m32relf.sh (TEMPLATE_NAME): Define.
Richard Henderson [Fri, 15 May 1998 01:43:31 +0000 (01:43 +0000)]
* emulparams/m32relf.sh (TEMPLATE_NAME): Define.

26 years agoTweak last entry.
Doug Evans [Fri, 15 May 1998 00:49:37 +0000 (00:49 +0000)]
Tweak last entry.

26 years ago * config/default.exp (CC,SIM): Delete.
Doug Evans [Fri, 15 May 1998 00:49:24 +0000 (00:49 +0000)]
* config/default.exp (CC,SIM): Delete.
* sky-defs.tcl (LDSCRIPT,SIM): Delete.
(run_trc_test): Use sim_compile, sim_run.  Only delete temp files
if testcase passed.
(run_brn_test): Ditto.

26 years agoAdded support for display emulation specific command line options.
Nick Clifton [Thu, 14 May 1998 22:07:30 +0000 (22:07 +0000)]
Added support for display emulation specific command line options.
Added internationalisation to emulation templates.
Added --support-old-code command line option to armcoff and pe emulations.

26 years agoAdd support for interwotking between Thumb code and non-interworking aware ARM code.
Nick Clifton [Thu, 14 May 1998 21:29:28 +0000 (21:29 +0000)]
Add support for interwotking between Thumb code and non-interworking aware ARM code.

26 years agoAdd support for interworking in DLLs.
Nick Clifton [Thu, 14 May 1998 21:11:16 +0000 (21:11 +0000)]
Add support for interworking in DLLs.
Document dlltool.

26 years agoInclude 1998 in copyright strings.
Nick Clifton [Thu, 14 May 1998 21:05:14 +0000 (21:05 +0000)]
Include 1998 in copyright strings.

26 years agoSupport Win32 style directory separators.
Nick Clifton [Thu, 14 May 1998 21:03:51 +0000 (21:03 +0000)]
Support Win32 style directory separators.

26 years agoChange command line switch fron --enable-special to --m32rx-enable-special
Nick Clifton [Thu, 14 May 1998 20:54:47 +0000 (20:54 +0000)]
Change command line switch fron --enable-special to --m32rx-enable-special

26 years ago * sim/sky/sky.exp: Add runtest_file_p support. Don't print
Doug Evans [Thu, 14 May 1998 20:20:59 +0000 (20:20 +0000)]
* sim/sky/sky.exp: Add runtest_file_p support.  Don't print
unsupported message if not sky.
* sim/sky/sky_sce.exp: Likewise.

26 years ago * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
Doug Evans [Thu, 14 May 1998 18:50:37 +0000 (18:50 +0000)]
* lib/sim-defs.exp (sim_run): Fix handling of output redirection.
New arg prog_opts.  All callers updated.

26 years agoMore test cases.
Andrew Cagney [Thu, 14 May 1998 08:15:05 +0000 (08:15 +0000)]
More test cases.

26 years agoFix for PR 13484:
Mark Alexander [Thu, 14 May 1998 04:01:13 +0000 (04:01 +0000)]
Fix for PR 13484:
* corefile.c (reopen_exec_file): Reopen the exec file if
it has changed.

26 years agospelling and cosmetic tweaks
Stan Shebs [Thu, 14 May 1998 01:23:59 +0000 (01:23 +0000)]
spelling and cosmetic tweaks

26 years ago * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA).
Doug Evans [Thu, 14 May 1998 00:05:34 +0000 (00:05 +0000)]
* m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA).

26 years ago * gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA.
Doug Evans [Thu, 14 May 1998 00:02:36 +0000 (00:02 +0000)]
* gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA.

26 years ago * sparc-tdep.c (fetch_instruction): New function.
Mark Alexander [Wed, 13 May 1998 22:48:03 +0000 (22:48 +0000)]
* sparc-tdep.c (fetch_instruction): New function.
(single_step, sparc_init_extra_frame_info, examine_prologue):
Use fetch_instruction instead of read_memory_integer
to ensure that instructions are always read as big-endian.