public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Jim Wilson <wilson@redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: debug/1621: Debugging with complex numbers Date: Thu, 12 Dec 2002 07:56:00 -0000 [thread overview] Message-ID: <20021212155606.9004.qmail@sources.redhat.com> (raw) The following reply was made to PR debug/1621; it has been noted by GNATS. From: Jim Wilson <wilson@redhat.com> To: Daniel Jacobowitz <drow@mvista.com> Cc: Wolfgang Bangerth <bangerth@ticam.utexas.edu>, "Joseph S. Myers" <jsm28@cam.ac.uk>, bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: debug/1621: Debugging with complex numbers Date: 12 Dec 2002 10:55:17 -0500 >I recommend emitting just the generic NF_COMPLEX and NF_FLOATING (?) >for any of the unknown types. NF_COMPLEX is supposed to be IEEE single complex. There is no generic value for complex types. However, I do see your point, since we have the type size anyways, we don't really need to distinguish between the different complex types for IEEE FP targets. There is a problem if we want to distinguish between IEEE and non-IEEE FP, in which case the type size is not enough. For instance, most RISC targets use a 128-bit IEEE double-extended type. However, some powerpc targets use a 128-bit non-IEEE IBM pair-of-doubles type. We can distinguish between these two only if we have a special NF_* value for the IBM pair-of-doubles type. Or alternatively, gdb just has to know that some targets use a non-IEEE long double type. This is different problem from the one we are trying to fix though, and can be postponed for now. >First of all, for floating point types we could just continue to use >'r'. It's not problematic in that case. On the other hand consistency >is nice. My patch continues to use 'r' for floating point types for now. I didn't want to break backwards compatibility for other stabs targets. 'R' will presumably only work on the Sun debugger and gdb. It is OK to use 'R' for complex because it is an GNU C extension to ISO C90, so users can't expect old debuggers to handle it correctly. I will modify my patch to use NF_COMPLEX and NF_SINGLE as generic FP type descriptors and add appropriate comments about what we are doing in order to fix GCC PR debug/1621. Jim
next reply other threads:[~2002-12-12 15:56 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-12 7:56 Jim Wilson [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-12-28 10:59 jsm28 2002-12-13 11:26 Joseph S. Myers 2002-12-13 9:32 wilson 2002-12-12 14:16 Jim Wilson 2002-12-12 13:36 Jim Wilson 2002-12-12 11:56 Daniel Jacobowitz 2002-12-11 17:26 Daniel Jacobowitz 2002-12-11 16:16 Jim Wilson 2002-12-09 12:24 bangerth 2002-12-07 17:26 Daniel Jacobowitz 2002-12-05 16:16 Wolfgang Bangerth 2002-12-05 15:26 Joseph S. Myers 2002-12-05 12:09 bangerth 2001-04-01 0:00 Joseph Myers
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021212155606.9004.qmail@sources.redhat.com \ --to=wilson@redhat.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).