From: Andrew Cagney <ac131313@ges.redhat.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Provide a default ``info float''
Date: Thu, 15 Aug 2002 17:02:00 -0000 [thread overview]
Message-ID: <3D5C412E.6030805@ges.redhat.com> (raw)
In-Reply-To: <3D5C3CC3.4070805@ges.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
> 2002-08-10 Andrew Cagney <ac131313@redhat.com>
>
> * gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
> Add `args' parameter.
> * gdbarch.h, gdbarch.c: Regenerate.
>
> * arm-tdep.c (arm_print_float_info): Add the parameter `args'.
>
> * infcmd.c (float_info): Call print_float_info.
> (print_float_info): New function. By default, print the
> floating-point registers.
>
> * arch-utils.h (default_print_float_info): Delete declaration.
> * arch-utils.c (default_print_float_info): Delete function.
>
> I've checked this in.
Followed quickly by ...
enjoy,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1299 bytes --]
2002-08-15 Andrew Cagney <ac131313@redhat.com>
* i387-tdep.h (i387_print_float_info): Add `args' parameter.
* i387-tdep.c (i387_print_float_info): Add `args' parameter.
Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.20
diff -u -r1.20 i387-tdep.c
--- i387-tdep.c 15 Aug 2002 23:06:54 -0000 1.20
+++ i387-tdep.c 16 Aug 2002 00:01:04 -0000
@@ -318,7 +318,7 @@
void
i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
- struct frame_info *frame)
+ struct frame_info *frame, const char *args)
{
unsigned int fctrl;
unsigned int fstat;
Index: i387-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.h,v
retrieving revision 1.2
diff -u -r1.2 i387-tdep.h
--- i387-tdep.h 15 Aug 2002 17:36:57 -0000 1.2
+++ i387-tdep.h 16 Aug 2002 00:01:04 -0000
@@ -25,7 +25,8 @@
extern void i387_print_float_info (struct gdbarch *gdbarch,
struct ui_file *file,
- struct frame_info *frame);
+ struct frame_info *frame,
+ const char *args);
/* Fill register REGNUM in GDB's register array with the appropriate
value from *FSAVE. This function masks off any of the reserved
prev parent reply other threads:[~2002-08-16 0:02 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
2002-08-15 16:44 ` Andrew Cagney
2002-08-15 17:02 ` Andrew Cagney [this message]
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=3D5C412E.6030805@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.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