
testsuite/ltrace.main/signals.ltrace

--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
+++ exited (status 0) +++


testsuite/ltrace.main/system_calls.ltrace

SYS_brk(0, 0x4001bff4, -7168, 8, 0x8048034)      = 0x804b000
SYS_mmap2(0, 4096, 3, 34, -1)                    = 0x4001d000
SYS_access(0x4001911f, 4, 0x4001bff4, 0x4001911f, 0x4001c64c) = -2
SYS_open(0xbfccc580, 0, 0, 1, 0xbfccc8d3)        = -2
SYS_open(0xbfccc580, 0, 0, 2, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 3, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 4, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 5, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 6, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 7, -1)                = -2
SYS_open(0xbfccc580, 0, 0, 8, -1)                = -2
SYS_open(0x4001940b, 0, 0x4001bff4, -1, 0xbfccc8d3) = 3
SYS_fstat64(3, 0xbfccc568, 0x4001bff4, -1, 3)    = 0
SYS_mmap2(0, 7218, 1, 2, 3)                      = 0x4001e000
SYS_close(3, 7218, 0x4001bff4, 0x4001e000, 3)    = 0
SYS_open(0x4001f602, 0, 7218, 0x4001c848, 0xbfccc8d3) = 3
SYS_read(3, 0xbfccc6c8, 512, 0x4001c848, 0xbfccc8d3) = 512
SYS_fstat64(3, 0xbfccc5d4, 0x4001bff4, 3, 1)     = 0
SYS_mmap2(0, 151680, 5, 2050, 3)                 = 0x40020000
SYS_fadvise64(3, 0, 0, 151680, 3)                = -22
SYS_mmap2(0x40044000, 8192, 3, 2066, 3)          = 0x40044000
SYS_close(3, 0x40044fb0, 0x4001bff4, 0, 0x4001d038) = 0
SYS_open(0xbfccc560, 0, 15, 1, 0xbfccc8b7)       = -2
SYS_open(0xbfccc560, 0, 15, 2, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 3, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 4, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 5, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 6, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 7, -1)               = -2
SYS_open(0xbfccc560, 0, 15, 8, -1)               = -2
SYS_open(0x4001f9f0, 0, 1, 0x4001c848, 0xbfccc8b7) = 3
SYS_read(3, 0xbfccc6ac, 512, 0x4001c848, 0xbfccc8b7) = 512
SYS_fstat64(3, 0xbfccc5b8, 0x4001bff4, 3, 1)     = 0
SYS_mmap2(0, 0x142650, 5, 2050, 3)               = 0x40046000
SYS_fadvise64(3, 0, 0, 0x142650, 3)              = -22
SYS_mmap2(0x40183000, 12288, 3, 2066, 3)         = 0x40183000
SYS_mmap2(0x40186000, 9808, 3, 50, -1)           = 0x40186000
SYS_close(3, 0x40184e44, 0x4001bff4, 0, 0x4001d2c0) = 0
SYS_mmap2(0, 4096, 3, 34, -1)                    = 0x40189000
SYS_set_thread_area(0xbfcccae8, 0x401896c0, 0x4001bff4, 1, 0) = 0
SYS_open(0x40018e8f, 0, 0x401896c0, 0xbfcccaf4, 0x4001c298) = 3
SYS_read(3, 0xbfcccaf4, 4, 0xbfcccaf4, 3)        = 4
SYS_close(3, 0xbfcccaf4, 0x4001bff4, 0xbfcccaf4, 3) = 0
SYS_mprotect(0x40183000, 8192, 1, 0x4001d2c0, 0x4001d2c0) = 0
SYS_mprotect(0x40044000, 4096, 1, 0x4001d038, 0x4001d038) = 0
SYS_mprotect(0x8049000, 4096, 1, 0x4001c660, 0x4001c660) = 0
SYS_mprotect(0x4001b000, 4096, 1, 0x4001c298, 0x4001c298) = 0
SYS_munmap(0x4001e000, 7218, 0x4001bff4, 0, 1)   = 0
__libc_start_main(0x8048774, 1, 0xbfcccd64, 0x8048910, 0x8048900 <unfinished ...>
fopen(0x8048a02, 0x8048a00, 2149, 0x4001d5b8, 0x4001d2c0 <unfinished ...>
SYS_brk(0, 0x40184ff4, 0, 0x40186b10, 135168)    = 0x804b000
SYS_brk(0x806c000, 0x40184ff4, 0x804b000, 0x804b000, 135168) = 0x806c000
SYS_open(0x8048a02, 577, 438, 0x804b008, 4)      = 3
<... fopen resumed> )                            = 0x804b008
fwrite(0xbfccccb3, 13, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_fstat64(3, 0xbfcccac8, 0x40184ff4, 0x804b008, 0x804b008) = 0
SYS_mmap2(0, 4096, 3, 34, -1)                    = 0x4001e000
<... fwrite resumed> )                           = 1
fseek(0x804b008, 0, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_write(3, 0x4001e000, 13, 13, 0x4001e000)     = 13
SYS__llseek(3, 0, 0, 0xbfccca88, 1)              = 0
<... fseek resumed> )                            = 0
fread(0xbfcccc4f, 13, 1, 0x804b008, 0x4001d2c0)  = 0
fclose(0x804b008, 13, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_close(3, 0, 0x40184ff4, 0x804b008, -1)       = 0
SYS_munmap(0x4001e000, 4096, 0x40184ff4, 0x804b008, 0) = 0
<... fclose resumed> )                           = 0
getcwd(0xbfcccc4f, 100, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_getcwd(0xbfcccc4f, 100, 0x40184ff4, 0xbfcccc4f, 100) = 45
<... getcwd resumed> )                           = 0xbfcccc4f
chdir(0x8048a34, 100, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_chdir(0x8048a34, 100, 0x40184ff4, 0x8048910, 0x80486c0) = 0
<... chdir resumed> )                            = 0
symlink(0x8048a02, 0x8048a36, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_symlink(0x8048a02, 0x8048a36, 0x40184ff4, 0x8048910, 0x80486c0) = 0
<... symlink resumed> )                          = 0
remove(0x8048a36, 0x8048a36, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_unlink(0x8048a36, 0x8048a36, 0x40184ff4, 0x8048a36, 0x80486c0) = 0
<... remove resumed> )                           = 0
rename(0x8048a02, 0x8048a48, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_rename(0x8048a02, 0x8048a48, 0x40184ff4, 0x8048910, 0x80486c0) = 0
<... rename resumed> )                           = 0
__xstat(3, 0x8048a02, 0xbfcccbf4, 0x40184ff4, 0xbfccccc8 <unfinished ...>
SYS_stat64(0x8048a02, 0xbfcccb54, 0x40184ff4, 0xbfcccb54, 0x80486c0) = -2
<... __xstat resumed> )                          = -1
access(0x8048a02, 4, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_access(0x8048a02, 4, 0x40184ff4, 0x8048910, 0x80486c0) = -2
<... access resumed> )                           = -1
remove(0x8048a48, 4, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_unlink(0x8048a48, 0x40189688, 0x40184ff4, 0x8048a48, 0x80486c0) = 0
<... remove resumed> )                           = 0
mkdir(0x8048a5a, 511, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_mkdir(0x8048a5a, 511, 0x40184ff4, 0x8048910, 0x80486c0) = 0
<... mkdir resumed> )                            = 0
rmdir(0x8048a5a, 511, 1, 0x804b008, 0x4001d2c0 <unfinished ...>
SYS_rmdir(0x8048a5a, 511, 0x40184ff4, 0x8048910, 0x80486c0) = 0
<... rmdir resumed> )                            = 0
SYS_exit_group(0, 20, 0, 0, 0x4018325c <no return ...>
+++ exited (status 0) +++


testsuite/ltrace.main/main-internal.ltrace

__libc_start_main(0x8048404, 1, 0xbf901994, 0x8048470, 0x8048460 <unfinished ...>
puts(0x8048520, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4) = 44
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
display(0x804854c, 0x8049ff4, 0xbf9018e8, 0x804830c, 0x40184ff4 <unfinished ...>
puts(0x804854c, 0x8048350, 0xbf9018f8, 0x8048436, 0x804854c) = 33
<... display resumed> )                          = 33
+++ exited (status 33) +++


testsuite/ltrace.main/main.ltrace

print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 0) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 1) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 2) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 3) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 4) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 5) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 6) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 7) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 8) = 23
print(0x80485e0, 0x8049ff4, 0xbfe5ce78, 0x8048549, 9) = 23
+++ exited (status 0) +++


testsuite/ltrace.main/parameters.ltrace

func_intptr(17)                                  = <void>
func_intptr_ret(42)                              = <void>
func_strlen("Hello world")                       = 11
func_strfixed("Hell")                            = <void>
func_ppp(80)                                     = <void>
func_stringp("Dude")                             = <void>
func_enum(BLUE)                                  = <void>
func_short(-8, -9)                               = <void>
func_ushort(33, 34)                              = <void>
func_float(3.400000, -3.400000)                  = <void>
func_typedef(BLUE)                               = <void>
func_arrayi([ 10, 11, 12, 13... ], )             = <void>
func_arrayi([ 10, 11 ], )                        = <void>
func_arrayf([ 10.100000, 11.100000, 12.100000, 13.100000... ], ) = <void>
func_arrayf([ 10.100000, 11.100000 ], )          = <void>
func_struct({ 89, 2, 3, [ { 1, 10 }, { 3, 30 } ], [ { 4, 40 }, { 5, 50 }, { 6, 60 } ], "123" }) = <void>
+++ exited (status 0) +++


testsuite/ltrace.torture/signals.ltrace

--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
--- SIGUSR1 (User defined signal 1) ---
+++ exited (status 0) +++


testsuite/ltrace.minor/trace-exec.ltrace

Hello, World.
__libc_start_main(0x8048444, 2, 0xbfeaf784, 0x8048490, 0x8048480 <unfinished ...>
execl(0xbfeb12dc, 0xbfeb12dc, 0, 0x80484a9, 0x4000dff0 <unfinished ...>
__libc_start_main(0x8048404, 1, 0xbfeaf794, 0x8048440, 0x8048430 <unfinished ...>
puts(0x80484f0, 0xbfeaf710, 0xbfeaf768, 0x4005c5f5, 0x8048440) = 14
+++ exited (status 0) +++


testsuite/ltrace.minor/print-instruction-pointer.ltrace

[0x8048381] __libc_start_main(0x8048414, 1, 0xbfa23a94, 0x8048480, 0x8048470 <unfinished ...>
[0x804843f] printf(0x8048530, 0, 0xbfa239e8, 0x8048310, 0x40184ff4) = 2
[0x8048459] printf(0x8048530, 1, 0xbfa239e8, 0x8048310, 0x40184ff4) = 2
[0xffffffff] +++ exited (status 0) +++


testsuite/ltrace.minor/time-record-T.ltrace

__libc_start_main(0x8048444, 1, 0xbfa6caf4, 0x80484a0, 0x8048490 <unfinished ...>
sleep(2, 0x8049ff4, 0xbfa6ca48, 0x8048330, 0x40184ff4) = 0 <2.004953>
nanosleep(0xbfa6ca4c, 0, 0xbfa6ca48, 0x8048330, 0x40184ff4) = 0 <0.055805>
+++ exited (status 0) +++


testsuite/ltrace.minor/count-record.ltrace

% time     seconds  usecs/call     calls      function
------ ----------- ----------- --------- --------------------
 15.76    0.000232         232         1 fopen
 15.56    0.000229         114         2 remove
  9.24    0.000136         136         1 fclose
  9.24    0.000136         136         1 fseek
  7.13    0.000105         105         1 rmdir
  6.45    0.000095          95         1 fwrite
  6.39    0.000094          94         1 rename
  5.91    0.000087          87         1 symlink
  5.77    0.000085          85         1 mkdir
  4.21    0.000062          62         1 getcwd
  4.08    0.000060          60         1 __xstat
  4.01    0.000059          59         1 access
  3.87    0.000057          57         1 chdir
  2.38    0.000035          35         1 fread
------ ----------- ----------- --------- --------------------
100.00    0.001472                    15 total


testsuite/ltrace.minor/trace-clone.ltrace

__libc_start_main(0x80484bd, 1, 0xbfa73b64, 0x8048540, 0x8048530 <unfinished ...>
clone(0x80484a4, 0x804a040, 512, 0, 0x40184ff4Cannot attach to pid 10091: Operation not permitted
)  = 10091
+++ exited (status 0) +++


testsuite/ltrace.minor/time-record-tt.ltrace

20:42:52.857338 __libc_start_main(0x8048444, 1, 0xbfc7e504, 0x80484a0, 0x8048490 <unfinished ...>
20:42:52.857529 sleep(2, 0x8049ff4, 0xbfc7e458, 0x8048330, 0x40184ff4) = 0
20:42:54.860420 nanosleep(0xbfc7e45c, 0, 0xbfc7e458, 0x8048330, 0x40184ff4) = 0
20:42:54.916505 +++ exited (status 0) +++


testsuite/ltrace.minor/time-record-ttt.ltrace

1212784975.360165 __libc_start_main(0x8048444, 1, 0xbf9a0224, 0x80484a0, 0x8048490 <unfinished ...>
1212784975.360297 sleep(2, 0x8049ff4, 0xbf9a0178, 0x8048330, 0x40184ff4) = 0
1212784977.365924 nanosleep(0xbf9a017c, 0, 0xbf9a0178, 0x8048330, 0x40184ff4) = 0
1212784977.422040 +++ exited (status 0) +++


testsuite/ltrace.minor/trace-fork.ltrace

Fork Child
My child pid is 10692
__libc_start_main(0x80484f4, 1, 0xbf871964, 0x8048570, 0x8048560 <unfinished ...>
fork(0x40184ff4, 0x8049ff4, 0xbf8718b8, 0x804839c, 0x40184ff4) = 10692
[pid 10691] printf(0x8048638, 10692, 0xbf8718b8, 0x804839c, 0x40184ff4) = 22
[pid 10691] wait(0x8048638, 10692, 0xbf8718b8, 0x804839c, 0x40184ff4 <unfinished ...>
[pid 10692] --- SIGSTOP (Stopped (signal)) ---
[pid 10692] --- SIGSTOP (Stopped (signal)) ---
[pid 10692] +++ exited (status 0) +++
--- SIGCHLD (Child exited) ---
<... wait resumed> )                             = -1
+++ exited (status 0) +++


testsuite/ltrace.minor/attach-process.ltrace

5980 --- SIGSTOP (Stopped (signal)) ---
5980 --- SIGSTOP (Stopped (signal)) ---
5980 SYS_restart_syscall(0xbf90e134, 0xbf90e134, 0x40184ff4, 0xbf90e134, 0xbf90e134) = 0
5980 SYS_rt_sigprocmask(0, 0xbf90e0b4, 0xbf90e034, 8, 0x40184ff4) = 0
5980 SYS_rt_sigaction(17, 0, 0xbf90de5c, 8, 0x40184ff4) = 0
5980 SYS_rt_sigprocmask(2, 0xbf90e034, 0, 8, 0x40184ff4) = 0
5980 SYS_nanosleep(0xbf90e134, 0xbf90e134, 0x40184ff4, 0xbf90e134, 0xbf90e134) = 0
5980 SYS_exit_group(0, 20, 0, 0, 0x4018325c <no return ...>
5980 +++ exited (status 0) +++


testsuite/ltrace.minor/demangle.ltrace


