binutils-gdb.git
27 years agoo Clean-up tic80 fp tracing
Andrew Cagney [Wed, 7 May 1997 13:58:52 +0000 (13:58 +0000)]
o Clean-up tic80 fp tracing
o Fill in more tic80 insns

27 years ago * sim-profile.c (profile_uninstall): Likewise.
David Edelsohn [Tue, 6 May 1997 23:40:31 +0000 (23:40 +0000)]
* sim-profile.c (profile_uninstall): Likewise.

27 years ago * sim-trace.c (trace_uninstall): Don't close a file twice.
David Edelsohn [Tue, 6 May 1997 23:38:31 +0000 (23:38 +0000)]
* sim-trace.c (trace_uninstall): Don't close a file twice.

27 years agoOnly zap the igen directory once.
Andrew Cagney [Tue, 6 May 1997 23:24:03 +0000 (23:24 +0000)]
Only zap the igen directory once.

27 years agoRemove remote-pa.c.
Mark Alexander [Tue, 6 May 1997 21:42:31 +0000 (21:42 +0000)]
Remove remote-pa.c.

27 years agoMakefile.orig, README.orig deleted.
David Edelsohn [Tue, 6 May 1997 21:21:53 +0000 (21:21 +0000)]
Makefile.orig, README.orig deleted.

27 years agoKeep igen.
David Edelsohn [Tue, 6 May 1997 21:20:13 +0000 (21:20 +0000)]
Keep igen.

27 years agoKeep sim-config.c, sim-fpu.[ch].
David Edelsohn [Tue, 6 May 1997 21:19:41 +0000 (21:19 +0000)]
Keep sim-config.c, sim-fpu.[ch].

27 years agoTue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 6 May 1997 20:53:53 +0000 (20:53 +0000)]
Tue May  6 13:53:05 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
* Add overlay tests to gdb.base/.Sanitize

27 years ago * configure: Default CXX to c++, not gcc.
Ian Lance Taylor [Tue, 6 May 1997 19:51:02 +0000 (19:51 +0000)]
* configure: Default CXX to c++, not gcc.
* Makefile.in (CXX): Set to c++, not gcc.
(CXX_FOR_TARGET): When cross, transform c++, not gcc.
This is to that $(CXX) and $(CXX_FOR_TARGET) can be used to link C++
programs as well as just compile C++ code.

27 years ago * mn10300_sim.h: Fix ordering of bits in the PSW.
Jeff Law [Tue, 6 May 1997 19:42:17 +0000 (19:42 +0000)]
    * mn10300_sim.h: Fix ordering of bits in the PSW.

27 years agoRemove extra : from nop, sink{1,2} tracing
Michael Meissner [Tue, 6 May 1997 19:33:51 +0000 (19:33 +0000)]
Remove extra : from nop, sink{1,2} tracing

27 years agoAdd semantic tracing to the tic80
Michael Meissner [Tue, 6 May 1997 19:27:57 +0000 (19:27 +0000)]
Add semantic tracing to the tic80

27 years ago * interp.c: Improve hashing routine to avoid long list
Jeff Law [Tue, 6 May 1997 19:27:22 +0000 (19:27 +0000)]
    * interp.c: Improve hashing routine to avoid long list
        traversals for common instructions.  Add HASH_STAT support.
        Rewrite opcode dispatch code using a big switch instead of
        cascaded if/else statements.  Avoid useless calls to load_mem.

27 years ago From Sean McNeil <sean@mcneil.com>:
Ian Lance Taylor [Tue, 6 May 1997 17:22:35 +0000 (17:22 +0000)]
From Sean McNeil <sean@mcneil.com>:
* emultempl/pe.em (sort_by_file_name): Sort by archive name
first.
(sort_sections): Sort all sections, not just sections in the same
archive.

27 years agoKeep sim-utils.h.
David Edelsohn [Tue, 6 May 1997 17:09:05 +0000 (17:09 +0000)]
Keep sim-utils.h.

