From: Daniel Jacobowitz <drow@false.org>
To: Fabian Cenedese <Cenedese@indel.ch>
Cc: gdb@sourceware.org
Subject: Re: Improving GDB for multicore and embedded system!
Date: Fri, 02 Mar 2007 14:31:00 -0000 [thread overview]
Message-ID: <20070302143106.GA32103@caradoc.them.org> (raw)
In-Reply-To: <5.2.0.9.1.20070302150910.01904440@NT_SERVER>
On Fri, Mar 02, 2007 at 03:20:43PM +0100, Fabian Cenedese wrote:
> We can stop any number of threads while the others continue to run
> (well, the comm-thread needs to run always or it's rather dull to watch :)
> I have once tried to map this onto the threads of gdb. That worked
> in so far, that I could get the info about all the threads. But as soon
> one was stopped gdb assumed that all we're stopped. So no refreshes
> anymore, wrong variable contents etc.
Yes, this is an entirely different embedded debugging problem.
> The other solution with one instance of gdb for every thread wasn't
> very liable either. The biggest images including debug info can be
> in the dozens of MB. After gdb has loaded such an image the
> memory consumption was in the range of 200MB. Multiply this
> with one or two dozen threads and you can imagine how long
> it would take to start debugging, not even speaking of the
> memory consumption...
The expedient hack would be to load the debugging image once, and then
fork off separate GDBs to control each target. I don't know how much
trouble that would be to get to work.
> So I still follow the gdb list here and we would very welcome
> any improvements in this area (I know, gdb is open source, we
> could do it ourselves etc. Unfortunately neither manpower nor
> knowledge)
Yes. Unfortunately, I have neither the time nor the urgent need, so
I'm not going to do it either :-) I'll just keep hoping.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-03-02 14:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 16:39 Dominique Toupin (QA/EMC)
2007-03-01 17:00 ` Dominique Toupin (QA/EMC)
2007-03-01 17:08 ` Dominique Toupin (QA/EMC)
2007-03-02 9:09 ` Denis PILAT
2007-03-02 10:04 ` Dominique Toupin (QA/EMC)
2007-03-02 13:54 ` Daniel Jacobowitz
2007-03-02 14:21 ` Fabian Cenedese
2007-03-02 14:31 ` Daniel Jacobowitz [this message]
2007-03-02 15:04 ` Ramana Radhakrishnan
2007-03-02 15:22 ` Paul Koning
2007-03-05 16:51 ` Ulrich Weigand
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=20070302143106.GA32103@caradoc.them.org \
--to=drow@false.org \
--cc=Cenedese@indel.ch \
--cc=gdb@sourceware.org \
/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