From: 'Daniel Jacobowitz' <drow@false.org>
To: Jiju George T <jiju.george@nestgroup.net>
Cc: gdb@sourceware.org
Subject: Re: Problem in using gdb 6.8 to step code in flash
Date: Wed, 14 May 2008 14:49:00 -0000 [thread overview]
Message-ID: <20080514144906.GA1794@caradoc.them.org> (raw)
In-Reply-To: <00eb01c8b5ce$cacb2320$390aa8c0@ashmicro.ashling.com>
On Wed, May 14, 2008 at 03:28:34PM +0100, Jiju George T wrote:
> I am using configure --target=mipsel-linux --host=i686-pc-linux-gnu for
> configuring gdb
>
> I am trying to build a gdb that can both debug linux kernel and some code in
> flash. Is it possible?
Try building a mips-elf GDB with --enable-targets=mips-linux. If you
are using kgdb and the kernel does not support the single step packet,
you will have to use 'set osabi GNU/Linux' when connected to kgdb
(I don't know if you'll need that or not).
> How do these configurations affect the stepping logic?
They don't, you're looking in the wrong file. See mips-linux-tdep.c.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2008-05-14 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 12:49 Jiju George T
2008-05-14 13:08 ` Daniel Jacobowitz
2008-05-14 14:29 ` Jiju George T
2008-05-14 14:49 ` 'Daniel Jacobowitz' [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080514144906.GA1794@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=jiju.george@nestgroup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox