~ 00010111.01100001 ~
SCtest2.s
SCtest2.o
SCtest2.exe
SCtest2.0.s
SCtest2.0.o
SCtest2.0
gdb -q sctest2.0
Reading symbols from sctest2.0...done.
(gdb) break *end
Breakpoint 1 at 0x8048098: file sctest2.0.s, line 19.
(gdb) run
Starting program: /home/renzo/sctest2.0
Breakpoint 1, end () at sctest2.0.s:19
19 movl $1, %eax
(gdb) x &uid
0x80490a8
(gdb) x/d &uid
0x80490a8
(gdb) x/d &pid
0x80490a4
(gdb) x/d &gid
0x80490ac
(gdb) q
A debugging session is active.
Inferior 1 [process 1802] will be killed.
Quit anyway? (y or n) y
id
uid=1000(renzo) gid=1000(renzo) gruppi=1000(renzo),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),118(lpadmin),126(sambashare)