external/binutils.git
26 years ago * gennltvals.sh: Redo syscall support to allow sanitization.
Doug Evans [Fri, 28 Nov 1997 19:18:01 +0000 (19:18 +0000)]
* gennltvals.sh: Redo syscall support to allow sanitization.
* nltvals.def: Regenerated.
And add d30v sanitization.

26 years agoAdd tracepoint.o to gdbtk builds
Michael Meissner [Thu, 27 Nov 1997 15:13:14 +0000 (15:13 +0000)]
Add tracepoint.o to gdbtk builds

26 years agoIf not --enable-ide, do not include ide libs
Michael Meissner [Thu, 27 Nov 1997 14:30:06 +0000 (14:30 +0000)]
If not --enable-ide, do not include ide libs

26 years agoFix typos
Michael Meissner [Thu, 27 Nov 1997 14:10:03 +0000 (14:10 +0000)]
Fix typos

26 years ago * remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.
Jeff Law [Thu, 27 Nov 1997 06:01:08 +0000 (06:01 +0000)]
    * remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.

26 years agoRemoved leading underscore.....
Nick Clifton [Thu, 27 Nov 1997 01:44:10 +0000 (01:44 +0000)]
Removed leading underscore.....

26 years ago * gdbtk.c (gdb_loc): symtab_to_filename can return NULL
Keith Seitz [Wed, 26 Nov 1997 23:50:45 +0000 (23:50 +0000)]
    * gdbtk.c (gdb_loc): symtab_to_filename can return NULL
        (breakpoint_notify): symtab_to_filename can return NULL
        (gdb_get_breakpoint_info): symtab_to_filename can return NULL

        * tracepoint.c (set_raw_tracepoint): fix typo

26 years ago * tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
Keith Seitz [Wed, 26 Nov 1997 22:38:10 +0000 (22:38 +0000)]
    * tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
        the directory name

        * Merge (lots) with foundry-971118-build

        * Makefile.in (install-only): install the new gdbtk, not the old

        * top.h: add declaration of get_prompt

        * top.c (get_prompt): new function

        * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
        commands
        (gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
        "gdb_get_function", "gdb_get_line", "gdb_get_file",
        "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
        and "gdb_prompt"
        (gdb_get_vars_command): new function
        (gdb_get_line_command): new function
        (gdb_get_file_command): new function
        (gdb_get_function_command): new function
        (gdb_get_tracepoint_info): new function
        (gdbtk_create_tracepoint): new function
        (gdbtk_delete_tracepoint): new function
        (tracepoint_notify): new function
        (tracepoint_exists): new function
        (gdb_actions_command): new function
        (gdb_tracepoint_exists_command): new function
        (gdb_prompt_command): new function

        * main.tcl: initialize gdbtk_state(readline)

        * console.tcl (invoke): get realine working
        (activate): add prompt argument for readline
        (setprompt): add prompt argument for readline

        * interface.tcl (gdbtk_tcl_readline): hack to get readline working

        * lots: Merge with foundry-971118-build

        * console.tcl (setprompt): get prompt from gdb

        * prefs.tcl (pref_set_defaults): add tracepoint defaults

        * interface.tcl (gdbtk_tcl_tracepoint): new function

        * src.tcl (constructor): set default behavior of left click, make
        a tracepoint dot, too
        (fill_files): "new" function: ripped out of "location"
        (location): use fill_files instead
        (do_bp): add support for tracepoints
        (bp_line): add support for tracepoints
        (set_tracepoint): new function
        (config_win): add "Set tracepoint here" to right-click menu

        * actiondlg.tcl: new file to help with tracepoint data collection actions

        * tracedlg.tcl: new file to help with tracepoints

26 years agoAdd C_THUMBEXT etc.
Nick Clifton [Wed, 26 Nov 1997 22:14:52 +0000 (22:14 +0000)]
Add C_THUMBEXT etc.

26 years ago * Make-common.in (run.o): Depend on remote-sim.h.
Doug Evans [Wed, 26 Nov 1997 22:11:31 +0000 (22:11 +0000)]
* Make-common.in (run.o): Depend on remote-sim.h.
(nrun.o,sim-hload.o,sim-hrw.o): Likewise.
(sim-io.o,sim-reason.o,sim-resume.o): Likewise.

26 years agoFlush writes to stdout, stderr
Michael Meissner [Wed, 26 Nov 1997 21:52:16 +0000 (21:52 +0000)]
Flush writes to stdout, stderr

26 years agoUse names for all prototype arguments
Michael Meissner [Wed, 26 Nov 1997 21:48:58 +0000 (21:48 +0000)]
Use names for all prototype arguments

26 years ago * Makefile.in, configure, configure.in: merge with foundry-971118-build
Keith Seitz [Wed, 26 Nov 1997 21:48:06 +0000 (21:48 +0000)]
    * Makefile.in, configure, configure.in: merge with foundry-971118-build

26 years ago* sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls):
Andrew Cagney [Wed, 26 Nov 1997 21:35:53 +0000 (21:35 +0000)]
* sim-io.c (sim_io_getstring): Delete unused len2.  (sim_io_syscalls):
Ditto for sys_errno.

