public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: debug/1621: Debugging with complex numbers
Date: Wed, 11 Dec 2002 17:26:00 -0000	[thread overview]
Message-ID: <20021212012602.23447.qmail@sources.redhat.com> (raw)

The following reply was made to PR debug/1621; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@mvista.com>
To: Jim Wilson <wilson@redhat.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: Wed, 11 Dec 2002 20:22:45 -0500

 On Wed, Dec 11, 2002 at 07:05:47PM -0500, Jim Wilson wrote:
 > About the $imag, $real stuff in the gcc/doc/extend.texi file...
 > The part about "None of the supported debug info formats..." is obsolete.
 > DWARF2 location descriptions can handle this easily, and this is already
 > supported in dwarf2out.c.  Perhaps also DWARF, but I don't care enough to look
 > it up.  The stabs hack of emitting two foo$imag and foo$real symbols is ugly
 > and should be discouraged.  I don't think it makes any sense to teach gdb
 > about this hack.  We should instead encourage use of DWARF2, which we are
 > already doing.
 
 I agree.
 
 > I tried writing a patch to make gcc use the Solaris 'R' stab letter extension.
 > 
 > This brings up a number of questions.  Sun only defined 3 float and 3 complex
 > float types.  However, we have 7 float types and 6 complex float types.  (They
 > should be the same, but that is a different problem.)  Do we extend the
 > Solaris extension to meet our needs?  Or fall back on the problematic 'r'
 > letter when we can't use 'R'?  Extending 'R' might make us incompatible with
 > Sun if in the future Sun extends it too, so trying to discuss it with Sun is
 > a good idea.  Or perhaps invent our own similar extension that won't conflict
 > with Sun?
 
 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.
 
 I recommend emitting just the generic NF_COMPLEX and NF_FLOATING (?)
 for any of the unknown types.  GDB only uses the type to determine if
 it is a floating or complex type, so that will suffice.
 
 -- 
 Daniel Jacobowitz
 MontaVista Software                         Debian GNU/Linux Developer


             reply	other threads:[~2002-12-12  1:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 17:26 Daniel Jacobowitz [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-12  7:56 Jim Wilson
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=20021212012602.23447.qmail@sources.redhat.com \
    --to=drow@mvista.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: link
Be 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).