Add avr32 support for strace
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11112 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c6b84240bc
commit
5dfdc6a5ce
@ -1,20 +1,7 @@
|
|||||||
--- strace-4.5.12/linux/syscallent.h.orig 2005-08-09 01:48:54.000000000 -0600
|
Index: strace-4.5.16/linux/syscallent.h
|
||||||
+++ strace-4.5.12/linux/syscallent.h 2005-08-09 01:50:23.000000000 -0600
|
===================================================================
|
||||||
@@ -298,7 +298,11 @@
|
--- strace-4.5.16.orig/linux/syscallent.h 2007-08-02 03:37:55.000000000 +0200
|
||||||
{ 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
|
+++ strace-4.5.16/linux/syscallent.h 2008-05-11 15:35:45.000000000 +0200
|
||||||
{ 5, TF, sys_fadvise64, "fadvise64" }, /* 250 */
|
|
||||||
{ 5, 0, printargs, "SYS_251" }, /* 251 */
|
|
||||||
- { 1, TP, sys_exit, "exit_group", __NR_exit_group }, /* 252 */
|
|
||||||
+ { 1, TP, sys_exit, "exit_group"
|
|
||||||
+#ifdef __NR_exit_group
|
|
||||||
+ , __NR_exit_group
|
|
||||||
+#endif
|
|
||||||
+ }, /* 252 */
|
|
||||||
{ 4, 0, printargs, "lookup_dcookie"}, /* 253 */
|
|
||||||
{ 1, 0, sys_epoll_create, "epoll_create" }, /* 254 */
|
|
||||||
{ 4, 0, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
|
|
||||||
--- strace-4.5.15.orig/linux/syscallent.h 2007-02-04 19:03:48.000000000 +0100
|
|
||||||
+++ strace-4.5.15/linux/syscallent.h 2007-02-04 19:11:04.000000000 +0100
|
|
||||||
@@ -130,7 +130,10 @@
|
@@ -130,7 +130,10 @@
|
||||||
{ 2, TF, sys_statfs, "statfs" }, /* 99 */
|
{ 2, TF, sys_statfs, "statfs" }, /* 99 */
|
||||||
{ 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
|
{ 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
|
||||||
@ -39,9 +26,24 @@
|
|||||||
{ 1, TD, sys_fsync, "fsync" }, /* 118 */
|
{ 1, TD, sys_fsync, "fsync" }, /* 118 */
|
||||||
{ 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
|
{ 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
|
||||||
{ 5, TP, sys_clone, "clone", SYS_clone }, /* 120 */
|
{ 5, TP, sys_clone, "clone", SYS_clone }, /* 120 */
|
||||||
--- strace-4.5.15.orig/syscall.c 2007-02-04 19:03:48.000000000 +0100
|
@@ -282,7 +288,11 @@
|
||||||
+++ strace-4.5.15/syscall.c 2007-02-04 19:07:26.000000000 +0100
|
{ 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
|
||||||
@@ -2404,14 +2404,18 @@
|
{ 5, 0, sys_fadvise64, "fadvise64" }, /* 250 */
|
||||||
|
{ 5, 0, printargs, "SYS_251" }, /* 251 */
|
||||||
|
- { 1, TP, sys_exit, "exit_group", __NR_exit_group }, /* 252 */
|
||||||
|
+ { 1, TP, sys_exit, "exit_group"
|
||||||
|
+#ifdef __NR_exit_group
|
||||||
|
+ , __NR_exit_group
|
||||||
|
+#endif
|
||||||
|
+ }, /* 252 */
|
||||||
|
{ 4, 0, printargs, "lookup_dcookie"}, /* 253 */
|
||||||
|
{ 1, 0, sys_epoll_create, "epoll_create" }, /* 254 */
|
||||||
|
{ 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
|
||||||
|
Index: strace-4.5.16/syscall.c
|
||||||
|
===================================================================
|
||||||
|
--- strace-4.5.16.orig/syscall.c 2006-12-21 23:13:33.000000000 +0100
|
||||||
|
+++ strace-4.5.16/syscall.c 2008-05-11 15:35:45.000000000 +0200
|
||||||
|
@@ -2383,14 +2383,18 @@
|
||||||
switch (known_scno(tcp)) {
|
switch (known_scno(tcp)) {
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
#if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
|
#if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: strace-4.5.16/syscall.c
|
Index: strace-4.5.16/syscall.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- strace-4.5.16.orig/syscall.c 2007-12-31 16:49:59.000000000 +0100
|
--- strace-4.5.16.orig/syscall.c 2008-05-11 15:35:45.000000000 +0200
|
||||||
+++ strace-4.5.16/syscall.c 2007-12-31 16:49:59.000000000 +0100
|
+++ strace-4.5.16/syscall.c 2008-05-11 15:36:09.000000000 +0200
|
||||||
@@ -1045,6 +1045,15 @@
|
@@ -1045,6 +1045,15 @@
|
||||||
/*
|
/*
|
||||||
* Note: we only deal with only 32-bit CPUs here.
|
* Note: we only deal with only 32-bit CPUs here.
|
||||||
|
2080
utils/strace/patches/003-avr32_support.patch
Normal file
2080
utils/strace/patches/003-avr32_support.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user