This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MI] Stepping through disassembly without file:line info


Greetings!

To get assembler code, -data-disassemble needs either file:line
information or start/end address.

Given that for most library functions (like malloc or printf) debug info
is usually unavailable, what shall I do to show full disassembly code
for such function using MI command?

With CLI it is as simple as `disassemble printf`.

I'm mostly interested how existing IDEs handle this.
-- 
Happy Hacking.

http://sphinx.net.ru
ã


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]