public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15614] New: stapdyn only partially fills registers on ppc
@ 2013-06-12 21:10 jistone at redhat dot com
  2020-06-05 13:47 ` [Bug dyninst/15614] " scox at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jistone at redhat dot com @ 2013-06-12 21:10 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15614

            Bug ID: 15614
           Summary: stapdyn only partially fills registers on ppc
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
          Assignee: systemtap at sourceware dot org
          Reporter: jistone at redhat dot com
            Blocks: 14573

In Dyninst's EmitterPOWER::emitCall() on powerpc, they enforce a limit of 8
arguments in synthesized calls.  This limits our current strategy of passing
all DWARF registers as a series of varargs.  We already use one argument for
the probe index, and one for the number of arguments following, which only
leaves us space to pass 6 registers.  That will be the ip and r1-r5.

To do more, we'll either have to extend Dyninst itself (which has a comment
stating that additional ppc arguments could go on the stack), or find a way to
build a full pt_regs and pass that as one pointer argument.  The latter might
be possible to do manually, but even nicer would be native Dyninst support to
expose its spill area, also desired for bug 15386.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug dyninst/15614] stapdyn only partially fills registers on ppc
  2013-06-12 21:10 [Bug dyninst/15614] New: stapdyn only partially fills registers on ppc jistone at redhat dot com
@ 2020-06-05 13:47 ` scox at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2020-06-05 13:47 UTC (permalink / raw)
  To: systemtap

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

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scox at redhat dot com
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Stan Cox <scox at redhat dot com> ---
Fixed by setting up all the regs using multiple synthesized calls.

*** This bug has been marked as a duplicate of bug 24954 ***

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-05 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-12 21:10 [Bug dyninst/15614] New: stapdyn only partially fills registers on ppc jistone at redhat dot com
2020-06-05 13:47 ` [Bug dyninst/15614] " scox at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).