27 years ago * Makefile.in: Add ILU targets.
Ian Lance Taylor [Tue, 6 May 1997 17:07:38 +0000 (17:07 +0000)]
* Makefile.in: Add ILU targets.
* configure.in (host_tools): Add ILU.
Also add IDE sanitization to configure.in.

27 years ago * config/tc-i386.c (md_section_align): If a.out and BFD, force
Ian Lance Taylor [Tue, 6 May 1997 16:19:04 +0000 (16:19 +0000)]
* config/tc-i386.c (md_section_align): If a.out and BFD, force
section size to be aligned.

27 years agoDo not abort if coff has no debug information for bfd_find_nearest_line
Michael Meissner [Tue, 6 May 1997 13:51:01 +0000 (13:51 +0000)]
Do not abort if coff has no debug information for bfd_find_nearest_line

27 years agoFix typo; pass trace_line request as arg; pass common stuff in static struct
Michael Meissner [Tue, 6 May 1997 11:55:21 +0000 (11:55 +0000)]
Fix typo; pass trace_line request as arg; pass common stuff in static struct

27 years agoEnable --trace-linenum support
Michael Meissner [Tue, 6 May 1997 10:21:57 +0000 (10:21 +0000)]
Enable --trace-linenum support

27 years ago * cond.c: Include "macro.h".
Ian Lance Taylor [Tue, 6 May 1997 00:54:37 +0000 (00:54 +0000)]
* cond.c: Include "macro.h".
(struct conditional_frame): Add macro_nest field.
(initialize_cframe): Initialize macro_nest.
(cond_finish_check): Add nest parameter.  Change all callers.
(cond_exit_macro): New function.
* as.h (cond_finish_check): Update declaration.
(cond_exit_macro): Declare.
* input-scrub.c (macro_nest): Make globally visible.
(input_scrub_next_buffer): Call cond_finish_check.
* macro.h (macro_nest): Declare.
* read.c (s_mexit): Call cond_exit_macro.

27 years ago * mn10300_sim.h (struct _state): Add space for mdrq register.
Jeff Law [Tue, 6 May 1997 00:35:42 +0000 (00:35 +0000)]
    * mn10300_sim.h (struct _state): Add space for mdrq register.
        (REG_MDRQ): Define.
        * simops.c: Don't abort for trap.  Add support for the extended
        instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
        and "bsch".

27 years agoMon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>
Ian Lance Taylor [Mon, 5 May 1997 22:56:03 +0000 (22:56 +0000)]
Mon May  5 18:19:55 1997  Philip Blundell  <pjb27@cam.ac.uk>

* configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
targets.

27 years ago * config.bfd: cope with '*-*-linux-gnuaout' targets.
Ian Lance Taylor [Mon, 5 May 1997 22:20:46 +0000 (22:20 +0000)]
* config.bfd: cope with '*-*-linux-gnuaout' targets.

27 years ago * i386-dis.c: (dis386_twobyte): Add MMX instructions.
Ian Lance Taylor [Mon, 5 May 1997 21:19:09 +0000 (21:19 +0000)]
* i386-dis.c: (dis386_twobyte): Add MMX instructions.
(twobyte_has_modrm): Likewise.
(grps): Likewise.
(OP_MMX, OP_EM, OP_MS): New static functions.

27 years ago * config/tc-i386.h (RegMMX): Define.
Ian Lance Taylor [Mon, 5 May 1997 21:18:17 +0000 (21:18 +0000)]
* config/tc-i386.h (RegMMX): Define.
* config/tc-i386.c (pi): Check for all register types.
(type_names): Add RegMMX.
(md_assemble): Handle RegMMX.

27 years ago * i386.h: Add MMX instructions.
Ian Lance Taylor [Mon, 5 May 1997 21:16:46 +0000 (21:16 +0000)]
* i386.h: Add MMX instructions.

27 years ago * i386-dis.c: Revert patch of April 4. The output now matches
Ian Lance Taylor [Mon, 5 May 1997 18:30:06 +0000 (18:30 +0000)]
* i386-dis.c: Revert patch of April 4.  The output now matches
what gcc generates.

