This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [Fwd: Re: Regarding systemtap support for AArch64]
- From: Petr Machata <pmachata at redhat dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: Mark Wielaard <mjw at redhat dot com>, Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>, systemtap at sourceware dot org, Deepak Saxena <dsaxena at linaro dot org>, Krishna Dani <krishna dot mohan at linaro dot org>, Jakub Pavelek <jakub dot pavelek at linaro dot org>
- Date: Mon, 04 Nov 2013 16:41:16 +0100
- Subject: Re: [Fwd: Re: Regarding systemtap support for AArch64]
- Authentication-results: sourceware.org; auth=none
>Mark Wielaard <mjw@redhat.com> writes:
>
>> According to the call abi the simple integer value should be in
>> register "x0". It looks in the generated c code for the module that
>> it is trying to access the return value with:
>>
>> { int64_t value = fetch_register (0); STAP_RETVALUE = value; }
>
> Is this using ebl_return_value_location? That should be on the branch,
> and unless I'm interpreting things wrong, it's doing the right thing:
By which I mean dwfl_module_return_value_location ;)
Thanks,
PM