This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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]

Re: remote gdb debug and disassemble


>>>>> 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


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