X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fppc%2FChangeLog;h=8ad4e1acb766d27175bf5e76c66069c8b811c3d5;hb=6ffe910a7e62888428dfe53168a5383dd3daf689;hp=0aea7d41b491f5ac212e7dade45e8d93fd74ae9e;hpb=3c25f8c7b071182238e0833c72552ee0e72fd2ae;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 0aea7d41b4..8ad4e1acb7 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,592 @@ +2011-10-17 Mike Frysinger + + * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER + call. Replace common.m4 include with SIM_AC_COMMON. + * configure: Regenerate. + +2011-06-09 Joel Brobecker + + * psim.c (psim_options): Fix length of comparison when checking + for --sysroot= option. + +2011-06-08 Joel Brobecker + + * psim.c (psim_options): Add option that cause the error + in invalid-option error messages. Print the usage when + detecting an invalid long-name option. + +2011-06-08 Joel Brobecker + + * psim.c (psim_options): Accept and ignore `--sysroot=...'. + +2011-06-03 Joel Brobecker (obvious fix) + + From Stephen Kitt + * vm.c (vm_synchronize_context): Spelling fix in function + documentation. + +2011-04-16 Mike Frysinger + + * sim_calls.c (sim_complete_command): New stub function. + +2011-02-14 Mike Frysinger + + * cap.c (cap_remove): Change zfree to free. + * corefile.c (core_init): Likewise. + * device.c (detach_device_interrupt_edge): Likewise. + (clean_device_interrupt_edges): Likewise. + (device_instance_delete): Likewise. + (device_set_property): Likewise. + (clean_device_properties): Likewise. + (device_add_range_array_property): Likewise. + (device_add_reg_array_property): Likewise. + * emul_bugapi.c (emul_bugapi_do_read): Likewise. + (emul_bugapi_do_write) + * emul_netbsd.c (write_direntries): Likewise. + (do_read): Likewise. + (do_write): Likewise. + (do_getdirentries): Likewise. + * emul_unix.c (do_unix_read): Likewise. + (do_unix_write): Likewise. + * events.c (event_queue_init): Likewise. + (event_queue_deschedule): Likewise. + (event_queue_process): Likewise. + * hw_disk.c (open_disk_image): Likewise. + (hw_disk_instance_delete): Likewise. + * hw_eeprom.c (hw_eeprom_instance_delete): Likewise. + * hw_htab.c (htab_dma_binary): Likewise. + * hw_init.c (update_for_binary_section): Likewise. + * hw_memory.c (hw_memory_set_available): Likewise. + (hw_memory_init_address): Likewise. + (hw_memory_instance_release): Likewise. + * pk_disklabel.c (disklabel_delete): Likewise. + * table.c (table_push): Likewise. + * tree.c (parse_reg_property): Likewise. + (parse_ranges_property): Likewise. + (parse_string_property): Likewise. + * main.c (zfree): Delete. + * sim_calls.c (zfree): Likewise. + * sim_callbacks.h (zfree): Likewise. + +2011-01-11 Andrew Burgess + + * gdb-sim.c (sim_store_register): Update return value to + match new API. + +2011-01-05 Joel Brobecker + + * psim.texinfo: Copyright year update. + +2010-04-14 Mike Frysinger + + * sim_calls.c (sim_write): Add const to buf arg. + +2010-02-14 Andreas Schwab + + * ppc-instructions: Fix missing assignment in last change. + +2010-02-05 Andreas Schwab + + * ppc-instructions: Fix aliasing bugs when calling + invalid_arithemetic_operation. + +2009-11-13 Nathan Froyd + + * configure.ac: If build != host, create a separate build-config.h + file desecribing the build machine. + * configure: Regenerate. + * lf.c: Include build-config.h instead of config.h. + * dgen.c: Likewise. + * igen.c: Likewise. + * misc.c: Likewise. + * misc.h: Likewise. + * filter.c: Likewise. + * table.c: Likewise. + +2009-10-15 Joel Sherrill + + * std-config.h: Fix spelling error. + +2009-09-22 Joel Sherrill + + * main.c: Fix spelling error. + +2009-09-15 Andreas Tobler + Doug Evans + + * configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN. + * configure: Regenerate. + * config.in: Regenerate. + * hw_sem.c: (HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN. + +2009-08-22 Ralf Wildenhues + + * config.in: Regenerate. + * configure: Likewise. + + * configure: Regenerate. + +2009-07-30 Ralf Wildenhues + + * Makefile.in (datarootdir): New variable. + +2009-01-12 Nathan Froyd + + * ppc-instructions (sync): Add L field. + +2008-12-15 Joel Sherrill + + * ppc-instructions, ppc-spr-table: Add ability + to read tbrl and tbru special registers. + +2008-11-18 Joel Sherrill + + * configure: Regenerated. + * configure.ac: Add test for System V shared memory and semaphore. + * debug.c, debug.h: Add trace support for new devices. + * hw_sem.c, hw_shm.c: New files. + * Makefile.in: Add hw_sem.c and hw_shm.c. + +2008-07-11 Hans-Peter Nilsson + + * configure.ac: Add test for libz and zlib.h. + * Makefile.in (LIBS): Set from @LIBS@. + * configure: Regenerate. + * config.in: Ditto. + +2008-06-06 Vladimir Prus + Daniel Jacobowitz + Joseph Myers + + * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. + * configure, config.in: Regenerated. + * Makefile.in (LIB_OBJ): Add version.o. + (version.c, version.o): New rules. + * psim.c (psim_usage): Add help parameter. Print the bug URL. + Exit with code 0 for help. + (psim_options): Update calls to psim_usage. Handle --help and + --version. + * psim.h (psim_usage): Update prototype. + * main.c (main): Update psim_usage call. + +2008-03-14 Nick Hudson + + * gdb-sim.c (regnum2spr): Rename to... + (sim_spr_register_name): ... this. Make global. + +2007-09-04 Jerome Guitton + + * sim/ppc/emul_bugapi.c (emul_bugapi_create): quote the file + name property before parsing it. + +2006-12-21 Hans-Peter Nilsson + + * acconfig.h: Remove. + * config.in: Regenerate. + +2006-11-22 Tom Marn + + Committed by Andrew Cagney. + * ppc-instructions: Implement optional PowerPC stfiwx instruction. + +2006-07-12 Fred Fish + + * sim-endian.h (asm/byteorder.h): Don't include private kernel + header. + +2006-06-13 Richard Earnshaw + + * configure: Regenerated. + +2006-05-31 Daniel Jacobowitz + + * Makefile.in: Replace INTLLIBS and INTLDEPS with LIBINTL + and LIBINTL_DEP everywhere. + (INTL_DIR, INTL_SRC): Remove. + (INTL_CFLAGS): Use INCINTL. + * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. + * configure: Regenerated. + +2006-05-05 Andreas Schwab + + * configure.ac (CFLAGS_FOR_BUILD): Set and substitute. + * configure: Regenerate. + + * Makefile.in (CFLAGS_FOR_BUILD): Define. + (BUILD_CFLAGS): Use it instead of hardcoding "-g -O". + (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS. + +2006-04-23 Andreas Schwab + + * Makefile.in (tmp-ld-decode): Fix dependencies. + (tmp-ld-cache): Likewise. + (tmp-ld-insn): Likewise. + +2006-02-01 Mark Mitchell + + * emul_netbsd.c (emul_netbsd_create): Quote file-name property. + * emul_unix.c (emul_unix_create): Likewise. + * tree.c (libiberty.h): Include it. + (tree_quote_property): New function. + * tree.h (tree_quote_property): Declare. + +2006-01-25 Mark Mitchell + + * words.h (natural32): Define as "int". + +2006-01-23 Mark Mitchell + + * words.h (signed32): Define as "int". + (unsigned32): Define as "unsigned int". + +2005-11-28 Mark Mitchell + + * configure.ac (USE_WIN32API): Define it. + * configure.in: Regenerate. + * config.in: Likewise. + * emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY. + * emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir. + +2005-11-28 Mark Mitchell + + * psim.c: Include gdb/signals.h. + + * sim_calls.c (gdb/signals.h): Include it. + (sim_stop_reason): Use TARGET_SIGNAL_*. + * psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*. + +2005-07-15 Ben Elliston + + * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's. + +2005-07-15 Ben Elliston + + * hw_init.c: Comment out tokens after #endif directive. + * hw_register.c: Likewise. + * hw_trace.c: Likewise. + * hw_vm.c: Likewise. + +2005-04-20 Manoj Iyer + + * psim.c: Added libiberty.h header file. + +2005-04-18 Manoj Iyer + + * configure.ac: Added check for long long. + * config.in: Regenerated. + * configure: Regenerated. + * words.h: Modified logic to check for HAVE_LONG_LONG instead of + __GNUC__, added config.h header file. + +2005-03-25 Anthony Green + + * tree.c (parse_reg_property): Fix memset usage. + +2005-03-23 Mark Kettenis + + * configure: Regenerate. + +2005-01-11 Andrew Cagney + + * configure.ac: Delete AC_CONFIG_AUX_DIR. + * configure: Re-generate. + +2005-01-07 Andrew Cagney + + * configure.ac: Rename configure.in, require autoconf 2.59. + * configure: Re-generate. + +2005-01-03 Andreas Schwab + + * Makefile.in (hw_com.o, hw_eeprom.o): Depend on + $(DEVICE_TABLE_H). + +2004-11-16 Andreas Schwab + + * Makefile.in (defines.h): Depend on tmp-defines. + (hw.c hw.h): Depend on tmp-hw. + (pk.h): Depend on tmp-pk. + +2004-11-11 Andreas Schwab + + * sim_calls.c: Include "libiberty.h". + +2004-09-24 Ian Lance Taylor + + Committed by Andrew Cagney. + * configure.in: Check for sys/mount.h, sys/vfs.h, sys/statfs.h. + Check for struct statfs. + * emul_netbsd.c: If not HAVE_STRUCT_STATFS, #undef HAVE_FSTATFS. + * configure, config.in: Regenerate. + +2004-08-05 Nathanael Nerode + + * Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc. + +2004-08-04 Andrew Cagney + Jim Blandy + + * sim_callbacks.h (simulator): Declare. + * Makefile.in (gdb-sim.o): New rule. + (MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c. + (DEFS_H): Delete. + (GDB_SIM_PPC_H): Define. + * gdb-sim.c: New file. + * sim_calls.c: Do not include "defs.h". + (simulator): Drop static. + (sim_store_register, sim_fetch_register): Delete. + +2004-08-04 Andrew Cagney + + * Back out accidently committed change. + +2004-08-04 Jim Blandy + + Use a fixed register numbering when communicating with the PowerPC + simulator. + * sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not + include GDB's "defs.h". + (gdb_register_name_table): New variable. + (gdb_register_name_table_size): New enum constant. + (gdb_register_name): New function. + (sim_fetch_register, sim_store_register): Use gdb_register_name, + instead of calling gdbarch_register_name. + * Makefile.in (GDB_SIM_PPC_H): New variable. + (DEFS_H): Delete variable. + (sim_calls.o): Update dependencies. + +2004-07-26 Andrew Cagney + + Problem from Olaf Hering . + * Makefile.in (install, installdirs): Add DESTDIR. + +2004-07-10 Ben Elliston + + * tree.c (parse_integer_property): Comment typo fix. + +2004-07-06 Jim Blandy + + * Makefile.in: Update all dependency information. + (BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H) + (EMUL_GENERIC_H): Values updated. + (ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H) + (ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H) + (COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H) + (COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H) + (DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H) + (EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H) + (FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H) + (GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H) + (GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H) + (ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H) + (IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H) + (LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H) + (OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H) + (SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H) + (SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H) + (TREE_H, VM_H, VM_N_H, WORDS_H): New variables. + (callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o) + (dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o) + (events.o, filter.o, filter_filename.o, filter_host.o) + (gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o) + (gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o) + (hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o) + (idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o) + (ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o) + (options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o) + (semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o) + (support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies. + +2004-06-28 Jim Blandy + + * e500_registers.h (EVR): Cast the 32-bit value of the GPR to an + unsigned type before or-ing it with a 64-bit value. + +2004-06-15 Alan Modra + + * hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc. + (htab_dma_binary(bfd): Likewise. + * hw_init.c (update_for_binary_section(bfd): Likewise. + +2004-05-10 Daniel Jacobowitz + + * configure.in (sim_fpu_cflags): Add -I../common. + * configure: Regenerated. + +2004-01-27 Andrew Cagney + + * ppc-instructions: Update copyright. + (convert_to_integer): Add trailing ";" to label. + +2003-10-16 Michael Snyder + + * emul_netbsd.c: Only a comment may follow an #endif. + +2003-10-15 Michael Snyder + + * Makefile.in (sim_calls.o): No longer depends on gdb/tm.h. + +2003-06-22 Andrew Cagney + + Written by matthew green , with fixes from Aldy + Hernandez , Jim Wilson , and + Nick Clifton . + + * ppc-instructions: Include altivec.igen and e500.igen. + (model_busy, model_data): Add vr_busy and vscr_busy. + (model_trace_release): Trace vr_busy and vscr_busy. + (model_new_cycle): Update vr_busy and vscr_busy. + (model_make_busy): Update vr_busy and vscr_busy. + * registers.c (register_description): Add Altivec and e500 + registers. + * psim.c (psim_read_register, psim_read_register): Handle Altivec + and e500 registers. + * ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers. + * configure.in (sim_filter): When *altivec* add "av". When *spe* + or *simd* add e500. + (sim_float): When *altivec* define WITH_ALTIVEC. When *spe* add + WITH_E500. + * configure: Re-generate. + * e500.igen, altivec.igen: New files. + * e500_expression.h, altivec_expression.h: New files. + * idecode_expression.h: Update copyright. Include + "e500_expression.h" and "altivec_expression.h". + * e500_registers.h, altivec_registers.h: New files. + * registers.h: Update copyright. Include "e500_registers.h" and + "altivec_registers.h". + (registers): Add Altivec and e500 specific registers. + * Makefile.in (IDECODE_H): Add "idecode_e500.h" and + "idecode_altivec.h". + (REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h". + (tmp-igen): Add dependencies on altivec.igen and e500.igen . + +2003-06-22 Andrew Cagney + + Problems reported by Joshua LeVasseur. + * emul_chirp.c: Update copyright. + (chirp_emul_nextprop): Return the first property. + * hw_htab.c: Update copyright. + (htab_decode_hash_table): Fix check for htab size. + +2003-06-21 Andrew Cagney + + * interrupts.c: Update copyright. + (external_interrupt): Fix test for already pending interrupt. + Problem found by Joshua LeVasseur. + + * ppc-instructions: Add missing +8 line. Found by blofeldus at + yahoo.com. + +2003-06-21 Andrew Cagney + + From Ian Lance Taylor : * hw_nvram.c + (hw_nvram_init_address): Correct call to memset--swap second and + third arguments. + +2003-06-21 Andrew Cagney + + * hw_com.c (hw_com_device_init_data): Check that the output, and + not input file opened. Pointed out by masahino tky3.3web.ne.jp. + +2003-06-20 Andrew Cagney + + * sim_calls.c (sim_create_inferior): Assert that + psim_write_register succeeded. + (sim_fetch_register, sim_store_register): Make "regname" constant. + Delete Altivec hack. Return result from psim_read_register / + psim_write_register. + * psim.h (psim_read_register, psim_write_register): Change return + type to int. Update comments. + * psim.c: Update copyright. + (psim_stack): Assert that the psim_read_register worked. + (psim_read_register, psim_read_register): Return the register's + size. Allocate the cooked buffer dynamically. + * hw_register.c: Update copyright. + (do_register_init): Check that psim_write_register succeeded. + * hw_init.c: Update copyright. + (create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert + that the register transfer worked. + +2003-06-19 Andrew Cagney + + * ld-insn.h: Update copyright. + (cache_fields): Define. + (insn_table_fields): Add insn_field_6 and insn_field_7. + (load_insn_table): Pass in the "cache_rules". + * ld-insn.c: Update copyright. + (load_insn_table): Add parameter "cache_rules". Handle "cache", + "computed" and "scratch" fields. + (main): Pass "cache_rules" to load_insn_table. + * ld-cache.h: Update copyright. + (append_cache_table): Declare. + * ld-cache.c: Update copyright. + (append_cache_table): New function. + (load_cache_table): Call. + * gen-model.c: Include "ld-cache.h". + * gen-itable.c: Include "ld-cache.h". + * igen.c: Move #include "ld-cache.h" to earlier. Update + copyright. + (main): Permit a NULL "cache_rules". Pass address of + "cache_rules" to load_insn_table. + * Makefile.in (tmp-ld-insn): Add "ld-cache.o". + (tmp-igen): Do not include ppc-cache-rules. + (gen-itable.o, gen-model.o): Add "ld-cache.h". + * ppc-cache-rules: Delete file. + * ppc-instructions: Add cache rules. + +2003-06-19 Andrew Cagney + + * Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete. + (SIM_FPU_FLAGS): Define. + (icache.o): Delete explicit compile command. + (semantics.o, idecode.o): Delete explicit compile command. + (NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS. + * gen-support.c (gen_support_c): Generate #include of + "sim-inline.h" and "sim-fpu.h", but conditional on + HAVE_COMMON_FPU. + * gen-idecode.c (gen_idecode_c): Ditto. + * igen.c (gen_icache_c, gen_semantics_c): Wrap #include of + "sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional. + Move to before "support.h". + * Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update + copyright. + +2003-05-16 Ian Lance Taylor + + * Makefile.in (various): Use $(SHELL) whenever we invoke + move-if-change. + +2003-02-27 Andrew Cagney + + * sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd. + +2002-09-27 Andrew Cagney + + * hw_disk.c (hw_disk_init_address): Set device type to "block", + not "disk". + +2002-06-22 Andrew Cagney + + * Makefile.in (INTL_SRC): Define. + (INTL_CFLAGS): Define. + (INTL_DIR): Define. + (STD_CFLAGS): Add INTL_CFLAGS. + +2002-06-17 Elena Zannoni + + * psim.c (psim_options): Don't choke when gdb invokes us with + the --architecture option, just ignore it. + +2002-06-16 Andrew Cagney + + * configure: Regenerated to track ../common/aclocal.m4 changes. + 2002-06-08 Andrew Cagney * main.c: Include "gdb/callback.h" and "gdb/remote-sim.h". @@ -2439,7 +3028,7 @@ Wed Jun 19 21:45:28 1996 Andrew Cagney * configure.in: Adjust filter flag so that default includes 32bit and floating point. * ppc-instructions: Clean up filter fields so that only in use - entries are specifed (ie delete `be'). + entries are specified (ie delete `be'). * misc.c (name2i, i2name): New function. Map between a string and an integer value.