howto disassemble without debug information

Marco Cavallini arm.linux@koansoftware.com
Mon Sep 25 08:37:00 GMT 2006


>  >> If I do from Insight console:
>  >> (gdb) disassemble 0x00000000
>  >> Error: No function contains specified address.
>  >>
>  > Have you tried to put a range of address.
>  > Usually when only one address is in parameter, gdb looks for the
>  > function that contains it.
>  >
> 
> Hi Denis,
> thank you for answering.
> Actally I have no functions available but only binary code on my target 
> board. I have not debug information, so I wonder how could insight/gdb 
> look for a function using its address.
> 

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 ?

TIA
/marco



More information about the Insight mailing list