From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12031 invoked by alias); 22 Aug 2005 10:14:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11982 invoked by uid 22791); 22 Aug 2005 10:14:15 -0000 Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 22 Aug 2005 10:14:15 +0000 Received: from sd0112e0.au.ibm.com (d23rh903.au.ibm.com [202.81.18.201]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j7MAGaIV291728 for ; Mon, 22 Aug 2005 20:16:43 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0112e0.au.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7MA8hNP188298 for ; Mon, 22 Aug 2005 20:13:40 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11/8.13.3) with ESMTP id j7M9q5vg031892 for ; Mon, 22 Aug 2005 19:52:06 +1000 Received: from [9.181.133.252] ([9.181.133.252]) by d23av03.au.ibm.com (8.12.11/8.12.11) with ESMTP id j7M9q3Ir031845; Mon, 22 Aug 2005 19:52:04 +1000 Date: Mon, 22 Aug 2005 10:14:00 -0000 From: Wu Zhou X-X-Sender: woodzltc@linux.site To: gdb@sources.redhat.com, fortran@gcc.gnu.org Subject: [GDB & Fortran] Anyone has success experience with printing the result of Fortran function calls? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-08/txt/msg00075.txt.bz2 I just found a problem while using gdb to debug fortran program: gdb will drop into SEGV error while trying to print the result of a function call. I had tried the same test on FC4, SLES9, FC2 and RH9, all reported the same error. Anyone has success experience with this? If you do, please tell me the configuration. Thanks a buch for that in advance! Maybe I need to try more ancient configuration? Regards - Wu Zhou