Jeff Law [Fri, 15 Jan 1999 08:19:02 +0000 (08:19 +0000)]
Doug Evans [Fri, 15 Jan 1999 07:40:02 +0000 (07:40 +0000)]
regenerate
Doug Evans [Fri, 15 Jan 1999 07:27:00 +0000 (07:27 +0000)]
* Makefile.in (stamp-arch): Pass FLAGS to cgen.
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
* traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
Doug Evans [Fri, 15 Jan 1999 07:02:30 +0000 (07:02 +0000)]
* cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
(sim_disassemble_insn): Update prototype.
(sim_engine_invalid_insn): Ditto.
* cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
(SEM_BRANCH_INIT): PCADDR->IADDR.
(SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
* cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
* cgen-scache.h (*): Ditto.
* cgen-trace.c (*): Ditto.
* cgen-trace.h (*): Ditto.
* cgen-utils.c (*): Ditto.
* cgen-types.h (integer modes): Use signedNN/unsignedNN types.
(insn_t): Delete.
* genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
(simple engine framework): Rewrite.
* sim-module.c (modules): Install model module sooner (and in
particular before the profile module).
Jeff Law [Fri, 15 Jan 1999 06:40:20 +0000 (06:40 +0000)]
* coffdump.c (xcalloc): Remove, in libiberty now.
* srconv.c (xcalloc): Likewise.
* sysdump.c (xcalloc): Likewise.
Doug Evans [Fri, 15 Jan 1999 05:33:23 +0000 (05:33 +0000)]
add 1999 to copyright date
Stan Shebs [Fri, 15 Jan 1999 02:41:19 +0000 (02:41 +0000)]
* constvars.c: Remove C++-isms.
* constvars.exp: Use gdb_test everywhere, add xfails if compiled
with GCC.
Stan Shebs [Fri, 15 Jan 1999 01:12:49 +0000 (01:12 +0000)]
* Makefile.in (GDBvn.texi): Fix match expression to work with
current format of VERSION in gdb/Makefile.in.
* gdb.texinfo: Fix node ref to match new readline.
David Taylor [Thu, 14 Jan 1999 23:40:25 +0000 (23:40 +0000)]
fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
Michael Snyder [Thu, 14 Jan 1999 18:46:54 +0000 (18:46 +0000)]
Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command. Set a
mode bit that will control how GDB attempts to control thread
scheduling for step, continue, etc. (resume): make use of
the schedule-locking mode.
* target.h (struct target_ops): new field to_has_thread_control.
* sol-thread.c: initialize target_ops to_has_thread_control.
* procfs.c: ditto.
* target.c: ditto.
* m3-nat.c: ditto.
* remote.c: ditto.
* hpux-thread.c: ditto.
Nick Clifton [Thu, 14 Jan 1999 09:53:22 +0000 (09:53 +0000)]
Output formatting change to improve readability.
Jason Molenda [Thu, 14 Jan 1999 00:46:01 +0000 (00:46 +0000)]
1999-01-13 Jason Molenda (jsm@bugshack.cygnus.com)
* t-sadd.s: New file.
* Makefile.in (TESTS): Add t-sadd.
PR 18438.
David Taylor [Thu, 14 Jan 1999 00:37:26 +0000 (00:37 +0000)]
insert_breakpoints -- insert cast to eliminate warning.
Michael Snyder [Wed, 13 Jan 1999 23:53:30 +0000 (23:53 +0000)]
Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command. Set a
mode bit that will control how GDB attempts to control thread
scheduling for step, continue, etc. (resume): make use of
the schedule-locking mode.
* target.h (struct target_ops): new field to_has_thread_control.
* sol-thread.c: initialize target_ops to_has_thread_control.
* procfs.c: ditto.
* target.c: ditto.
* m3-nat.c: ditto.
* remote.c: ditto.
* hpux-thread.c: ditto.
Michael Snyder [Wed, 13 Jan 1999 23:49:55 +0000 (23:49 +0000)]
spelling fix.
Michael Snyder [Wed, 13 Jan 1999 23:44:07 +0000 (23:44 +0000)]
* thread.c: cull duplicate prototypes. Move prototypes to top.
* serial.c: indentation cleanup.
* breakpoint.c: add casts to eliminate compiler warnings.
David Taylor [Wed, 13 Jan 1999 17:18:32 +0000 (17:18 +0000)]
change by Edie.
Edith Epstein [Wed, 13 Jan 1999 16:02:06 +0000 (16:02 +0000)]
Wed Jan 13 10:38:40 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo: Changes made as part of a project to merge in
changes made by HP. Documentation makes extensive use of
@ifclear HPPA and @ifset HPPA. The HP manual omits doumentation
on remote debugging. There are differences in documentation
(HP vs. non-HP) on C++ support (aCC vs. gnu gcc++). Also,
the HP manual discusses catchpoints, hardware watchpoints, and
some HPUX specific limitations for shared library support.
There are also a number of @node changes.
Nick Clifton [Wed, 13 Jan 1999 09:23:09 +0000 (09:23 +0000)]
Removed fr30.sh and fr30.sc.
Added elf32fr30.sh
Jason Molenda [Wed, 13 Jan 1999 01:49:33 +0000 (01:49 +0000)]
1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_base_monitor_ops): Whitespace cleanup.
(_initialize_remote_monitors): Same.
Jason Molenda [Wed, 13 Jan 1999 01:45:04 +0000 (01:45 +0000)]
1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops
structure if it hasn't already been done.
PR 18735
Jason Molenda [Wed, 13 Jan 1999 01:35:53 +0000 (01:35 +0000)]
1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* gdbint.texinfo (Formatting): Disambiguate a sentence.
(C Usage): Same.
I am stupid, so I had trouble reading these two sentences.
Now I can read them, so I am happy.
Stan Shebs [Wed, 13 Jan 1999 01:04:33 +0000 (01:04 +0000)]
Flush the Cygnus-ized reference card, hasn't been used in years.
Stan Shebs [Tue, 12 Jan 1999 22:58:18 +0000 (22:58 +0000)]
* inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
(_initialize_inftarg): Use it.
(child_post_attach): Declare extern.
(child_wait): Fix ambiguous parens.
(child_attach_to_process): Remove unused local wstatus.
(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
child_has_forked, child_insert_exec_catchpoint,
child_remove_exec_catchpoint): Return a value.
Edith Epstein [Tue, 12 Jan 1999 22:03:58 +0000 (22:03 +0000)]
Tue Jan 12 16:54:37 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo (Shell Commands): fixed messages about shell usage.
HP was insisting on C shell. Now all UNIX platforms have the
same message. removed @ifset HPPA and @ifclear HPPA
Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* inftarg.c (child_create_inferior): fixed HPUXHPPA specific
call to fork_inferior. The shell param is now NULL.
Doug Evans [Tue, 12 Jan 1999 21:46:47 +0000 (21:46 +0000)]
* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
Doug Evans [Tue, 12 Jan 1999 21:25:21 +0000 (21:25 +0000)]
* sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
* sim-model.c (sim_mach_lookup_bfd_name): New function.
(sim_model_init): Call it.
Doug Evans [Tue, 12 Jan 1999 21:13:30 +0000 (21:13 +0000)]
* Makefile.am (run-cgen): Pass options to cgen.
(stamp-m32r): Build operand instance table.
(stamp-fr30,stamp-i960c): Don't build the table.
* Makefile.in: Regenerate.
* cgen.sh: New arg `options'. Pass to cgen.
* fr30-opc.c,i960c-opc.c: Regenerate.
David Taylor [Tue, 12 Jan 1999 17:11:39 +0000 (17:11 +0000)]
remove acinclude.m4 until it gets committed.
David Taylor [Tue, 12 Jan 1999 16:58:31 +0000 (16:58 +0000)]
att ChangeLog.
Dave Brolley [Tue, 12 Jan 1999 16:27:49 +0000 (16:27 +0000)]
Add new test cases to the list of files to be kept.
David Taylor [Tue, 12 Jan 1999 15:40:50 +0000 (15:40 +0000)]
new files.
David Taylor [Tue, 12 Jan 1999 15:39:24 +0000 (15:39 +0000)]
rename file.
David Taylor [Tue, 12 Jan 1999 15:19:11 +0000 (15:19 +0000)]
fix typo.
Nick Clifton [Tue, 12 Jan 1999 14:11:45 +0000 (14:11 +0000)]
Remove .stack section, replace with __stack symbol.
Nick Clifton [Tue, 12 Jan 1999 09:51:38 +0000 (09:51 +0000)]
Switch over to using generic elf script rather than an fr30 specific one.
Michael Snyder [Tue, 12 Jan 1999 00:44:30 +0000 (00:44 +0000)]
Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
if it is not already there.
Doug Evans [Tue, 12 Jan 1999 00:37:47 +0000 (00:37 +0000)]
* Makefile.in (m32r-clean): rm eng.h.
Doug Evans [Tue, 12 Jan 1999 00:25:41 +0000 (00:25 +0000)]
* sim-main.h: Delete inclusion of ansidecl.h.
* cpu.h: Regenerate.
* cpux.h: Regenerate.
Doug Evans [Tue, 12 Jan 1999 00:08:48 +0000 (00:08 +0000)]
* Makefile.in: Regenerate.
* configure.in: Redo test for using cgen.
* configure: Regenerate.
plus remove fr30 sanitization
Jason Molenda [Mon, 11 Jan 1999 23:22:25 +0000 (23:22 +0000)]
1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.
* ser-e7kpc.c: Same.
* gnu-nat.h: Same.
Doug Evans [Mon, 11 Jan 1999 23:16:57 +0000 (23:16 +0000)]
keep fr30
Doug Evans [Mon, 11 Jan 1999 23:16:25 +0000 (23:16 +0000)]
keep tc-fr30.[ch]
Doug Evans [Mon, 11 Jan 1999 23:15:16 +0000 (23:15 +0000)]
keep fr30-elf
Doug Evans [Mon, 11 Jan 1999 23:14:23 +0000 (23:14 +0000)]
fix typo in comment
Doug Evans [Mon, 11 Jan 1999 23:03:31 +0000 (23:03 +0000)]
* fr30-opc.c: Regenerate.
Plus remove fr30 sanitization.
Stu Grossman [Mon, 11 Jan 1999 21:51:39 +0000 (21:51 +0000)]
* dwarf2read.c (dump_die): Change stderr gdb_stderr.
* expprint.c (print_subexp): fprintf => fprintf_unfiltered.
* jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
* stack.c (struct function_bounds): Remove superfluous `typedef'.
* symfile.c (list_overlays_command): stdout => gdb_stdout.
* symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
* utils.c (print_spaces): Make more efficient.
Eric Mumpower [Mon, 11 Jan 1999 19:39:36 +0000 (19:39 +0000)]
attempting to fix cvs branch/rev bogosity
Eric Mumpower [Mon, 11 Jan 1999 19:32:47 +0000 (19:32 +0000)]
forced commit, attempting to fix branch-related wierdness...
David Taylor [Mon, 11 Jan 1999 18:58:07 +0000 (18:58 +0000)]
print_spaces -- fix arg to strcat (broken by 1.165.6.4 change to utils.c).
Vladimir Makarov [Mon, 11 Jan 1999 18:57:29 +0000 (18:57 +0000)]
Thu Jan 11 18:37:50 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* invoke.texi (-mcpu=740, -mcpu=750): New options.
(-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
PPC750.
1999-01-11 Michael Meissner <meissner@cygnus.com>
* config/rs6000/rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all
machines supported with -mcpu=xxx.
(processor_type): Add PROCESSOR_PPC750.
(ADJUST_PRIORITY): Call rs6000_adjust_priority.
(RTX_COSTS): Supply costs for 750 multiply/divide operations.
(rs6000_adjust_priority): Add declaration.
* config/rs6000/rs6000.c (rs6000_override_options):
-mcpu={750,740} now sets the processor type as 750, not 603.
Allow -mmultiple and -mstring on little endian 750 systems.
(rs6000_adjust_priority): Stub for now.
(get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.
* config/rs6000/rs6000.md (function/cpu attributes): Add initial
ppc750 support.
* config/rs6000/sysv4.h (STRICT_ALIGNMENT): Don't force strict
alignment if little endian.
(CC1_SPEC): Pass -mstrict-align if little endian, and not
overridden.
(CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
(SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.
* config/rs6000/{sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC):
Override, default is little endian.
* config/rs6000/t-ppcgas (MULTILIB_*): Delete obsolete Solaris
multilibs.
David Taylor [Mon, 11 Jan 1999 15:52:01 +0000 (15:52 +0000)]
new files -- part of HP merge project.
David Taylor [Mon, 11 Jan 1999 15:20:52 +0000 (15:20 +0000)]
modifications as part of HP merge; new tests; support for HP's compilers.
Frank Ch. Eigler [Mon, 11 Jan 1999 15:06:11 +0000 (15:06 +0000)]
* gx sim prototype tweaks
start-sanitize-gxsim
1999-01-11 Frank Ch. Eigler <fche@cygnus.com>
* sim-gx-run.c (sim_engine_run): Allay warnings. Write out updated
gx block list after each successful compilation job.
* sim-gx.c (sim_gx_compiled_block_f): dlopen the main executable
image, to allow gx block DLLs to resolve symbols there.
(sim_gx_{read,write}_block_list): Allay warnings.
(sim_gx_block_translate): Allay warnings. Add $GX_FLAGS to
gx compilation/link jobs.
* sim-gx.h: Allay warnings.
end-sanitize-gxsim
Frank Ch. Eigler [Mon, 11 Jan 1999 15:04:33 +0000 (15:04 +0000)]
* build tweak for gx prototype
Frank Ch. Eigler [Mon, 11 Jan 1999 14:48:48 +0000 (14:48 +0000)]
* Test for PR 18288 and its predecessors.
1999-01-11 Frank Ch. Eigler <fche@cygnus.com>
* do-flags.S: New test for parallel PSW update conflicts.
* Makefile.in (TESTS): Run it.
Nick Clifton [Mon, 11 Jan 1999 09:10:54 +0000 (09:10 +0000)]
Fill .init and .fini sections with NOPs
David Taylor [Mon, 11 Jan 1999 05:44:24 +0000 (05:44 +0000)]
new files; renamed files -- from HP merge effort.
David Taylor [Mon, 11 Jan 1999 05:41:54 +0000 (05:41 +0000)]
new files -- HP merge
David Taylor [Mon, 11 Jan 1999 05:40:47 +0000 (05:40 +0000)]
new files and renamed files -- hp merge
David Taylor [Mon, 11 Jan 1999 05:38:09 +0000 (05:38 +0000)]
renamed files -- HP merge.
David Taylor [Mon, 11 Jan 1999 05:36:48 +0000 (05:36 +0000)]
new files -- part of HP merge.
Nick Clifton [Sat, 9 Jan 1999 11:02:56 +0000 (11:02 +0000)]
prevent accidental redefinition of obj_adjust_symtab
David Taylor [Sat, 9 Jan 1999 00:10:18 +0000 (00:10 +0000)]
new files -- part of the HP merge.
David Taylor [Sat, 9 Jan 1999 00:00:54 +0000 (00:00 +0000)]
new files -- from HP merge.
David Taylor [Fri, 8 Jan 1999 23:42:20 +0000 (23:42 +0000)]
new file -- part of HP merge.
David Taylor [Fri, 8 Jan 1999 23:40:55 +0000 (23:40 +0000)]
new files -- part of HP merge.
David Taylor [Fri, 8 Jan 1999 23:38:29 +0000 (23:38 +0000)]
renamed to have names 14 characters long or shorter.
David Taylor [Fri, 8 Jan 1999 23:28:15 +0000 (23:28 +0000)]
new files; part of HP merge.
Stan Shebs [Fri, 8 Jan 1999 20:03:11 +0000 (20:03 +0000)]
* exec.c (exec_ops): Don't initialize statically.
(init_exec_ops): New function, fills in exec_ops.
(_initialize_exec): Use it.
Zdenek Radouch [Thu, 7 Jan 1999 22:54:18 +0000 (22:54 +0000)]
Beta version of the FR30 port.
Frank Ch. Eigler [Thu, 7 Jan 1999 13:06:14 +0000 (13:06 +0000)]
* Removing last known memories of tx3904 and am30 sanitization.
Frank Ch. Eigler [Thu, 7 Jan 1999 08:55:49 +0000 (08:55 +0000)]
* Test for PR 18679.
1999-01-07 Frank Ch. Eigler <fche@cygnus.com>
* do-2wordops.S: New test for sign-extension by ld2h.
Doug Evans [Thu, 7 Jan 1999 00:48:45 +0000 (00:48 +0000)]
* config/tc-m32r.c (OPERAND_IS_COND_BIT): Add check for psw.
pr 18634
Doug Evans [Thu, 7 Jan 1999 00:45:24 +0000 (00:45 +0000)]
* gas/m32r/interfere.s: New testcase.
* gas/m32r/error.exp: Run it.
pr 18634
Doug Evans [Thu, 7 Jan 1999 00:08:46 +0000 (00:08 +0000)]
* cpu.h: Regenerate.
* cpux.h: Regenerate.
Doug Evans [Thu, 7 Jan 1999 00:06:59 +0000 (00:06 +0000)]
* m32r-dis.c: Regenerate.
David Taylor [Wed, 6 Jan 1999 23:10:48 +0000 (23:10 +0000)]
HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files.
Stan Shebs [Wed, 6 Jan 1999 21:52:14 +0000 (21:52 +0000)]
* gdb.base/default.exp: Reflect wording change in remote.c.
Stan Shebs [Wed, 6 Jan 1999 20:14:30 +0000 (20:14 +0000)]
* remote.c: Pacify --enable-build-warnings, reformat code
to conform to standards, fix spelling errors.
(ishex, stubhex, record_currthread, etc): Declare.
(ishex, stubhex): Declare char arg as int.
(pack_string): Comment out, never used but possibly useful.
(threadref_to_int, remote_get_threadinfo, etc): Make static.
Christopher Faylor [Wed, 6 Jan 1999 17:26:06 +0000 (17:26 +0000)]
* configure.in: Use LOCAL_CFLAGS rather than CFLAGS for
searching libtermcap directory.
* configure: Regenerate.
David Taylor [Wed, 6 Jan 1999 17:01:03 +0000 (17:01 +0000)]
The following changes were made by Edith Epstein <eepstein@cygnus.com>
as part of a project to merge in changes made by HP.
all-cfg.texi -- set HPPA for HP PA-RISC targets.
refcard.tex -- change documentation about catch; removed info catch.
HPPA-cfg.texi -- new file; HPPA configuration for manual.
David Taylor [Wed, 6 Jan 1999 16:52:17 +0000 (16:52 +0000)]
HP merge changes by eepstein and ezannoni; added external flag
hp_som_som_object_present; added true and false tokens; changed some of
the template processing code for handling HP aCC templates.
Frank Ch. Eigler [Wed, 6 Jan 1999 12:50:58 +0000 (12:50 +0000)]
* Fix for PR 18665, from sky branch.
1999-01-06 Frank Ch. Eigler <fche@cygnus.com>
* mips-opc.c (div1): Add three-operand pattern, just like "div".
(divu1): Ditto for "divu".
Frank Ch. Eigler [Wed, 6 Jan 1999 12:47:21 +0000 (12:47 +0000)]
* Test for PR 18665, from sky branch.
1999-01-06 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns.
Doug Evans [Wed, 6 Jan 1999 06:00:46 +0000 (06:00 +0000)]
* config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc" warning.
pr 18655
Michael Snyder [Wed, 6 Jan 1999 03:16:31 +0000 (03:16 +0000)]
Update to reflect current help text.
Michael Snyder [Wed, 6 Jan 1999 03:08:10 +0000 (03:08 +0000)]
* remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior. Instead, if a new thread-id is
detected, call add_thread. (MAGIC_NULL_PID): new macro, use
instead of the magic number "42000". (remote_find_new_threads):
if inferior_pid is unknown, get and use the current thread id.
(remote_start_remote): on connecting, attempt to get the current
thread id for inferior_pid. (remote_resume): If pid == -1,
then resume any-thread (not the current thread specifically).
* thread.c (info_threads_command): don't initialize current_pid
until after call to FIND_NEW_THREADS (which may change inferior_pid).
Michael Snyder [Wed, 6 Jan 1999 03:06:20 +0000 (03:06 +0000)]
cosmetic fixups, mainly long lines.
Michael Snyder [Wed, 6 Jan 1999 03:04:45 +0000 (03:04 +0000)]
cosmetic changes, mainly long lines.
Doug Evans [Wed, 6 Jan 1999 03:04:25 +0000 (03:04 +0000)]
* Makefile.in (MAIN_INCLUDE_DEPS): Delete.
(INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
(sim-if.o): Use SIM_MAIN_DEPS.
(arch.o,traps.o,devices.o): Ditto.
(M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
(m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
(m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto.
(stamp-arch): Pass mach=all to cgen-arch.
* cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
* m32r-sim.h (fr30bf_h_cr_[gs]et_handler): Declare.
([GS]ET_H_CR): Define.
(fr30bf_h_psw_[gs]et_handler): Declare.
([GS]ET_H_PSW): Define.
(fr30bf_h_accum_[gs]et_handler): Declare.
([GS]ET_H_ACCUM): Define.
(fr30xf_h_{cr,psw,accum}_[gs]et_handler): Declare.
(fr30bf_h_accums_[gs]et_handler): Declare.
([GS]ET_H_ACCUMS): Define.
* sim-if.c (sim_open): Model probing code moved to sim-model.c.
* m32r.c (WANT_CPU): Define as m32rbf.
(all register access fns): Rename to ..._handler.
* cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate.
* m32rx.c (WANT_CPU): Define as m32rxf.
(all register access fns): Rename to ..._handler.
David Taylor [Wed, 6 Jan 1999 00:52:29 +0000 (00:52 +0000)]
updates to reflect recent HP additions.
Doug Evans [Wed, 6 Jan 1999 00:42:34 +0000 (00:42 +0000)]
* Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
(CGEN_MAIN_SCM): Add rtx-funcs.scm.
(cgen-arch): Pass $(mach) to cgen.sh.
* cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
(SEM_BRANCH_INIT_EXTRACT): New macro.
(SEM_BRANCH_INIT): Add taken_p.
(TARGET_SEM_BRANCH_FINI): Provide default definition.
(SEM_BRANCH_FINI): Use it.
(SEM_INSN): Update.
* cgen-run.c (sim_resume): Handle tracing of last insn.
* cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
* cgen-trace.c (current_abuf): New static global.
(trace_insn_init): Initialize it.
(trace_insn_fini): Use it.
(trace_insn): Set it.
* cgen.sh (arch case): Pass -m ${mach} to cgen.
* genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
(@cpu@_emit_after): Ditto.
(simple @cpu@_engine_run_full): New local `pc'. Initialize semantic
labels if WITH_SEM_SWITCH_FULL.
* sim-model.c: Include bfd.h.
(sim_model_init): New function.
(sim_model_install): Record init fn.
* sim-model.h (MACH): New member bfd_name.
* sim-module.c (modules): Initialize model before scache.
Doug Evans [Wed, 6 Jan 1999 00:21:27 +0000 (00:21 +0000)]
* cgen-asm.in (insert_normal): Use CGEN_BOOL_ATTR.
* cgen-asm.in (extract_normal): Ditto.
* fr30-asm.c,fr30-dis.c,fr30-opc.h,fr30-opc.c: Regenerate.
* i960c-asm.c,i960c-dis.c,i960c-opc.h,i960c-opc.c: Regenerate.
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
David Taylor [Wed, 6 Jan 1999 00:11:17 +0000 (00:11 +0000)]
fix anon-union tests from HP.
David Taylor [Tue, 5 Jan 1999 23:31:03 +0000 (23:31 +0000)]
new files -- part of HP merge.
David Taylor [Tue, 5 Jan 1999 22:01:26 +0000 (22:01 +0000)]
target.c (noprocess): terminate sentence with a period.
breakpoint.c (catch_command_1): ditto.
David Taylor [Tue, 5 Jan 1999 21:59:02 +0000 (21:59 +0000)]
*** empty log message ***
David Taylor [Tue, 5 Jan 1999 21:58:18 +0000 (21:58 +0000)]
hp merge changes; mostly new files.
scope.exp, langs.exp, list.exp -- compile one file at a time, then link.
default.exp -- change expected messages for catch and info catch tests to
reflect hp merge changes.
Doug Evans [Tue, 5 Jan 1999 21:55:55 +0000 (21:55 +0000)]
* cgen.h (CGEN_ATTR_VALUE_TYPE): New typedef.
(CGEN_ATTR): Use it.
(CGEN_ATTR_TYPE,CGEN_ATTR_ENTRY): Ditto.
(CGEN_ATTR_TABLE): New member dfault.