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

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -