From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8152 invoked by alias); 9 Mar 2006 16:19:17 -0000 Received: (qmail 8131 invoked by uid 22791); 9 Mar 2006 16:19:16 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Mar 2006 16:19:15 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k29GJB9l000543; Thu, 9 Mar 2006 11:19:11 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k29GJB132296; Thu, 9 Mar 2006 11:19:11 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k29GJ951030854; Thu, 9 Mar 2006 11:19:09 -0500 Message-ID: <4410557C.8000806@redhat.com> Date: Thu, 09 Mar 2006 16:19:00 -0000 From: Keith Seitz User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Wilfried Fauvel CC: insight Subject: Re: Memory window problems References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00057.txt.bz2 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