Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "J. Johnston" <jjohnstn@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA]: fix for sizeof operator for ia64
Date: Tue, 10 Jun 2003 21:40:00 -0000	[thread overview]
Message-ID: <3EE65046.8020208@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

The attached patch fixes the number of bits for a ia64 long double.
This fixes the sizeof.exp testcase in gdb.base.

Ok to commit?

-- Jeff J.

2003-06-10  Jeff Johnston  <jjohnstn@redhat.com>

	* ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.


[-- Attachment #2: ia64-tdep.patch --]
[-- Type: text/plain, Size: 644 bytes --]

Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.83
diff -u -p -r1.83 ia64-tdep.c
--- ia64-tdep.c	9 Jun 2003 17:35:57 -0000	1.83
+++ ia64-tdep.c	10 Jun 2003 21:19:07 -0000
@@ -2243,7 +2243,7 @@ ia64_gdbarch_init (struct gdbarch_info i
   set_gdbarch_long_long_bit (gdbarch, 64);
   set_gdbarch_float_bit (gdbarch, 32);
   set_gdbarch_double_bit (gdbarch, 64);
-  set_gdbarch_long_double_bit (gdbarch, 64);
+  set_gdbarch_long_double_bit (gdbarch, 128);
   set_gdbarch_ptr_bit (gdbarch, 64);
 
   set_gdbarch_num_regs (gdbarch, ia64_num_regs);

             reply	other threads:[~2003-06-10 21:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10 21:40 J. Johnston [this message]
2003-06-11 19:05 ` Mark Kettenis
2003-06-11 21:30 ` Kevin Buettner
2003-06-11 22:05   ` J. Johnston

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=3EE65046.8020208@redhat.com \
    --to=jjohnstn@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