From: Keith Seitz <keiths@redhat.com>
To: Wilfried Fauvel <wilfried.fauvel@laposte.net>
Cc: insight <insight@sourceware.org>
Subject: Re: Memory window problems
Date: Thu, 09 Mar 2006 16:19:00 -0000 [thread overview]
Message-ID: <4410557C.8000806@redhat.com> (raw)
In-Reply-To: <IVVAL7$0D5B46BB283A5CFBAD38E1972D328F1B@laposte.net>
Wilfried Fauvel wrote:
>> What version are you using ("show version" in console or "insight -v"
>> from command line)?
>>
>
> $ ./sparc-tsim-elf-insight.exe -v
> GNU gdb 6.4.0.20051202-cvs
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-cygwin --target=sparc-tsim-elf".
Ah, so you aren't really using a cygwin version. You're using a
cygwin-hosted sparc-tsim-elf version.
Can you inspect the memory in gdb? Is it valid or the same as insight? I
recommend doing this from command-line gdb (sparc-tsim-elf-gdb.exe)
using the "x" command (see "help x"). That way if it is still wrong, you
can take a capture of the whole session and send it to the gdb list or
file a bug against gdb. :-)
I really doubt that it is insight causing the problem. Insight has very
little target-specific code. [Remember: insight is the GUI (and tons of
"glue code) for gdb. Gdb still does all the "work".]
There is at least one question (rhetorical) that I ask myself about this
since you are using a non-native target. Alas, I have not used or
thought about embedded/non-native debugging for so long, that I don't
know the answer(s) anymore.
Nonetheless, let's see what GDB thinks is at that memory. If it is
right, I will probably need a testcase (a simple exe so that I don't
have to build the compiler) to reproduce here.
Keith
next prev parent reply other threads:[~2006-03-09 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-09 15:49 Wilfried Fauvel
2006-03-09 16:19 ` Keith Seitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-09 15:01 Wilfried Fauvel
2006-03-09 15:10 ` Keith Seitz
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=4410557C.8000806@redhat.com \
--to=keiths@redhat.com \
--cc=insight@sourceware.org \
--cc=wilfried.fauvel@laposte.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).