diff options
author | Petr Machata <pmachata@redhat.com> | 2012-05-30 11:08:39 -0400 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-08-29 19:03:18 +0200 |
commit | 4d4e1b853db0c97b7c7f023bc301e3c3eee58ce4 (patch) | |
tree | f851d5aa8f1f2ea32210f86f9c65226e9570aaef /proc.c | |
parent | 82b1977bfdc0c31be26454257db28a1cb497fbf2 (diff) | |
download | ltrace-4d4e1b853db0c97b7c7f023bc301e3c3eee58ce4.tar.gz |
Track elf class in struct Process
Technically only s390 needs this at the moment, but it seems general enough
that it should be alongside the e_machine flag. Eventually it is desirable
to replace both fields with either a backend-provided ABI enum, or with
an ABI object that would implement the interesting back end calls.
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -270,6 +270,7 @@ process_clone(struct Process *retp, struct Process *proc, pid_t pid) retp->tracesysgood = proc->tracesysgood; retp->e_machine = proc->e_machine; + retp->e_class = proc->e_class; /* For non-leader processes, that's all we need to do. */ if (retp->leader != retp) |