[ECOS] remote gdb debug and disassemble

Mark Salter msalter@redhat.com
Wed Aug 21 10:20:00 GMT 2002


>>>>> Holger Schurig writes:

> Hi !
> When I connect with gdb to my remote target, I do it like this:

>   $ arm-linux-gdb
>   (gdb) target remote ramses:2001
>   0xc0021ad4 in ?? ()

> Is there any way to disassemble from here?

>   (gdb) disassemble 0xc0021ad4
>   No function contains specified address.

GDB tries to find the enclosing function so that it has limits for the
disassembly. So, just give GDB what it wants in a different way:

   (gdb) disassemble 0xc0021ad4 0xc0021b00
                                ^^^^^^^^^^ or whatever

--Mark


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list