c - gdb disassemble by line number -


say want disassemble lines m-n of file x, file x not in current context. operation possible, , if so, how? note: working on x86 linux.

here's kludgy way it: set breakpoint on line you're interested in, , breakpoint acknowledgement gives address. clear breakpoint , run disas or x/20i on address.


Comments

Popular posts from this blog

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -