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: Andrew Cagney <cagney at gnu dot org>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: Andrew Cagney <ac131313 at redhat dot com>,Michael Snyder <msnyder at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 02 Dec 2003 23:24:37 -0500
- Subject: Re: H8300 Patch - Fix GDB crash problem when object file of differentH8 cpu is loaded
- References: <69595093233BB547BB70CF5E492B63F202FBCD71@sohm.kpit.com>
Hi Andrew,
so that the "current_gdbarch" is passed explicitly as a
parameter making
the call:
is_h8300smode (current_gdbarch)
Done.
I also made these functions static and for remote-e7000, used TARGET_ARCHITECTURE->mach for NUM_REALREGS.
Based on your email, I have applied for cvs account and put your email address for approval.
Please find updated patch below.
Thanks.
Andrew