This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Patch to fix the SEGV error when printing f77 array element
- From: Daniel Jacobowitz <drow at false dot org>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 9 Jun 2005 09:20:02 -0400
- Subject: Re: [RFA]: Patch to fix the SEGV error when printing f77 array element
- References: <Pine.LNX.4.63.0506091750410.27702@plinuxt18.cn.ibm.com>
On Thu, Jun 09, 2005 at 06:02:03PM +0800, Wu Zhou wrote:
> Daniel,
>
> I had cleaned up the patch to fix the SEGV error we discussed on gdb@ the
> days before and tested it on ppc64 arch with the latest CVS tree. It
> works ok. Please review and comment. Thanks.
Can you handle TYPE_CODE_PTR before the switch statement, instead?
Also, rather than default, you can probably check that the target type
of the pointer is TYPE_CODE_FUNC.
Do you feel up to adding our first compilable fortran test to the
testsuite?
--
Daniel Jacobowitz
CodeSourcery, LLC