From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14821 invoked by alias); 16 Dec 2003 23:56:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14813 invoked from network); 16 Dec 2003 23:56:34 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 16 Dec 2003 23:56:34 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hBGNuXh14966 for ; Tue, 16 Dec 2003 18:56:33 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hBGNuWr04757; Tue, 16 Dec 2003 18:56:32 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id hBGNuVO17926; Tue, 16 Dec 2003 15:56:31 -0800 Message-ID: <3FDF9BAF.6050908@redhat.com> Date: Tue, 16 Dec 2003 23:56:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 MIME-Version: 1.0 To: "Dhananjay R. Deshpande" CC: Andrew Cagney , Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: H8300 Patch - Fix GDB crash problem when object file of different H8 cpu is loaded References: <69595093233BB547BB70CF5E492B63F20324F103@sohm.kpit.com> In-Reply-To: <69595093233BB547BB70CF5E492B63F20324F103@sohm.kpit.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00398.txt.bz2 Dhananjay R. Deshpande wrote: > Thanks. > > Commited. I'm afraid you need to un-commit it. This breaks gdb. It no longer works with the simulator for h8s, h8h, or h8sx. As I mentioned earlier in this thread, these global variables that you've replaced are shared between gdb and the sim. The sim depends on them. You've split them into essentially gdb's copy and the sim's copy, but now the sim's copy is never getting initialized, becuase it was gdb that initialized the shared ones. That's why they were shared. To complete this job, you need to work out an interface that will allow the sim to get this information from gdb. > > -Dhannajay > > >>-----Original Message----- >>From: Andrew Cagney [mailto:cagney@gnu.org] >>Sent: Wednesday, December 10, 2003 10:41 PM >>To: Dhananjay R. Deshpande; Michael Snyder >>Cc: Andrew Cagney; gdb-patches@sources.redhat.com >>Subject: Re: H8300 Patch - Fix GDB crash problem when object file of >>different H8 cpu is loaded >> >> >> >>>Hi, >>> >>>If you can, please check in the patch. My CVS access >> >>problem is not yet solved. I had put a request to update my >>public key to overseers but its not done. >>http://sources.redhat.com/ml/overseers/2003-q4/msg00240.html >> >>Michael, can you please handle this. >> >>Andrew >> >> > > >