]> granicus.if.org Git - strace/commit
print_pc: fix multiple personalities support
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 15 Feb 2015 15:52:02 +0000 (15:52 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 16 Feb 2015 02:39:21 +0000 (02:39 +0000)
commite96cb621fa7dc898f83d8afdaa7579cc54a115b0
tree52be10caa4aeb7003397e04b20ac577cc9095321
parent4f2d1ae243d4351209fca26599f81c7e6ca39e40
print_pc: fix multiple personalities support

* syscall.c (print_pc): Choose instruction pointer format depending
on current_wordsize, not the size of long integer type.
* tests/pc.c: New file.
* tests/pc.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add pc.
(TESTS): Add pc.test.
* tests/.gitignore: Add pc.
syscall.c
tests/.gitignore
tests/Makefile.am
tests/pc.c [new file with mode: 0644]
tests/pc.test [new file with mode: 0755]