Bug 2988 - ftracing i386 program on x86-64
Summary: ftracing i386 program on x86-64
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2245
  Show dependency treegraph
 
Reported: 2006-08-01 13:28 UTC by Andrew Cagney
Modified: 2006-11-28 16:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-08-01 13:28:42 UTC
The i386 and x86-64 system call tables are different.  When a 64-bit ftrace
tracks a 32-bit app, it needs to:

- use the 32-bit system call table
- project the 32-bit register set onto the underlying 64-bit register set
Comment 1 Andrew Cagney 2006-08-01 13:30:11 UTC
Down stream Fedora bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200893
Comment 2 Yao Qi 2006-08-31 16:04:58 UTC
It is similar for ppc32 app on ppc64.
Comment 3 Wu Zhou 2006-09-28 15:45:23 UTC
This kind of bugs belongs to bi-arch ones.  What about creating a new tracker
for them.  So that we can know how it works in general?