diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2009-02-27 20:32:52 +0000 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2009-02-27 20:32:52 +0000 |
commit | 5ae2b7c601dadf79a4345e1ee21053947b9e4add (patch) | |
tree | 216d99739f3ce76e1dee4bf9fde7dca41fc00952 /net.c | |
parent | ea0e6e80260d2b1b7ad40282012b0e47869bcddf (diff) | |
download | strace-5ae2b7c601dadf79a4345e1ee21053947b9e4add.tar.gz strace-5ae2b7c601dadf79a4345e1ee21053947b9e4add.tar.bz2 strace-5ae2b7c601dadf79a4345e1ee21053947b9e4add.tar.xz |
AVR32 support by Hans-Christian Egtvedt
(hans-christian.egtvedt AT atmel.com).
* configure.ac: Make it recognize avr32.
* defs.h: Define LINUX_AVR32.
* linux/avr32/syscallent.h: New file.
* Makefile.am: Reference linux/avr32/syscallent.h.
* proc.c (change_syscall, setarg): Add support for avr32.
(struct xlat struct_user_offsets[]): Ditto.
* syscall.c (get_scno): Ditto.
(get_error, force_result, syscall_enter): Ditto.
* util.c (getpc, printcall): Ditto.
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1270,7 +1270,7 @@ sys_so_socketpair(tcp) struct tcb *tcp; { if (entering(tcp)) { - /* not sure what this arg is */ + /* not sure what this arg is */ tprintf("0x%lx", tcp->u_arg[0]); } return 0; @@ -1644,7 +1644,7 @@ struct tcb *tcp; switch (tcp->u_arg[2]) { #ifdef SO_LINGER case SO_LINGER: - if (len == sizeof (struct linger)) { + if (len == sizeof (struct linger)) { struct linger linger; if (umove (tcp, tcp->u_arg[3], |