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: [PATCH v3, alpha]: Handle single-stepping of atomic sequences


Uros Bizjak wrote:

> >>         * alpha-tdep.c (br_opcode): New.
> >>         (ldl_l_opcode, ldq_l_opcode, stl_c_opcode, stq_c_opcode): Ditto.
> >>         (alpha_deal_with_atomic_sequence): New function.
> >>         (alpha_gdbarch_init): Handle single stepping of atomic sequences
> >>         with alpha_deal_with_atomic_sequence.
> >>
> >> [v3]: As suggested by Ulrich, handle all branch instructions inside
> >> compare and exchange loop.
> >>
> >> Re-tested on alphaev68-pc-linux-gnu, also with simulate-thread.exp
> >> from GCC testsuite.

Looks good to me.  Since Uros has no CVS access and asked me off-list
to commit this patch, I've now done so.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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