This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / ppc / ChangeLog
index e43462c136293b3fd155f44b27294bd56dbd3359..4c2dfef81817ead4a9699737205b0f6452acdc2a 100644 (file)
@@ -1,3 +1,305 @@
+2002-06-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (INTL_SRC): Define.
+       (INTL_CFLAGS): Define.
+       (INTL_DIR): Define.
+       (STD_CFLAGS): Add INTL_CFLAGS.
+
+2002-06-17  Elena Zannoni  <ezannoni@redhat.com>
+
+       * psim.c (psim_options): Don't choke when gdb invokes us with
+       the --architecture option, just ignore it.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-08  Andrew Cagney  <cagney@redhat.com>
+
+       * main.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+       * sim_calls.c: Ditto.
+
+2002-05-30  DJ Delorie  <dj@redhat.com>
+
+       * lf.c (lf_print__gnu_copyleft): Convert multiline strings to
+       compatible format.
+       * gen-idecode.c (print_run_until_stop_body): Likewise.
+       * gen-model.c (gen_model_c): Likewise.
+
+2002-04-15  Elena Zannoni  <ezannoni@redhat.com>
+
+        * sim_calls.c (sim_fetch_register, sim_store_register): Return -1 for
+        AltiVec registers as a temporary stopgap.
+
+2002-03-24  David O'Brien  <obrien@FreeBSD.org>
+
+       * ppc/hw_disk.c: Export a disk device property.
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
+       * ppc-instructions (lswx): Do the register control with the
+       register count.  Initialize the right register in the loop.
+       (mtfsfi) : Correct prefix for the instruction.
+
+2002-02-24  Andrew Cagney  <ac131313@redhat.com>
+
+       From wiz at danbala:
+       * std-config.h: Fix grammar and typos.  Update copyright.
+       Fix PR gdb/287.
+
+2002-01-12  matthew green  <mrg@redhat.com>
+
+       * Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
+       * igen.c (main): Change -I to add include paths for :include:
+       files.
+       Implement -G as per sim/igen, with just gen-icache=N support.
+       Call load_insn_table() with the built include path.
+
+       * ld-insn.c (parse_include_entry): New. Load an :include: file.
+       (load_insn_table): New `includes' argument.  Look for :include:
+       entries and call parse_include_entry() for them.
+       (main): Adjust load_insn_table() call.
+       * ld-insn.h (model_include_fields): New enum.
+       (load_insn_table): Update prototype.
+       * table.c (struct _open_table, struct _table): Rework
+       structures to handle included files.
+       (table_push): Move the guts of table_open() here.
+
+       * table.c (struct _open table, struct table): Make table object an
+       indirect ptr to the current table file.
+       (current_line, new_table_entry, next_line): Make file arg type
+       open_table.
+       (table_open): Use table_push.
+       (table_entry_read): Point variable file at current table, at eof, pop
+       last open table.
+
+       * misc.h (NZALLOC): New macro. From sim/igen.
+
+       * table.h, table.c (table_push): New function.
+
+2002-01-04  matthew green  <mrg@redhat.com>
+
+       * bits.c (LSMASKED64): New inline function.
+       (LSEXTRACTED64): Likewise.
+       * bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
+       sim/common/sim-bits.h
+       (LSMASKED64, LSEXTRACTED64): New functions definitions.
+       * Makefile.in (sim-bits.o): Remove target.
+
+       * main.c (zalloc): Fix typo in error message.
+
+2001-12-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (sim_fpu): Don't add sim-bits.o.
+       * configure: Re-generate.
+
+2001-12-15  matthew green  <mrg@redhat.com>
+
+       * main.c: Include "defs.h", "bfd.h", "callback.h" and "remote-sim.h".
+       (sim_io_error): New function.
+       * sim_calls.c: (sim_io_error): New function.
+
+2001-12-14  matthew green  <mrg@redhat.com>
+
+       * Makefile.in (LIB_OBJ): Add @sim_fpu@.
+       (ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
+       (icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
+       (sim-fpu.o, sim-bits.o, tconfig.h): New targets.
+       * configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.  Add a
+       check for sim/common/sim-fpu.c.  Output sim_fpu and sim_fpu_cflags.
+       * configure: Regenerate.
+       * device.h (device_find_integer_array_property): Match function definition.
+       * gen-icache.c (print_icache_internal_function_declaration): Rename
+       INLINE_ICACHE to PSIM_INLINE_ICACHE.
+       * gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
+       to PSIM_INLINE_IDECODE.
+       * gen-semantics.c (print_semantic_function_header): Rename
+       EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+       * gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
+       PSIM_INLINE_SUPPORT.
+       * igen.c (print_function_name): Also escape `(' and `)'.
+       (gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+       (gen_semantics_c): Likewise.  Also output includes for "sim-fpu.h"
+       * inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
+       (EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
+       (STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
+       (INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
+       (EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
+       (INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
+       (EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
+       (INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
+       (EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
+       (INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
+       (EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
+       (INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
+       * options.c (options_inline): Fix names.
+       * sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
+       * sim-endian.h: Likewise.
+       * sim-main.h: New file.
+       * std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
+
+2001-12-01  Andrew Cagney  <ac131313@redhat.com>
+
+       From Mark Peek.
+       * ppc-spr-table: Add SDA and PIR.
+
+2001-10-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * tree.c (parse_size): Assert #size-cells > 0.
+       (parse_address): Ditto for #address-cells.
+       (parse_reg_property): Only parse the size when #size-cells is
+       non-zero.
+
+2001-10-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * emul_generic.c (OEA_MEMORY_SIZE): Increase to 4mb.
+       * hw_htab.c (htab_map_binary): Don't try to map the text section
+       when it is empty.
+       * emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
+       CHIRP_LOAD_BASE.
+       (emul_chirp_create): Map in the interrupt table.
+
+2001-07-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in: Add dependencies on $(CPU_H).
+
+Wed Mar  7 10:45:12 HST 2001  Glen Nakamura  <gen@lava.net>
+
+       * hw_init.c (dma_file): Fixed problem with loading last 1KB of
+       file.
+       
+2001-03-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * emul_netbsd.c [WITH_NetBSD_HOST]: Include <sys/mount.h> and
+       <errno.h>.
+       (do_stat): Only do SYS test when SYS_stat defined.
+       (do_sigprocmask): Ditto for SYS_sigprocmask.
+       (do_fstat): Ditto for SYS_fstat.
+       (do_getdirentries): Ditto for SYS_getdirentries.
+       (do_lstat): Ditto for SYS_lstat.
+
+2001-01-15  Geoffrey Keating  <geoffk@redhat.com>
+
+       * emul_netbsd.c (do_open): Translate the flag parameter to the
+       open syscall to the numbers supported by the host.
+
+2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
+
+       * sim-endian.h: Don't have parameters on macro definitions which
+       are simply renaming functions, to permit use of XCONCAT2 in both
+       the macro name and the arguments in a use of such a definition.
+
+2000-11-15  Jim Blandy  <jimb@redhat.com>
+
+       * sim_calls.c: Doc fix.
+       (sim_fetch_register, sim_store_register): Call
+       gdbarch_register_name directly, instead of going through
+       REGISTER_NAME macro.
+
+2000-10-24  Geoff Keating  <geoffk@cygnus.com>
+
+       * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 28 15:59:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * events.c (event_queue_process): Call update_time_from_event
+       every time an event is removed from the queue.
+       (update_time_from_event): Delete assertion that a negative
+       time_from_event implies an empty event queue.
+
+Fri Apr 28 15:53:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interrupts.c (deliver_hardware_interrupt): Print time trace in
+       decimal.
+       * events.c (event_queue_process): Cleanup trace message.
+       (update_time_from_event): Trace full event queue.
+
+2000-03-25  Geoff Keating  <geoffk@cygnus.com>
+
+       * ppc-instructions (Disabled_Exponent_Underflow): Increment
+       the exponent when denormalizing.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+        * configure.in: Use AC_EXEEXT instead of AM_EXEEXT.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * sim_calls.c (POLL_QUIT_INTERVAL): Define. Used to tweak
+       the frequency at which the poll_quit callback is called.
+       (poll_quit_count): New global.
+       (sim_io_poll_quit): Only call the poll_quit callback
+       after the specified POLL_QUIT_INTERVAL.
+
+1999-02-22  Jim Lemke  <jlemke@cygnus.com>
+
+       * dc-complex: Force expansion on all bits of field BO.
+       Previously, the least-significant (prediction) bit was ignored.
+       * ppc-instructions (conditional branches): Implement mpc860c0 option.
+       * igen.c (gen_semantics_[ch]): Setup for mpc860c0 option.
+       * psim.c (is_num, psim_options): Added parsing for mpc860c0 option.
+       * interrupts.h: Added "mpc860c0_instruction_program_interrupt".
+       * interrupts.c (program_interrupt): Added handling for above interrupt.
+
+1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       Make the simulator compatible with the MPC750.  It would be nicer
+       to make this a real multi-sim, but that's more work than we have
+       time for.
+       * emul_generic.c (emul_add_tree_options): Only require strict
+       alignment if it was explicitly requested at configuration time.
+       Don't make it the default for little-endian machines.
+       * ppc-spr-table (UMMCR0, UMMCR1, UPMC1, UPMC2, USIA, UPMC3, UPMC4,
+       MMCR0, PMC1, PMC2, SIA, MMCR1, PMC3, PMC4, L2CR, ICTC, THRM1,
+       THRM2, THRM3): Plop in the MPC750 SPR registers.
+       (DABR): This is weird.  This was HID5, but the PPC spec says this
+       should be DABR; why did some random processor use it for something
+       else?  The HID5 entry dates back to the original checkin of the
+       simulator code in 1995, so remove it.
+       * sim_calls.c (register_names): Delete this; since the user can
+       now change GDB's list of register names dynamically, we can't
+       pretend there's a static mapping here.
+       (sim_fetch_register, sim_store_register): Call GDB's REGISTER_NAME
+       function to get the register name.  That ought to be accurate.
+       However, we're changing a compile-time dependency (using the
+       REGISTER_NAMES macro) into a link- and run-time dependency
+       (calling REGISTER_NAME, which happens to be a function call on the
+       PPC).
+
+1999-01-22  Jim Lemke <jlemke@cygnus.com>
+
+       * igen.c(gen_semantics_[ch]): setup/use of new option
+       (-o mpc860c0[=n]).
+       interrupts.[ch](mpc860c0_instruction_program_interrupt): added.
+       ppc-instructions(the four branch insn groups): detect problematic br's.
+       psim.c(is_num - added, psim_options): Parse and init new option.
+       These changes are currently under #ifdef WITH_OPTION_MPC860C0.
+
+1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
+
+       * hw_nvram.c (hw_nvram_bcd): Force value to fit in 0..99.
+
+Fri Nov 20 12:17:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * main.c (sim_io_poll_quit): Stub function.
+
+       * events.c (SIM_EVENTS_POLL_RATE): Define.
+       (sim_events_poll): Copy function from common/sim-events.c.
+       (event_queue_init): Copy scheduling of sim_events_poll from same.
+
+       * sim_callbacks.h, sim_calls.c (sim_io_poll_quit): New function,
+       poll the external environment.
+
 1998-11-19  Michael Meissner  <meissner@cygnus.com>
 
        * ppc-instructions (is_{NaN,inf}): Use unsigned64 to get the
 
 Mon Sep 28 09:42:45 1998  Drew Moseley  <dmoseley@cygnus.com>
 
-       * table.c (table_open): For cygwin hosts, we need to use the return value
-       from the read routine as the number of bytes to process.  This apparently
-       is due to text-mode vs binary-mode.  If the mounts are done text-mode,
-       then the size returnedby fstat() may be different than the number of
-       bytes "read" in text mode.
+       * table.c (table_open): For cygwin hosts, we need to use the
+       return value from the read routine as the number of bytes to
+       process.  This apparently is due to text-mode vs binary-mode.  If
+       the mounts are done text-mode, then the size returnedby fstat()
+       may be different than the number of bytes "read" in text mode.
 
 Sun Oct  4 00:50:47 1998  Felix Lee  <flee@cygnus.com>
 
This page took 0.026213 seconds and 4 git commands to generate.