https://bugs.kde.org/show_bug.cgi?id=511329

            Bug ID: 511329
           Summary: Darwin and FreeBSD: Move setting of carry flag out of
                    ML_(do_syscall_for_client_WRK)
    Classification: Developer tools
           Product: valgrind
      Version First 3.26 GIT
       Reported In:
          Platform: Other
                OS: FreeBSD
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Having implemented two hacky solutions I recently noticed that Solaris does
this by passing in a pointer to char, storing the carry flag in that char and
then calling LibVEX_GuestAMD64_put_rflag_c(cflag, &tst->arch.vex) after
ML_(do_syscall_for_client_WRK)

That's much more elegant.

Needs to be done on FreeBSD amd64 arm64 x86 and Darwin amd64 and x86.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to