This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: AArch64 sim


Hi Mike,

  Thanks very much for the detailed review.  Attached is a second
  attempt at contributing this work.  New in this edition are:

  * A basic pass/fail testsuite based upon similar code in the moxie
    directory.  I am planning to expand this to a proper, full testsuite
    later on.

  * The gdb-if.c file has been renamed to interp.c.

  * The files now have an appropriate FSF copyright notice.

  * The enum values in sim-aarch64.h are now in uppercase.

  * The configure.ac file is now a clone of the one in sim/arm.

  * The sources now compile in ISO C90 mode.

  * Extraneous whitespace has been removed.

  * The standard uintX_t types are used throughout.

  * Most global state is now held in the SIM_DESC structure.

  * // comments have been replaced with /* ... */

  * Prints to stderr have been replaced by calls to sim_io_eprintf

  * Register numbers are stored in an enum.

  * Updated Makefile.in.

  * The tracing code has been replaced with the sim/common tracing
    functions.

  * The sim common core memory functions are now used to read and write
    memory.


  I hope that this rewrite meets your approval.

  OK to apply ?

Cheers
  Nick

sim/ChangeLog
2015-07-15  Nick Clifton  <nickc@redhat.com>

	* configure.tgt (sim_arch): Add aarch64 target.
	* configure: Regenerate.
        * aarch64: New directory.
        * aarch64/aclocal.m4: Generate.
	* aarch64/config.in: Generate.
	* aarch64/configure: Generate.
	* aarch64/configure.ac: New file.
	* aarch64/cpustate.c: New file. Models the AArch64 registers.
	* aarch64/cpustate.h: New file.
	* aarch64/decode.h: Prototypes and types for the decoder
	functions. 
	* aarch64/interp.c: New file. Interface with GDB.
	* aarch64/Makefile.in: New file.
	* aarch64/memory.c: New file. Models the AArch64 memory subsystem.
	* aarch64/memory.h: New file.
	* aarch64/simulator.c: New file. Emulated AArch64 instructions.
	* aarch64/simulator.h: New file.
	* aarch64/sim-main.h: New file.  Interface with common code.

sim/testsuite/ChangeLog
2015-07-15  Nick Clifton  <nickc@redhat.com>

	* sim/aarch64: New directory.
	* sim/aarch64/pass.s: New file.  Tests simulator operation.
	* sim/aarch64/allinsn.exp: New file.  Test driver.
	* sim/aarch64/testutils.inc: New file.  Test support macros.

include/gdb/ChangeLog
2015-07-15  Nick Clifton  <nickc@redhat.com>

	* sim-aarch64.h: New file.

Attachment: aarch64.sim.patch.2.xz
Description: application/xz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]