27 years agoFix problems -Wall found
Michael Meissner [Mon, 5 May 1997 18:16:10 +0000 (18:16 +0000)]
Fix problems -Wall found

27 years agoAdd printf attribute support
Michael Meissner [Mon, 5 May 1997 18:10:05 +0000 (18:10 +0000)]
Add printf attribute support

27 years agoMon May 5 12:45:19 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 5 May 1997 16:46:18 +0000 (16:46 +0000)]
Mon May  5 12:45:19 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* i386.h: Remove W modifier from conditional move instructions.

27 years agoStart of implementation of a distributed (between processors)
Andrew Cagney [Mon, 5 May 1997 13:21:04 +0000 (13:21 +0000)]
Start of implementation of a distributed (between processors)
simulator core object.

27 years agoAdd flakey floating-point support to the TI c80 simulator.
Andrew Cagney [Mon, 5 May 1997 12:46:25 +0000 (12:46 +0000)]
Add flakey floating-point support to the TI c80 simulator.

27 years ago * utils.c (floatformat_from_doublest): Handle infinity properly.
Mark Alexander [Sun, 4 May 1997 03:53:29 +0000 (03:53 +0000)]
* utils.c (floatformat_from_doublest): Handle infinity properly.

27 years ago * decode.c (decode): Add computed goto support.
David Edelsohn [Sat, 3 May 1997 15:41:24 +0000 (15:41 +0000)]
* decode.c (decode): Add computed goto support.

27 years agoRework static constructors and destructors
Michael Meissner [Fri, 2 May 1997 22:29:38 +0000 (22:29 +0000)]
Rework static constructors and destructors

27 years agoFix name of constructors/destructors
Michael Meissner [Fri, 2 May 1997 19:57:12 +0000 (19:57 +0000)]
Fix name of constructors/destructors

27 years ago * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
David Edelsohn [Fri, 2 May 1997 19:49:19 +0000 (19:49 +0000)]
* m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
of $simm16.

27 years agoTweak comment.
David Edelsohn [Fri, 2 May 1997 16:51:04 +0000 (16:51 +0000)]
Tweak comment.

27 years agoUpdate devo version of m32r sim to build with recent sim/common changes.
Andrew Cagney [Fri, 2 May 1997 08:41:15 +0000 (08:41 +0000)]
Update devo version of m32r sim to build with recent sim/common changes.

27 years agoremove junk files that have been here waaaaaaaay too long
Angela Marie Thomas [Fri, 2 May 1997 06:43:07 +0000 (06:43 +0000)]
remove junk files that have been here waaaaaaaay too long

27 years agoo Add core and event objects into simulator
Andrew Cagney [Fri, 2 May 1997 05:31:34 +0000 (05:31 +0000)]
o Add core and event objects into simulator
base type
o Add preliminary tracing support for same
o trace_printf() takes both SD and CPU arguments
o Add CIA to standard set of parameters for
generated functions.
o Pacify GCC

27 years ago * sim-utils.c (sim_add_commas): New function.
David Edelsohn [Fri, 2 May 1997 00:32:05 +0000 (00:32 +0000)]
* sim-utils.c (sim_add_commas): New function.
* sim-basics.h (sim_add_commas): Add prototype.
* cgen-scache.c (scache_print_profile): Print commas in numbers.
* sim-profile.c (COMMAS): New macro.
(print_*): Use it to print commas in numbers.

27 years agocgen-{mem,sem}.h renamed to {mem,sem}-ops.h.
David Edelsohn [Thu, 1 May 1997 22:36:34 +0000 (22:36 +0000)]
cgen-{mem,sem}.h renamed to {mem,sem}-ops.h.

27 years ago Merge from branch into devo. CGEN generic files moved to common
David Edelsohn [Thu, 1 May 1997 22:33:23 +0000 (22:33 +0000)]
Merge from branch into devo.  CGEN generic files moved to common
directory.  K&R C support is no longer provided.

