[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] lsocket



Am 31.03.2012, 15:27 Uhr, schrieb Peter Slegg <p.slegg@scubadivers.co.uk>:

Should strace be in the tools folder of the daily build ?

http://highwire.atari-users.net/cgi-bin/cvsweb/freemint/tools/strace/?only_with_tag=MAIN

There's a build-error. I have found a bin and also fixed the build. It
produces when invoked with strace strace >strace.out:

waitpid() -> 18
process stopped with signal "Trace Trap"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x12c3fb0
PC: 0x119e246
executed instruction: 0x4e41
current stack: 0x154ffff -> opcode 0x154
system call: "Ssystem"
Ssystem(-1, 0, 0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f84
PC: 0x11a70c2
executed instruction: 0x4e41
current stack: 0x4a0000 -> opcode 0x04a
system call: "Mshrink"
Mshrink(0, 18472960, 221140)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f1c
PC: 0x11afc10
executed instruction: 0x4e41
current stack: 0x154000a -> opcode 0x154
system call: "Ssystem"
Ssystem(10, 1210, 0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f10
PC: 0x11afc94
executed instruction: 0x4e41
current stack: 0x1540008 -> opcode 0x154
system call: "Ssystem"
Ssystem(8, 1298746964, 18693916)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3c
PC: 0x11a9502
executed instruction: 0x4e41
current stack: 0x1190001 -> opcode 0x119
system call: "Pdomain"
Pdomain(1)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a9510
executed instruction: 0x4e41
current stack: 0x138ffff -> opcode 0x138
system call: "Pgeteuid"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a951a
executed instruction: 0x4e41
current stack: 0x10fffff -> opcode 0x10f
system call: "Pgetuid"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a98f4
executed instruction: 0x4e41
current stack: 0x139ffff -> opcode 0x139
system call: "Pgetegid"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a98fe
executed instruction: 0x4e41
current stack: 0x114ffff -> opcode 0x114
system call: "Pgetgid"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a97ca
executed instruction: 0x4e41
current stack: 0x19ffff -> opcode 0x019
system call: "Dgetdrv"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f3e
PC: 0x11a9576
executed instruction: 0x4e41
current stack: 0x19ffff -> opcode 0x019
system call: "Dgetdrv"
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f02
PC: 0x11afafe
executed instruction: 0x4e41
current stack: 0x1040001 -> opcode 0x104
system call: "Fcntl"
Fcntl(1, 18693924, 21510)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f02
PC: 0x11afb4c
executed instruction: 0x4e41
current stack: 0x420000 -> opcode 0x042
system call: "Fseek"
Fseek(0, 1, 1)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f02
PC: 0x11afb60
executed instruction: 0x4e41
current stack: 0x420000 -> opcode 0x042
system call: "Fseek"
Fseek(1, 1, 1)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3f02
PC: 0x11afb76
executed instruction: 0x4e41
current stack: 0x420000 -> opcode 0x042
system call: "Fseek"
Fseek(2277, 1, 0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3d64
PC: 0x11b4716
executed instruction: 0x4e41
current stack: 0x15d0000 -> opcode 0x15d
system call: "Ffstat64"
Ffstat64(0, 0x11d3dfc)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3dc6
PC: 0x11afafe
executed instruction: 0x4e41
current stack: 0x1040000 -> opcode 0x104
system call: "Fcntl"
Fcntl(0, 18693608, 21510)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3e0c
PC: 0x11b4716
executed instruction: 0x4e41
current stack: 0x15d0000 -> opcode 0x15d
system call: "Ffstat64"
Ffstat64(0, 0x11d3eb4)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3d60
PC: 0x11b4716
executed instruction: 0x4e41
current stack: 0x15d0001 -> opcode 0x15d
system call: "Ffstat64"
Ffstat64(1, 0x11d3df8)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3e08
PC: 0x11b4716
executed instruction: 0x4e41
current stack: 0x15d0001 -> opcode 0x15d
system call: "Ffstat64"
Ffstat64(1, 0x11d3eb0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3e04
PC: 0x11b4716
executed instruction: 0x4e41
current stack: 0x15d0002 -> opcode 0x15d
system call: "Ffstat64"
Ffstat64(2, 0x11d3eac)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ebe
PC: 0x11b33e6
executed instruction: 0x4e41
current stack: 0x15e011d -> opcode 0x15e
system call: "Psysctl"
Psysctl(0x11d3f10, 2, 0x11d3f18, 0x11d3f1c, NULL, 0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ece
PC: 0x11ae178
executed instruction: 0x4e41
current stack: 0x480000 -> opcode 0x048
system call: "Malloc"
Malloc(8192)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ebc
PC: 0x11b6f54
executed instruction: 0x4e41
current stack: 0x3e0002 -> opcode 0x03e
system call: "Fclose"
Fclose(2)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ebc
PC: 0x11b6f54
executed instruction: 0x4e41
current stack: 0x3e0001 -> opcode 0x03e
system call: "Fclose"
Fclose(1)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ebc
PC: 0x11b6f54
executed instruction: 0x4e41
current stack: 0x3e0000 -> opcode 0x03e
system call: "Fclose"
Fclose(0)
waitpid() -> 18
process stopped with signal "Trace Trap"
SP: 0x11d3ed4
PC: 0x11ae582
executed instruction: 0x4e41
current stack: 0x4c0001 -> opcode 0x04c
system call: "Pterm"
Pterm(1)
waitpid() -> 18
process exited normally with code 1


Is this what you need?

--
Helmut Karlowski