This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: H8300 Patch - Fix GDB crash problem when object file of differentH8 cpu is loaded
- From: Michael Snyder <msnyder at redhat dot com>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: Andrew Cagney <cagney at gnu dot org>, Andrew Cagney <ac131313 at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 16 Dec 2003 15:56:31 -0800
- Subject: Re: H8300 Patch - Fix GDB crash problem when object file of differentH8 cpu is loaded
- Organization: Red Hat, Inc.
- References: <69595093233BB547BB70CF5E492B63F20324F103@sohm.kpit.com>
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