This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: remote gdb debug and disassemble
- From: Mark Salter <msalter at redhat dot com>
- To: h dot schurig at mn-logistik dot de
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 21 Aug 2002 13:20:54 -0400
- Subject: Re: [ECOS] remote gdb debug and disassemble
- References: <200208211838.28208.h.schurig@mn-logistik.de>
>>>>> 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