26 years agoFreeBSD has (at least for the i386) a little-endian magic number.
Andrew Cagney [Wed, 26 Nov 1997 21:34:05 +0000 (21:34 +0000)]
FreeBSD has (at least for the i386) a little-endian magic number.

26 years agoDelete magic number FIXME.
Doug Evans [Wed, 26 Nov 1997 19:53:26 +0000 (19:53 +0000)]
Delete magic number FIXME.

26 years agoUndo last change. callback.h changed instead.
Doug Evans [Wed, 26 Nov 1997 19:52:34 +0000 (19:52 +0000)]
Undo last change.  callback.h changed instead.
Plus:
* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.

26 years ago * callback.h (CB_SYSCALL): Change byte count arguments to
Doug Evans [Wed, 26 Nov 1997 19:49:13 +0000 (19:49 +0000)]
* callback.h (CB_SYSCALL): Change byte count arguments to
{read,write}_mem to `int'.  New member `magic'.
(CB_SYSCALL_MAGIC,CB_SYSCALL_INIT): New macros.

26 years ago * syscall.c (cb_syscall, cases stat, fstat): Handle -Wall -Werror.
Doug Evans [Wed, 26 Nov 1997 19:19:58 +0000 (19:19 +0000)]
* syscall.c (cb_syscall, cases stat, fstat): Handle -Wall -Werror.

26 years agoDo no set private flags if building a PE port.
Nick Clifton [Wed, 26 Nov 1997 17:31:53 +0000 (17:31 +0000)]
Do no set private flags if building a PE port.

26 years agoCheck the abbrev offset found in the .debug_info section before using
Andrew Cagney [Wed, 26 Nov 1997 12:35:07 +0000 (12:35 +0000)]
Check the abbrev offset found in the .debug_info section before using
it.

26 years agoFix typo in format argument to sim_io_eprintf.
Andrew Cagney [Wed, 26 Nov 1997 12:07:27 +0000 (12:07 +0000)]
Fix typo in format argument to sim_io_eprintf.

26 years agoMove MDMX instructions which are public knowledge from vr5400.igen
Andrew Cagney [Wed, 26 Nov 1997 11:47:36 +0000 (11:47 +0000)]
Move MDMX instructions which are public knowledge from vr5400.igen
into mdmx.igen (MDMX is MMX on steroids).  Keep the file secret.

26 years agonuke lseek
Michael Meissner [Wed, 26 Nov 1997 01:13:40 +0000 (01:13 +0000)]
nuke lseek

26 years agosanitize-r5900 not v5900
Andrew Cagney [Tue, 25 Nov 1997 22:02:59 +0000 (22:02 +0000)]
sanitize-r5900 not v5900

26 years agoStrip ChangeLog of v850e information
Andrew Cagney [Tue, 25 Nov 1997 22:00:26 +0000 (22:00 +0000)]
Strip ChangeLog of v850e information

