summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-util_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 18:10:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 18:10:24 +0100
commitb047da059a1042a27ba68b1bdc50dd187bd362f4 (patch)
tree5529bdac03674fab07bb4335fc5ce4e5654c7497 /package/strace/patches/patch-util_c
parent5d93cc6de511d5330d0d0c7a0ebae8e6c9638e3d (diff)
update kernel to 2.6.32
- update some applications asterisk, curl, strace, radvd, rpm - fix allconfig - /dev for full build seems to need more than 64k
Diffstat (limited to 'package/strace/patches/patch-util_c')
-rw-r--r--package/strace/patches/patch-util_c53
1 files changed, 0 insertions, 53 deletions
diff --git a/package/strace/patches/patch-util_c b/package/strace/patches/patch-util_c
deleted file mode 100644
index 17112f30e..000000000
--- a/package/strace/patches/patch-util_c
+++ /dev/null
@@ -1,53 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- strace-4.5.18.orig/util.c 2008-08-19 06:47:51.000000000 +0200
-+++ strace-4.5.18/util.c 2009-01-02 21:24:05.530098238 +0100
-@@ -1097,6 +1097,12 @@ struct tcb *tcp;
- #elif defined(SH64)
- if (upeek(tcp->pid, REG_PC ,&pc) < 0)
- return -1;
-+#elif defined(CRISV10)
-+ if (upeek(tcp->pid, 4*PT_IRP, &pc) < 0)
-+ return -1;
-+#elif defined(CRISV32)
-+ if (upeek(tcp->pid, 4*PT_ERP, &pc) < 0)
-+ return -1;
- #endif
- return pc;
- #endif /* LINUX */
-@@ -1245,6 +1251,22 @@ struct tcb *tcp;
- return;
- }
- tprintf("[%08lx] ", pc);
-+#elif defined(CRISV10)
-+ long pc;
-+
-+ if (upeek(tcp->pid, 4*PT_IRP, &pc) < 0) {
-+ PRINTBADPC;
-+ return;
-+ }
-+ tprintf("[%08lx] ", (unsigned long)pc);
-+#elif defined(CRISV32)
-+ long pc;
-+
-+ if (upeek(tcp->pid, 4*PT_ERP, &pc) < 0) {
-+ PRINTBADPC;
-+ return;
-+ }
-+ tprintf("[%08lx] ", (unsigned long)pc);
- #endif /* !architecture */
- #endif /* LINUX */
-
-@@ -1444,6 +1466,13 @@ typedef struct regs arg_setup_state;
- # define arg0_offset (REG_OFFSET+16)
- # define arg1_offset (REG_OFFSET+24)
- # define restore_arg0(tcp, state, val) 0
-+# elif defined CRISV10 || defined CRISV32
-+# define arg0_offset (4*PT_R11)
-+# define arg1_offset (4*PT_ORIG_R10)
-+# define restore_arg0(tcp, state, val) 0
-+# define restore_arg1(tcp, state, val) 0
-+# define arg0_index 1
-+# define arg1_index 0
- # else
- # define arg0_offset 0
- # define arg1_offset 4