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]

[Bug translator/17041] cast-scope.exp fails on s390x


https://sourceware.org/bugzilla/show_bug.cgi?id=17041

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
Just to summarize, we seem to have two issues:

1. The pointer has too many bits in 0x000003ff7fbbfe14.  We probably should be
checking if masks are needed in u_fetch_register().  (e.g. the x86_64 version
reads only 32-bit on compat processes.)  Alternately, if we want to allow the
possibility that some arch may have normal registers wider than the pointer
size, then we'll have to mask it at deref() instead.

2. The missing -108 in gdb is mysterious.  Jonathan showed me this eu-readelf
dump, which clearly looks like we need that:
 [  249d]      formal_parameter
               name                 (string) "str"
               decl_file            (data1) 1
               decl_line            (data1) 6
               type                 (ref4) [  24d3]
               location             (block1)
                [   0] fbreg -108

-- 
You are receiving this mail because:
You are the assignee for the bug.


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