27 years ago * configure: Regenerated.
David Edelsohn [Thu, 1 May 1997 20:53:43 +0000 (20:53 +0000)]
* configure: Regenerated.

* cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
(cgen_state): New member run_fast_p.
(cgen_init): Add prototype.
(sim_disassemble_insn): New arg `cpu'.
* cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
* cgen-utils.c (cgen_init): New function.
(sim_disassemble_insn): New arg `cpu'.  Rewrite fetching of insn.
* genmloop.sh: Call engine_halt if loop exits.

27 years ago(cgen-utils.o): Update cgen-{mem,sem}.h dependencies.
David Edelsohn [Thu, 1 May 1997 20:43:24 +0000 (20:43 +0000)]
(cgen-utils.o): Update cgen-{mem,sem}.h dependencies.

27 years agoThu May 1 11:44:46 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 1 May 1997 20:39:06 +0000 (20:39 +0000)]
Thu May  1 11:44:46 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

* Finalize merge from Hurd folk.
    Mon Oct 30 16:41:04 1995  Miles Bader  <miles@gnu.ai.mit.edu>
    * thread.c (thread_apply_command, thread_apply_all_command,
    thread_command): Make sure TP is alive.
    (thread_alive): New function.
    Tue Nov 14 14:31:03 1995  Miles Bader  <miles@gnu.ai.mit.edu>
    * infrun.c (sig_print_info): Deal better with long signal names.
    Wed Nov 22 15:23:35 1995  Miles Bader  <miles@gnu.ai.mit.edu>
    * thread.c (thread_id_to_pid): New function.
    Fri Dec  1 13:25:25 1995  Miles Bader  <miles@gnu.ai.mit.edu>
    * gnu-nat.c: (set_thread_cmd_list, show_thread_cmd_list,
    set_thread_default_cmd_list, show_thread_default_cmd_list):
    New variables.  (set_thread_cmd, show_thread_cmd,
    set_thread_default_cmd, show_thread_default_cmd): New functions.
    Fri Apr 18 15:20:16 1997  Miles Bader  <miles@gnu.ai.mit.edu>
    * gnu-nat.c (inf_startup): remove TASK parameter.
    (inf_set_task): replace with new function (inf_set_pid).
  * gdbthread.h: Add extern decl for thread_cmd_list.

27 years agoSigh. Put generated files with each cgen cpu.
David Edelsohn [Thu, 1 May 1997 20:11:00 +0000 (20:11 +0000)]
Sigh.  Put generated files with each cgen cpu.

