howto disassemble without debug information

Michael Eager eager@eagercon.com
Mon Sep 25 16:21:00 GMT 2006


Marco Cavallini wrote:
>>> Using my arm-elf-gdb ver.6.5.20
>>> However if  I do
>>> (gdb) x/10i 0x0
>>> I can see the ARM disassembled code, but my question is:
>>> can insight/gdb manage assembler code, allowing to set breakpoints if 
>>> I have no debug information ?
>>
>> Read the GDB documentation or do "help break".
>>
>> You can set a breakpoint at any location:
>> break *0x00000000
>>
> 
> Sorry for the misunderstanding.
> Seems hard to explain what I want to do, but every commercial debugging 
> software I tested has this feature and I'm wondering if insight/gdb can 
> do the same.
> I actually need trace the execution step-by-stp of assembler code 
> without debug info, is it possible and how ?
> I don't care about breakpoints at the moment it was only an example.
> The best I've done until now is to show the disassembled of binary code 
> with : (gdb) x/10i 0x0

Read the GDB documentation or do "help stepi".

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Insight mailing list