26 years agoAdd file alu-n-tst.h
Andrew Cagney [Tue, 25 Nov 1997 21:59:39 +0000 (21:59 +0000)]
Add file alu-n-tst.h

26 years agovr5400 sanitize cleanups
Andrew Cagney [Tue, 25 Nov 1997 21:47:16 +0000 (21:47 +0000)]
vr5400 sanitize cleanups

26 years agoAdd tm-fbsd.h
Andrew Cagney [Tue, 25 Nov 1997 21:44:13 +0000 (21:44 +0000)]
Add tm-fbsd.h

26 years agoDo not complain when trying to merge private data from different formats.
Nick Clifton [Tue, 25 Nov 1997 18:57:03 +0000 (18:57 +0000)]
Do not complain when trying to merge private data from different formats.

26 years agoAdd comment.
Doug Evans [Tue, 25 Nov 1997 18:43:29 +0000 (18:43 +0000)]
Add comment.

26 years ago * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo.
Ian Lance Taylor [Tue, 25 Nov 1997 17:14:09 +0000 (17:14 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove tekhex.lo.
(BFD32_BACKENDS_CFILES): Remove tekhex.c.
* Makefile.in: Rebuild.
* aclocal.m4, configure, src/Makefile.in: Rebuild with current
automake and autoconf.

26 years ago * coff-arm.c (arm_allocate_interworking_sections): Fix typo
Ian Lance Taylor [Tue, 25 Nov 1997 16:27:55 +0000 (16:27 +0000)]
* coff-arm.c (arm_allocate_interworking_sections): Fix typo
(COFF_WITH_PR to COFF_WITH_PE).

26 years ago * callback.h (struct stat): Move forward decl up.
Doug Evans [Tue, 25 Nov 1997 09:39:56 +0000 (09:39 +0000)]
* callback.h (struct stat): Move forward decl up.
(host_callback): Pass stat struct pointer to stat,fstat.
(CB_SYS_nnn): Reorganize.
(CB_SYSCALL): New members p1,p2.
(cb_host_to_target_stat): Delete fourth arg.

26 years ago * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
Doug Evans [Tue, 25 Nov 1997 09:33:34 +0000 (09:33 +0000)]
* callback.c (os_stat): Make 3rd arg a host struct stat ptr.
(os_fstat): Likewise.  Validate fd argument.
(cb_host_to_target_stat): Delete big_p arg.  If HS arg is NULL,
just compute target stat struct length.
* syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
(ENOSYS,ENAMETOOLONG): Provide definitions if missing.
(get_string): Return host errno values so they can be properly
translated later.
(cb_syscall): Likewise.
(cb_syscall, cases open,unlink): Use get_path instead of get_string.
(cb_syscall, case read): Use read_stdin for file descriptor 0.
(cb_syscall, case write): Use write_stderr for file descriptor 2.
(cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
(get_path): New function.

26 years ago * gennltvals.sh: Generate syscall values for d30v.
Doug Evans [Tue, 25 Nov 1997 08:18:57 +0000 (08:18 +0000)]
* gennltvals.sh: Generate syscall values for d30v.
Use libgloss/syscall.h for sparc.
* nltvals.def: Regenerate.

26 years agoFlush ser-go32-para.c, never worked and never used.
Stan Shebs [Tue, 25 Nov 1997 03:25:18 +0000 (03:25 +0000)]
Flush ser-go32-para.c, never worked and never used.

26 years agoHandle case where sizeof long != sizeof int when examining a union.
Andrew Cagney [Tue, 25 Nov 1997 02:28:05 +0000 (02:28 +0000)]
Handle case where sizeof long != sizeof int when examining a union.

26 years agoCut out unused code for PE build.
Nick Clifton [Tue, 25 Nov 1997 02:09:19 +0000 (02:09 +0000)]
Cut out unused code for PE build.

26 years agoAdd sim_io_syscalls to do common system call emulation
Michael Meissner [Mon, 24 Nov 1997 23:59:20 +0000 (23:59 +0000)]
Add sim_io_syscalls to do common system call emulation

26 years agoFix for PE build
Nick Clifton [Mon, 24 Nov 1997 23:51:15 +0000 (23:51 +0000)]
Fix for PE build

26 years ago * cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P.
Doug Evans [Mon, 24 Nov 1997 22:58:47 +0000 (22:58 +0000)]
* cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P.

26 years ago * sim-trace.c (trace_option_handler): Set state trace file
Doug Evans [Mon, 24 Nov 1997 22:21:51 +0000 (22:21 +0000)]
* sim-trace.c (trace_option_handler): Set state trace file
for --trace-file in addition to cpu's values.
(trace_vprintf): If cpu == NULL, try state's trace file.

26 years agoMon Nov 24 14:17:02 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 24 Nov 1997 22:20:34 +0000 (22:20 +0000)]
Mon Nov 24 14:17:02 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

* infcmd.c: export registers_info, for use by other modules.
* printcmd.c: export output_command, for use by other modules.
* stack.c: export locals_info and args_info, for use by other modules.

26 years agoEntries for .gdbinit additions and sim-model.c option fix.
Doug Evans [Mon, 24 Nov 1997 22:09:12 +0000 (22:09 +0000)]
Entries for .gdbinit additions and sim-model.c option fix.

26 years ago * sim-model.c (model_options): Use '\0' for `shortopt'.
Doug Evans [Mon, 24 Nov 1997 20:43:38 +0000 (20:43 +0000)]
* sim-model.c (model_options): Use '\0' for `shortopt'.

26 years ago * Make-common.in (all): Add .gdbinit.
Doug Evans [Mon, 24 Nov 1997 20:14:35 +0000 (20:14 +0000)]
* Make-common.in (all): Add .gdbinit.
* gdbinit.in: Add dump command.

26 years ago * sim-core.c (sim_core_signal): Fix spelling error in message.
Doug Evans [Mon, 24 Nov 1997 20:11:02 +0000 (20:11 +0000)]
* sim-core.c (sim_core_signal): Fix spelling error in message.
* sim-hrw.c (sim_read): Use read map, not write map.

26 years agoA ton of my most recent changes, mostly to add post-mortem data analysis,
Michael Snyder [Mon, 24 Nov 1997 20:02:28 +0000 (20:02 +0000)]
A ton of my most recent changes, mostly to add post-mortem data analysis,
plus some better error checking and reporting.  Still not publically
visible (not mentioned in the makefile or changelog).

26 years agoSome early changes by Keith Seitz to support the Tcl/Tk GUI.
Michael Snyder [Mon, 24 Nov 1997 19:47:05 +0000 (19:47 +0000)]
Some early changes by Keith Seitz to support the Tcl/Tk GUI.
Note: these files are still not publically visible; just keeping
their history at this point.

26 years agoCreate CVS files tracepoint.c and tracepoint.h. This is new work,
Michael Snyder [Mon, 24 Nov 1997 19:38:44 +0000 (19:38 +0000)]
Create CVS files tracepoint.c and tracepoint.h.  This is new work,
not yet ready for public release, so no changelog entry yet (and I'm
sanitizing the files out).  Just want to get them into the repository
for now, so I can begin keeping their history.  Not checking in the
Makefile change that would cause them to be built and linked.

26 years agoSanitization
Andrew Cagney [Mon, 24 Nov 1997 13:34:52 +0000 (13:34 +0000)]
Sanitization

26 years agoAdd function print_decimal to handle display of long long decimal
Andrew Cagney [Mon, 24 Nov 1997 12:49:38 +0000 (12:49 +0000)]
Add function print_decimal to handle display of long long decimal
values on hosts with long-long but no "%ll".

26 years agoImprove GDB support for FreeBSD host/target.
Andrew Cagney [Mon, 24 Nov 1997 06:50:12 +0000 (06:50 +0000)]
Improve GDB support for FreeBSD host/target.
To configure.in: make PRINTF_HAS_LONG_LONG check more pedantic; check
that SCANF_HAS_LONG_DOUBLE instead of assuming PRINTF_HAS_LONG_DOUBLE
implies it; document.

26 years agoPass architecture from ``set arch MACH'' command into disasembler
Andrew Cagney [Mon, 24 Nov 1997 06:37:01 +0000 (06:37 +0000)]
Pass architecture from ``set arch MACH'' command into disasembler
through tm_print_insn_info.mach argument.
Delete x86 specific set assembler command, subsumed by replaced with
``set arch''

26 years agoHave mips64vr5400-*-elf look like a mips64vr5000.
Andrew Cagney [Mon, 24 Nov 1997 06:31:05 +0000 (06:31 +0000)]
Have mips64vr5400-*-elf look like a mips64vr5000.

26 years agoChange MIPS simulator so that it uses the (software) module sim_fpu
Andrew Cagney [Sun, 23 Nov 1997 03:34:15 +0000 (03:34 +0000)]
Change MIPS simulator so that it uses the (software) module sim_fpu
for floating point operations.  Eliminates all dependencies the
simulator had on the hosts FP implemantation.

Add sim_fpu_{inv,abs,neg} functions to sim_fpu.[hc]

26 years agoAdd support for PIC and APCS-FLOAT type binaries.
Nick Clifton [Sat, 22 Nov 1997 23:17:39 +0000 (23:17 +0000)]
Add support for PIC and APCS-FLOAT type binaries.

26 years agoBrought devo up to date with the branch.
Nick Clifton [Sat, 22 Nov 1997 22:29:08 +0000 (22:29 +0000)]
Brought devo up to date with the branch.

26 years ago * sunos.c (sunos_add_one_symbol): When overriding a defined
Ian Lance Taylor [Sat, 22 Nov 1997 22:08:43 +0000 (22:08 +0000)]
* sunos.c (sunos_add_one_symbol): When overriding a defined
symbol, set it to undefined, not new.

26 years agoSat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 22 Nov 1997 21:08:09 +0000 (21:08 +0000)]
Sat Nov 22 16:06:56 1997  Klaus Kaempf  <kkaempf@progis.de>

* evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup.

26 years agofix comment
Ian Lance Taylor [Sat, 22 Nov 1997 21:05:48 +0000 (21:05 +0000)]
fix comment

26 years agoSat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 22 Nov 1997 21:04:47 +0000 (21:04 +0000)]
Sat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>

