From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13842 invoked by alias); 10 Oct 2002 16:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13809 invoked by uid 71); 10 Oct 2002 16:06:01 -0000 Resent-Date: 10 Oct 2002 16:06:01 -0000 Resent-Message-ID: <20021010160601.13808.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, miwako.tokugawa@intel.com Received: (qmail 11862 invoked by uid 61); 10 Oct 2002 16:03:26 -0000 Message-Id: <20021010160326.11861.qmail@sources.redhat.com> Date: Thu, 10 Oct 2002 09:06:00 -0000 From: miwako.tokugawa@intel.com Reply-To: miwako.tokugawa@intel.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: debug/8187: gdb (Linux/Itanium) does not handle long double X-SW-Source: 2002-10/txt/msg00373.txt.bz2 List-Id: >Number: 8187 >Category: debug >Synopsis: gdb (Linux/Itanium) does not handle long double >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Oct 10 09:06:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: miwako.tokugawa@intel.com >Release: unknown-1.0 >Organization: >Environment: linux & Itanium >Description: GDB is not able to show long double data on IA64 at all (problem is absent on IA32): (gdb) b 41 Breakpoint 1 at 0x40000000000027c1: file all_types.c, line 41. (gdb) r Starting program: /home/sana/test/gdbC/opt_none_debug_64/all_types.exe Breakpoint 1, fp_params (fp1=47.9700012, dbl1=123456789.98765433, ldbl1=Can't deal with a floating point number of 16 bytes. ) at all_types.c:41 41 fresult = fp1 + dbl1 + ldbl1 + lfp1; (gdb) whatis ldbl1 type = long double (gdb) p ldbl1 $1 = Can't deal with a floating point number of 16 bytes. (gdb) Debug information for ldbl1 is: s <1><16d7>: Abbrev Number: 6 (DW_TAG_base_type) DW_AT_byte_size : 16 DW_AT_bit_size : 80 DW_AT_bit_offset : 0 DW_AT_encoding : 4 (float) DW_AT_name : long double <2><18f8>: Abbrev Number: 5 (DW_TAG_variable) DW_AT_decl_line : 70 DW_AT_decl_column : 16 DW_AT_decl_file : 1 DW_AT_accessibility: 1 (public) DW_AT_name : ldbl1 DW_AT_type : <16d7> DW_AT_location : 3 byte block: 92 c 10 (DW_OP_bregx: 12 16) DW_AT_external : 0 One thing is that gcc can't compile this test.. still I think this needs to be supported in gdb. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: