|
From: Christian P. <tr...@ge...> - 2005-08-19 22:55:11
|
On Friday 19 August 2005 15:15, John Reiser wrote: > > please tell me *HOW* to disassemble instructions > > (gdb) x/i <address> # see "help data": x/FMT ADDR 'i'=3D=3D>instruction > > If you don't have a running program, or the address, handy, > then create one: > > $ cat foo.S > .byte 0xF0,0xF,0xC7,0xE,0,0,0,0,0,0,0,0 > $ gcc -c foo.S > $ gdb foo.o > (gdb) x/i 0 > 0x0: lock cmpxchg8b (%esi) Yeah, that's what I have been looking for. Thx. (As I don't seem to get the specs somehow) Regards, Christian Parpart. =2D-=20 00:53:40 up 149 days, 14:01, 5 users, load average: 0.48, 0.37, 0.34 |