-3
這是什麼彙編語言?這是什麼彙編語言?
(gdb) disass bar
Dump of assembler code for function bar:
0x08048374 <bar+0>: push %ebp
0x08048375 <bar+1>: mov %esp,%ebp
0x08048377 <bar+3>: sub $0x10,%esp
0x0804837a <bar+6>: mov 0x8(%ebp),%eax
0x0804837d <bar+9>: add $0x1,%eax
0x08048380 <bar+12>: mov %eax,-0x4(%ebp)
0x08048383 <bar+15>: mov -0x4(%ebp),%eax
0x08048386 <bar+18>: leave
0x08048387 <bar+19>: ret
End of assembler dump.
(gdb)
如果你可以在上面運行GDB,爲什麼你不能運行'file'並讓系統告訴你? – 2013-03-10 01:39:39