public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* debug/8187: gdb (Linux/Itanium) does not handle long double
@ 2002-10-10 9:06 miwako.tokugawa
0 siblings, 0 replies; 2+ messages in thread
From: miwako.tokugawa @ 2002-10-10 9:06 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: debug/8187: gdb (Linux/Itanium) does not handle long double
@ 2002-10-11 16:31 rth
0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-10-11 16:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, miwako.tokugawa, nobody
Synopsis: gdb (Linux/Itanium) does not handle long double
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Fri Oct 11 16:31:01 2002
State-Changed-Why:
GDB bug, not GCC bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8187
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-11 23:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-10 9:06 debug/8187: gdb (Linux/Itanium) does not handle long double miwako.tokugawa
2002-10-11 16:31 rth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).