diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2006-01-05 05:57:47 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2006-01-05 05:57:47 +0000 |
commit | 7fa9dc1c36e3364063adfa18ba30b4632dad3ea6 (patch) | |
tree | 16841fb9b2e2c930b8a02d2bb7cd338dcc0b3e61 /usr.bin/truss/main.c | |
parent | daefc6601ddd2c41a281b3a61664809437b7c0bb (diff) |
Add powerpc support for truss.
Initial work by: Orlando Bassotto < orlando at break net >
Modified by: grehan
Notes
Notes:
svn path=/head/; revision=154047
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r-- | usr.bin/truss/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index 6866e7185b06..34c4e7a175c0 100644 --- a/usr.bin/truss/main.c +++ b/usr.bin/truss/main.c @@ -99,6 +99,10 @@ struct ex_types { #ifdef __ia64__ { "FreeBSD ELF64", ia64_syscall_entry, ia64_syscall_exit }, #endif +#ifdef __powerpc__ + { "FreeBSD ELF", powerpc_syscall_entry, powerpc_syscall_exit }, + { "FreeBSD ELF32", powerpc_syscall_entry, powerpc_syscall_exit }, +#endif #ifdef __sparc64__ { "FreeBSD ELF64", sparc64_syscall_entry, sparc64_syscall_exit }, #endif |