Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Provide a default ``info float''
Date: Mon, 12 Aug 2002 11:55:00 -0000	[thread overview]
Message-ID: <3D58049E.4050205@ges.redhat.com> (raw)
In-Reply-To: <1020812163048.ZM32206@localhost.localdomain>

> On Aug 10,  3:09pm, Andrew Cagney wrote:
> 
> 
>> It has always struck me as weird that GDB would report:
>> 
>> 	(gdb) info float
>> 	No floating point info available for this processor.
>> 
>> when debugging platforms that I knew had floating-point registers (PPC, 
>> ...).
>> 
>> This patch modifies the ``info float'' command so that, if there is no 
>> architecture specific code, it at least prints the floating-point registers.
> 
> 
> What does it do when there truly are no floating point registers?
> 
> (I think I remember seeing some complaints in the past regarding the
> fact that fp registers were being displayed even though the processor
> being used had no fp registers.  Personally, this never bothered me,
> but clearly it bothers some folks.)

It prints [dig dig]

+ 
fprintf_filtered (file, "\
+No floating-point info available for this processor.\n");

Andrew



  reply	other threads:[~2002-08-12 18:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-10 12:09 Andrew Cagney
2002-08-12  9:30 ` Kevin Buettner
2002-08-12 11:55   ` Andrew Cagney [this message]
2002-08-15 16:44 ` Andrew Cagney
2002-08-15 17:02   ` Andrew Cagney

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=3D58049E.4050205@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    /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