From: Roland Schwingel <roland@onevision.com>
To: insight@sourceware.org, Gene Smith <gds@chartertn.net>
Subject: Re: mingw versions working
Date: Fri, 01 Jun 2012 08:18:00 -0000 [thread overview]
Message-ID: <4FC87ABC.3080907@onevision.com> (raw)
Hi Gene,
> I also rebuilt a previous version I made for fedora that used an
> insight
> snapshot from 2011 but without the tcl/tk/itcl, but using the system
> versions. It also used the gdb files (except gdbtk which are still
> insight's own) from Codesourcery. This almost works on windows (now
> using bundled tcl/tk/itcl) but I can't set breakpoints with the
> mouse.
It might that the gdbtk code you are using is not matching the
breakpoint handling code in the underlying Codesourcery gdb.
> However, this mingw version containing codesourcery's gdb
> (version 7.2)
> still has one advantage over the the pure insight described in first
> paragraph: when an ISR is entered the stack display shows the
> task level
> context that the ISR was called from like this:
>
> main()
> fn1()
> fun2()
> <signal handler called>
> myIsr()
> isrSub()
>
> The linux build also shows the this same stack/backtrace display
> (also can set bp's with mouse in linux version).
> But the "pure" insight
> version stack display will look something like this:
>
> ??
> ??
> myIsr()
> isrSub()
>
> I have looked around but don't see this listed anywhere as
> an improved feature in gdb or codesourcery's version of
> gdb. But I find it useful and wonder what it would take
> to add this to the pure insight version?
I don't believe (from my stomach) that the problem here comes
from insight itself. Stack unwinding is done using gdb's
facilities. Have you tried a commandline mingw gdb
(built from the very same code base) and did you issue a
"bt" command there. Do you see than a correct stack dump?
Or have you tried doing a "bt" in insight's console? Is
the stackdump there correct than?
Roland
next reply other threads:[~2012-06-01 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 8:18 Roland Schwingel [this message]
2012-06-01 14:45 ` gds
-- strict thread matches above, loose matches on Subject: below --
2012-06-01 5:08 Gene Smith
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=4FC87ABC.3080907@onevision.com \
--to=roland@onevision.com \
--cc=gds@chartertn.net \
--cc=insight@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).