* config-gas.com: Get version info from configure.in.

26 years agoSat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 22 Nov 1997 21:01:27 +0000 (21:01 +0000)]
Sat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: include depend.obj in OBJS.

26 years agoSat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 22 Nov 1997 20:54:16 +0000 (20:54 +0000)]
Sat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>

* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.

26 years agoSat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 22 Nov 1997 20:52:29 +0000 (20:52 +0000)]
Sat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>

* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
all corresponding code.

26 years ago * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL
Ian Lance Taylor [Sat, 22 Nov 1997 17:31:57 +0000 (17:31 +0000)]
* elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL
relocs.

26 years agoClarify meaning of sim_signalled's SIGRC argument. Document that this
Andrew Cagney [Sat, 22 Nov 1997 12:52:44 +0000 (12:52 +0000)]
Clarify meaning of sim_signalled's SIGRC argument.  Document that this
isn't possible in sim-reason.c and just return the target SIGRC
instead.

For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*.

Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead
of `run' it single steps the simulator.  Allows testing of single step
without full GDB.

26 years ago*** empty log message ***
Jim Blandy [Sat, 22 Nov 1997 01:24:57 +0000 (01:24 +0000)]
*** empty log message ***

26 years ago* valops.c (call_function_by_hand): If the function has a
Jim Blandy [Sat, 22 Nov 1997 00:50:09 +0000 (00:50 +0000)]
* valops.c (call_function_by_hand): If the function has a
prototype, convert its arguments as if by assignment.  Otherwise,
do the usual promotions.
* stabsread.c (define_symbol): Set the TYPE_FLAG_PROTOTYPED flag
on functions' types when we can; all C++ functions should get it,
and if the Sun-style prototype notation is in the stabs, we can
notice that.

26 years ago * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.
Richard Henderson [Fri, 21 Nov 1997 22:18:09 +0000 (22:18 +0000)]
    * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.
        (sh_relax_delete_bytes): Don't kill LABEL relocs.

Second bit for PR 14069.

26 years ago * aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove. They are already
Ian Lance Taylor [Fri, 21 Nov 1997 17:22:33 +0000 (17:22 +0000)]
* aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove.  They are already
  defined by the inclusion of ../bfd/aclocal.m4.
* configure: Rebuild.

26 years agotabify changelog
Michael Meissner [Fri, 21 Nov 1997 15:56:57 +0000 (15:56 +0000)]
tabify changelog

26 years agoReally do SHELL = /bin/sh change Noer wanted to do
Michael Meissner [Fri, 21 Nov 1997 15:55:07 +0000 (15:55 +0000)]
Really do SHELL = /bin/sh change Noer wanted to do

26 years agoFri Nov 21 02:19:57 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Fri, 21 Nov 1997 10:23:06 +0000 (10:23 +0000)]
Fri Nov 21 02:19:57 1997  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: also revert SHELL change until configury
        changes work

26 years ago * sparc-tdep.c (sparc_pc_adjust): Don't assume sizeof (long) == 4.
Doug Evans [Fri, 21 Nov 1997 00:36:08 +0000 (00:36 +0000)]
* sparc-tdep.c (sparc_pc_adjust): Don't assume sizeof (long) == 4.

26 years agoPatch from Richard Earnshaw
Nick Clifton [Thu, 20 Nov 1997 23:08:21 +0000 (23:08 +0000)]
Patch from Richard Earnshaw

26 years agoPacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.
Andrew Cagney [Thu, 20 Nov 1997 22:56:11 +0000 (22:56 +0000)]
Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.

26 years ago * sh-dis.c (print_insn_shx): Recognize all sh4 additions.
Richard Henderson [Thu, 20 Nov 1997 22:01:30 +0000 (22:01 +0000)]
    * sh-dis.c (print_insn_shx): Recognize all sh4 additions.
        * sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
        (ftrv): Slay the cut-and-paste monster.

        * tc-sh.c (parse_reg): Properly quote for fv4.

pr14044

26 years agomove include entries from ../ChangeLog
Ian Lance Taylor [Thu, 20 Nov 1997 15:52:38 +0000 (15:52 +0000)]
move include entries from ../ChangeLog

26 years agoThu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 20 Nov 1997 13:05:07 +0000 (13:05 +0000)]
Thu Nov 20 04:11:27 1997  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: pepper with EXEEXTs in appropriate places,
        set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
        For some reason, EXEEXT isn't getting substututed in correctly
        so for now, set EXEEXT to empty string

26 years agoThu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 20 Nov 1997 12:20:39 +0000 (12:20 +0000)]
Thu Nov 20 04:11:27 1997  Geoffrey Noer  <noer@cygnus.com>

        * aclocal.m4: add EXEEXT setting rule
        * configure.in: call it
        * configure: regenerate
        * Makefile.in: pepper with EXEEXTs in appropriate places,
        set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh

26 years agoo Add SIM_SIGFPE to sim-signals
Andrew Cagney [Thu, 20 Nov 1997 09:50:36 +0000 (09:50 +0000)]
o Add SIM_SIGFPE to sim-signals
o Start SIM_SIG* at 64 so that the use of host signal numbers can be
  detected and reported.
o Update MIPS simulator to use sim-signal.

26 years agoAllow reads/writes to C0_CONFIG register.
Andrew Cagney [Thu, 20 Nov 1997 09:17:06 +0000 (09:17 +0000)]
Allow reads/writes to C0_CONFIG register.

26 years ago * symbols.c (resolve_symbol_value): Add missing breaks in case on
Ian Lance Taylor [Thu, 20 Nov 1997 04:47:43 +0000 (04:47 +0000)]
* symbols.c (resolve_symbol_value): Add missing breaks in case on
symbol value operator.

26 years agorebuild
Ian Lance Taylor [Thu, 20 Nov 1997 04:46:19 +0000 (04:46 +0000)]
rebuild

26 years ago(enosys): Delete.
Doug Evans [Thu, 20 Nov 1997 00:50:40 +0000 (00:50 +0000)]
(enosys): Delete.

26 years ago * callback.c (cb_host_to_target_stat): Fix return values.
Doug Evans [Thu, 20 Nov 1997 00:47:02 +0000 (00:47 +0000)]
* callback.c (cb_host_to_target_stat): Fix return values.

26 years ago * cgen-sim.h (enum_signal_type): Delete.
Doug Evans [Wed, 19 Nov 1997 20:44:35 +0000 (20:44 +0000)]
* cgen-sim.h (enum_signal_type): Delete.
(engine_signal): Update prototype.
* cgen-utils.c: Don't include <signal.h>.
(sim_signal_to_host): Delete, lives in sim-signal.c now.
(engine_signal): Update.

26 years ago * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
Doug Evans [Wed, 19 Nov 1997 20:18:56 +0000 (20:18 +0000)]
* mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
* sim-if.c (sim_open): Call sim_config.
(sim_stop_reason): Update call to sim_signal_to_host.

26 years ago * sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
Doug Evans [Wed, 19 Nov 1997 20:13:11 +0000 (20:13 +0000)]
* sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
(sim_state_free): Call SIM_STATE_FREE if defined.

* sim-module.c (sim_module_install): Don't leave any modules
installed if one fails to install.

26 years agoDo not include alloca-conf.h since alloca is not used.
Michael Meissner [Wed, 19 Nov 1997 18:40:49 +0000 (18:40 +0000)]
Do not include alloca-conf.h since alloca is not used.

26 years agoFix carry/overflow problems
Michael Meissner [Wed, 19 Nov 1997 18:30:47 +0000 (18:30 +0000)]
Fix carry/overflow problems

26 years ago(sim_stop_reason): Add comment.
Doug Evans [Wed, 19 Nov 1997 08:10:40 +0000 (08:10 +0000)]
(sim_stop_reason): Add comment.

26 years ago * sim-core.c (sim_core_signal): Use sim_stopped instead of
Doug Evans [Wed, 19 Nov 1997 08:03:53 +0000 (08:03 +0000)]
* sim-core.c (sim_core_signal): Use sim_stopped instead of
sim_signalled.

26 years ago * sim-signal.c, sim-signal.h: New files.
Doug Evans [Wed, 19 Nov 1997 08:00:37 +0000 (08:00 +0000)]
* sim-signal.c, sim-signal.h: New files.
* Make-common.in (sim-signal.o): Add rule for.
(SIM_NEW_COMMON_OBJS): Add sim-signal.o.
* sim-abort.c: Don't include <signal.h>.
* sim-basics.h: #include "sim-signal.h".
* sim-break.c: Don't include <signal.h>.
(sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
* sim-core.c: Don't include <signal.h>.
(SIGBUS): Delete definition.
(sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
* sim-engine.c: Don't include <signal.h>.
(sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
* sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
* sim-resume.c: Don't include <signal.h>.
(SIGTRAP): Delete definition.
(has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
* sim-stop.c: Don't include <signal.h>.
(control_c_simulation): Replace SIGINT with SIM_SIGINT.
* sim-watch.c: Don't include <signal.h>.
(handle_watchpoint): Replace SIGINT with SIM_SIGINT.

26 years agovr5400 has interlocks
Ken Raeburn [Wed, 19 Nov 1997 07:25:47 +0000 (07:25 +0000)]
vr5400 has interlocks

26 years ago * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
Doug Evans [Wed, 19 Nov 1997 02:37:58 +0000 (02:37 +0000)]
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
* sim-break.c (sim_handle_breakpoint): Likewise.

26 years ago * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
Doug Evans [Tue, 18 Nov 1997 23:59:29 +0000 (23:59 +0000)]
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.

26 years ago * Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
Doug Evans [Tue, 18 Nov 1997 23:55:33 +0000 (23:55 +0000)]
* Make-common.in (SIM_NEW_COMMON_OBJS): New variable.

* sim-base.h (CIA_ADDR): Provide default definition.