This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 v2] Fix the register() and u_register() tapset functions for x86


Hello!

On Sun, Sep 16, 2018 at 1:01 AM Yichun Zhang (agentzh) wrote:
>
> The register() and u_register() functions incorrectly read 16-bit
> x86 registers as 32-bit on both i386 and x86_64.
>
> Fixed the sign-extension of register values on i386.
>
> Fixed a compilation error when using *register() in the dyninst
> runtime mode on x86_64.
>
> Also added support for 8-bit x86 reigsters like "al" and "bh" on both
> i386 and x86_64.

Just committed this to master with the approval from fche on IRC.

Best,
Yichun


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