27 years ago * Makefile.in (sim-options_h): Define.
David Edelsohn [Thu, 1 May 1997 18:05:37 +0000 (18:05 +0000)]
* Makefile.in (sim-options_h): Define.
(sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
(sim-model.o): Add new rule.
(cgen-{scache,trace,utils}.o): Add new rules.
* aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
* cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
Indent output by 2 spaces.
* cgen-scache.h (scache_print_profile): Update.
* cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
Use trace_printf, not fprintf.
(trace_extract): Use trace_printf, not cgen_trace_printf.
* genmloop.sh (!FAST case): Increment `insn_count'.
* sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
(sim_cpu_base): Rename member `sd' to `state' to be consistent with
access macro's name.
* sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
Change return type to SIM_RC.
(sim_core_{install,uninstall}): New functions.
* sim-core.h (sim_core_{install,uninstall}): Declare.
(sim_core_init): Use EXTERN_SIM_CORE to define it.
Change return type to SIM_RC.
* sim-model.h (models,machs,model_install): Declare.
* sim-module.c (modules): Add scache_install, model_install.
(sim_post_argv_init): Set cpu->state backlinks.
* sim-options.c (standard_options): Delete --simcache-size,--max-insns.
(standard_option_handler): Likewise.
* sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
sim-profile.h.
(*): Assume ANSI C.
(profile_options): Delete --profile-simcache.
(profile_option_handler): Likewise.
(profile_print_insn): Change `sd' arg to `cpu'.  Indent output 2
spaces.
(profile_print_{memory,model}): Likewise.
(profile_print_simcache): Delete.
(profile_print_speed): New function.
(profile_print): Rewrite.
* sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
(WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
(PROFILE_DATA): Delete members simcache_{hits,misses}.
(PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
(PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
(profile_print): Update prototype.

27 years ago(EXTRACT_SIGNED,EXTRACT_UNSIGNED,HOST_LONGS_FOR_BITS): Move from
David Edelsohn [Thu, 1 May 1997 17:45:25 +0000 (17:45 +0000)]
(EXTRACT_SIGNED,EXTRACT_UNSIGNED,HOST_LONGS_FOR_BITS): Move from
cgen-types.h to cgen-sim.h.

27 years ago * targmatch.sed: Add explicit \n characters to work around bug in
Ian Lance Taylor [Thu, 1 May 1997 15:32:09 +0000 (15:32 +0000)]
* targmatch.sed: Add explicit \n characters to work around bug in
HP/UX 10.20 sed program.

27 years ago * printcmd.c (disassemble_command): Adjust low function bound
Peter Schauer [Thu, 1 May 1997 09:29:44 +0000 (09:29 +0000)]
* printcmd.c (disassemble_command):  Adjust low function bound
by FUNCTION_START_OFFSET.

27 years ago * cgen-mem.h, cgen-scache.[ch], cgen-sem.h, cgen-sim.h: New files.
David Edelsohn [Thu, 1 May 1997 01:48:27 +0000 (01:48 +0000)]
* cgen-mem.h, cgen-scache.[ch], cgen-sem.h, cgen-sim.h: New files.
* cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
* sim-model.c: New file.

27 years ago * configure.in: Turn on multilib by default.
Jason Merrill [Wed, 30 Apr 1997 19:22:11 +0000 (19:22 +0000)]
* configure.in: Turn on multilib by default.
(cross_only): Remove target-libiberty.

* Makefile.in (all-gcc): Don't depend on libiberty.

27 years ago * Make-common.in (clean targets): Undo patch of Apr. 22.
David Edelsohn [Wed, 30 Apr 1997 18:35:58 +0000 (18:35 +0000)]
* Make-common.in (clean targets): Undo patch of Apr. 22.

27 years ago * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
David Edelsohn [Wed, 30 Apr 1997 17:22:51 +0000 (17:22 +0000)]
* tconfig.in (SIM_PRE_LOAD): Delete, no longer used.

27 years ago * elf.c (copy_private_bfd_data): Cast csecs to avoid sign
Ian Lance Taylor [Wed, 30 Apr 1997 16:28:53 +0000 (16:28 +0000)]
* elf.c (copy_private_bfd_data): Cast csecs to avoid sign
extension problems.

27 years agorevert Alpha/OpenBSD patches
Ian Lance Taylor [Wed, 30 Apr 1997 16:18:37 +0000 (16:18 +0000)]
revert Alpha/OpenBSD patches

27 years agorevert Alpha/OpenBSD patches
Ian Lance Taylor [Wed, 30 Apr 1997 16:12:04 +0000 (16:12 +0000)]
revert Alpha/OpenBSD patches

27 years agoAdd Tick shift insn
Andrew Cagney [Wed, 30 Apr 1997 08:41:47 +0000 (08:41 +0000)]
Add Tick shift insn

27 years agoTidy code gen.
Andrew Cagney [Wed, 30 Apr 1997 08:39:51 +0000 (08:39 +0000)]
Tidy code gen.

27 years agoDefine TiC80 break point (tmp)
Andrew Cagney [Wed, 30 Apr 1997 08:38:28 +0000 (08:38 +0000)]
Define TiC80 break point (tmp)

27 years agoTue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>
Ian Lance Taylor [Wed, 30 Apr 1997 00:26:21 +0000 (00:26 +0000)]
Tue Apr 29 20:23:10 1997  Jim Wilson  <wilson@cygnus.com>

* config/tc-mips.c (nopic_need_relax): Add new parameter
before_relaxing.  Use it when testing ecoff_extern_size.
(load_address, macro, md_estimate_size_before_relax): Fix all
callers.

27 years agoTue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Tue, 29 Apr 1997 23:55:42 +0000 (23:55 +0000)]
Tue Apr 29 19:54:36 1997  Richard Henderson  <rth@tamu.edu>

* config/obj-elf.c (elf_pseudo_table): Add "subsection".
  (obj_elf_subsection): New static function.

27 years ago * config/obj-coff.c (coff_header_append): Don't reset string_size
Ian Lance Taylor [Tue, 29 Apr 1997 23:53:26 +0000 (23:53 +0000)]
* config/obj-coff.c (coff_header_append): Don't reset string_size
each time through the loop.

27 years ago * configure.in (host_tools): Added vmake.
Tom Tromey [Tue, 29 Apr 1997 17:29:47 +0000 (17:29 +0000)]
* configure.in (host_tools): Added vmake.

27 years agoNumerous fixes.
Andrew Cagney [Tue, 29 Apr 1997 08:41:15 +0000 (08:41 +0000)]
Numerous fixes.

27 years agoMon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Apr 1997 04:27:26 +0000 (04:27 +0000)]
Mon Apr 28 21:25:32 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd)
        * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now
        in Makefile.in (as for other targets); add NATDEPFILE corelow.o to
        satisfy symbol dependancy in solib.c (core_ops).
        * target.[ch] conditionalize Mach-specific signals so that they
        won't show up in non-Mach gdb's!
        * thread.c: add function thread_id_to_pid; change name of static
        function "thread_switch" to "switch_to_thread", to avoid conflict
        with Mach global symbol; move thread_cmd_list to global scope
        so targets can add their own thread commands.
        * infrun.c: sig_print_info: allow for long signal names.
        * gnu-nat.[ch]: tidying up comments.
        * gnu-nat.c: move several functions to static scope, just for tidy;
        remove calls to prune_threads and renumber_threads;
        gnu_wait must not return -1 when inferior exits;
        attach_to_child will modify inferior_pid in a way that allows
        fork_inferior to remain unchanged;
        remove extra arg from startup_inferior;
        move mach-specific thread commands here from thread.c.

27 years agoMon Apr 28 18:21:20 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Apr 1997 04:25:11 +0000 (04:25 +0000)]
Mon Apr 28 18:21:20 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * symtab.c: decode_line_1, replace the assignment to
        values.sals[0].pc which I accidentally left out on 4/3/97.

