aarch64: detect atomic sequences like other ll/sc architectures
authorKyle McMartin <kmcmarti@redhat.com>
Wed, 30 Apr 2014 16:04:50 +0000 (12:04 -0400)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 7 May 2014 16:41:50 +0000 (09:41 -0700)
commit9404b58f46328b3b171b0d5eeb0691bd685bc4f5
tree58af2628b8997b03e420677d7793c1892372e248
parentae52f4830604b4b82bcbe6ad52208d5efcea2f82
aarch64: detect atomic sequences like other ll/sc architectures

gdb/Changelog:

        * aarch64-tdep.c (aarch64_software_single_step): New function.
        (aarch64_gdbarch_init): Handle single stepping of atomic sequences
        with aarch64_software_single_step.

gdb/testsuite/ChangeLog:

        * gdb.arch/aarch64-atomic-inst.c: New file.
        * gdb.arch/aarch64-atomic-inst.exp: New file.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/aarch64-atomic-inst.c [new file with mode: 0644]
gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp [new file with mode: 0644]