27 years agoMon Apr 28 18:39:45 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Apr 1997 01:42:41 +0000 (01:42 +0000)]
Mon Apr 28 18:39:45 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config.guess: improve algorithm for recognizing Gnu Hurd x86.

27 years agoMon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Apr 1997 01:02:37 +0000 (01:02 +0000)]
Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * c-exp.y, java-exp.y: make parse_number reject "123DEADBEEF".
        (fix by Bob Manson).

27 years agoMon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Apr 1997 00:32:03 +0000 (00:32 +0000)]
Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * top.c: change "to enable to enable" to "to enable" in a couple
        of help strings.

27 years ago * breakpoint.c (remove_breakpoint): Pass correct type to
Mark Alexander [Mon, 28 Apr 1997 16:08:01 +0000 (16:08 +0000)]
* breakpoint.c (remove_breakpoint): Pass correct type to
target_remove_watchpoint.
* target.h: Improve comment for target_{remove,insert}_breakpoint.

27 years ago * alpha-tdep.c (heuristic_proc_desc): Increase search limit
Peter Schauer [Sat, 26 Apr 1997 10:41:14 +0000 (10:41 +0000)]
* alpha-tdep.c (heuristic_proc_desc):  Increase search limit
for return address register, handle `ret' instruction.

27 years ago * corelow.c (get_core_registers): Initialize cf.
Peter Schauer [Sat, 26 Apr 1997 09:44:30 +0000 (09:44 +0000)]
* corelow.c (get_core_registers):  Initialize cf.

* procfs.c:  Minor changes to make pre-ANSI compilers happy.
(procfs_notice_signals):  Copy traced signal set back to
pi->prrun.pr_trace.
(unconditionally_kill_inferior):  If PR_DEAD is defined,
rerun inferior after killing it.

27 years agoAllow simulators to be built on Linux
Michael Meissner [Fri, 25 Apr 1997 19:29:31 +0000 (19:29 +0000)]
Allow simulators to be built on Linux

27 years ago * Makefile.in (DISTSTUFF): Add itbl-parse.h.
Ian Lance Taylor [Fri, 25 Apr 1997 18:19:53 +0000 (18:19 +0000)]
* Makefile.in (DISTSTUFF): Add itbl-parse.h.

27 years ago * doc/internals.texi (Porting GAS): Correct documentation for
Ian Lance Taylor [Fri, 25 Apr 1997 16:15:33 +0000 (16:15 +0000)]
* doc/internals.texi (Porting GAS): Correct documentation for
current configure handling of targ-cpu.h, et. al.
(CPU backend): Document listing macros.

27 years ago * listing.c (data_buffer): Set size based on other listing macros,
Ian Lance Taylor [Fri, 25 Apr 1997 16:04:44 +0000 (16:04 +0000)]
* listing.c (data_buffer): Set size based on other listing macros,
rather than always using 100.
(data_buffer_size): Remove static variable.
(calc_hex): Make data_buffer_size a local variable.  Don't leave
any slop when filling data_buffer.

27 years ago * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The
Jeff Law [Fri, 25 Apr 1997 06:14:15 +0000 (06:14 +0000)]
    * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The
        structure value address is found in $a0 now.
        * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise.
Fixes some struct.exp failures.

27 years ago * Makefile.in (DISTBISONFILES): Add ld/Makefile.in
Ian Lance Taylor [Thu, 24 Apr 1997 23:37:57 +0000 (23:37 +0000)]
* Makefile.in (DISTBISONFILES): Add ld/Makefile.in

27 years ago * Makefile.in (DEVO_SUPPORT): Add mpw-install.
Ian Lance Taylor [Thu, 24 Apr 1997 23:30:37 +0000 (23:30 +0000)]
* Makefile.in (DEVO_SUPPORT): Add mpw-install.

27 years ago * gdb.base/callfuncs.exp: Mark some tests as expected to fail
Jeff Law [Thu, 24 Apr 1997 20:53:11 +0000 (20:53 +0000)]
    * gdb.base/callfuncs.exp: Mark some tests as expected to fail
        on the mn10300.

27 years ago * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers are
Jeff Law [Thu, 24 Apr 1997 19:35:11 +0000 (19:35 +0000)]
    * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers are
        returned in $a0.
        (EXTRACT_RETURN_VALUE): Likewise.

        * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return
        insn at "pc", not "fi->pc".

27 years agoEnable more instructions.
Andrew Cagney [Thu, 24 Apr 1997 12:06:27 +0000 (12:06 +0000)]
Enable more instructions.

27 years agoFix? some reg definitions
Andrew Cagney [Thu, 24 Apr 1997 12:06:14 +0000 (12:06 +0000)]
Fix? some reg definitions

27 years ago * configure: Regenerated to track ../common/aclocal.m4 changes.
David Edelsohn [Thu, 24 Apr 1997 07:58:17 +0000 (07:58 +0000)]
* configure: Regenerated to track ../common/aclocal.m4 changes.

27 years ago * configure.in (m32r-*-*): New target.
David Edelsohn [Thu, 24 Apr 1997 07:54:06 +0000 (07:54 +0000)]
* configure.in (m32r-*-*): New target.
* configure: Regenerate.

27 years ago * configure: Regenerated to track ../common/aclocal.m4 changes.
David Edelsohn [Thu, 24 Apr 1997 07:50:16 +0000 (07:50 +0000)]
* configure: Regenerated to track ../common/aclocal.m4 changes.
* Makefile.in (SIM_OBJS): Add sim-module.o, sim-profile.o.
* sim-calls.c (sim_open): Call sim_module_uninstall if argument
parsing fails.  Call sim_post_argv_init.
(sim_close): Call sim_module_uninstall.

27 years ago * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.
David Edelsohn [Thu, 24 Apr 1997 07:48:47 +0000 (07:48 +0000)]
* Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.

27 years ago * sim-module.h, sim-model.h, sim-profile.h: New files.
David Edelsohn [Thu, 24 Apr 1997 07:33:45 +0000 (07:33 +0000)]
* sim-module.h, sim-model.h, sim-profile.h: New files.
* sim-module.c, sim-profile.c: New files.
* Make-common.in (SIM_PROFILE): Define
(CONFIG_CFLAGS): Add $(SIM_PROFILE).
(sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
(sim_module.o,sim-profile.o): Add rules for.
* aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
(--enable-sim-profile): Add.
* configure: Regenerated.
* sim-base.h (sim_state_base): New members init_list, uninstall_list,
model.  Move trace and profile support to sim-{trace,profile}.h.
  New members trace_data, profile_data.
* sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
* sim-config.h: Provide default definition of WITH_PROFILE.
(WITH_TRACE): Change default to -1.
(MAX_NR_PROCESSORS): Always define.
* sim-options.c: Move trace and profile support to
sim-{trace,profile}.h.
(sim_pre_argv_init): Moved to sim-model.c.
(standard_install): New function.
* sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
(standard_install): Declare.
* sim-trace.c: Tracing option handling moved here from sim-options.c.
(trace_install, trace_uninstall): New functions.
(trace_printf): Update reference to TRACE_FILE.
* sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
(TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
(WITH_TRACE_FOO_P): Define.
(trace_install): Declare.
(TRACE_DATA): New struct.

27 years ago * tconfig.in: New file.
David Edelsohn [Thu, 24 Apr 1997 00:56:33 +0000 (00:56 +0000)]
* tconfig.in: New file.
* interp.c (sim_open): Handle missing arg to -E.

27 years ago* tconfig.in (SIM_HAVE_BIENDIAN): Define.
David Edelsohn [Thu, 24 Apr 1997 00:42:50 +0000 (00:42 +0000)]
* tconfig.in (SIM_HAVE_BIENDIAN): Define.

27 years ago * run.c: Undo last exec_bfd patch.
David Edelsohn [Thu, 24 Apr 1997 00:30:41 +0000 (00:30 +0000)]
* run.c: Undo last exec_bfd patch.
(main): Only pass -E ifdef SIM_HAVE_BIENDIAN.

27 years ago * interp.c (prog_bfd_was_opened_p): New static local.
David Edelsohn [Thu, 24 Apr 1997 00:22:10 +0000 (00:22 +0000)]
* interp.c (prog_bfd_was_opened_p): New static local.
(prog_bfd): New global variable.
(sim_open): Undo patch to add -E support.
(sim_close): Close prog_bfd if sim_load opened it.
(sim_load): Record bfd of loaded file in prog_bfd.
* simops.c (prog_bfd): Renamed from exec_bfd.

27 years agoRestore exec_bfd, needed for v850 debug code
Michael Meissner [Wed, 23 Apr 1997 21:57:39 +0000 (21:57 +0000)]
Restore exec_bfd, needed for v850 debug code

27 years agoWed Apr 23 11:18:45 1997 Jeffrey A Law (law@cygnus.com)
Jeff Law [Wed, 23 Apr 1997 17:22:34 +0000 (17:22 +0000)]
Wed Apr 23 11:18:45 1997  Jeffrey A Law  (law@cygnus.com)

        * config/mn10200/tm-mn10200.h (STORE_RETURN_VALUE): Pointers are
        returned in $a0.
        (EXTRACT_RETURN_VALUE): Likewise.

27 years agoMore Tic80 instructions.
Andrew Cagney [Wed, 23 Apr 1997 13:56:14 +0000 (13:56 +0000)]
More Tic80 instructions.