Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: d10v sizeof (long long)
@ 2001-12-03 17:41 Jackie Smith Cashion
  2001-12-03 19:30 ` Jim Blandy
  2001-12-03 19:32 ` Jim Blandy
  0 siblings, 2 replies; 4+ messages in thread
From: Jackie Smith Cashion @ 2001-12-03 17:41 UTC (permalink / raw)
  To: GDB Patches

The following patch changes the size of the d10v long long from 4 to 8
to agree with the d10v gcc.


2001-12-03  Jackie Smith Cashion  <jsmith@redhat.com>

	* d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.


*** d10v-tdep.c.orig	Mon Dec  3 18:26:23 2001
--- d10v-tdep.c	Mon Dec  3 18:26:29 2001
*************** d10v_gdbarch_init (struct gdbarch_info i
*** 1524,1530 ****
    set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
    set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
    set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
!   set_gdbarch_long_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
    /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
       double'' is 64 bits. */
    set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
--- 1524,1530 ----
    set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
    set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
    set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
!   set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT);
    /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
       double'' is 64 bits. */
    set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: d10v sizeof (long long)
  2001-12-03 17:41 RFA: d10v sizeof (long long) Jackie Smith Cashion
@ 2001-12-03 19:30 ` Jim Blandy
  2001-12-03 19:32 ` Jim Blandy
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Blandy @ 2001-12-03 19:30 UTC (permalink / raw)
  To: Jackie Smith Cashion; +Cc: GDB Patches


Approved.

Jackie Smith Cashion <jsmith@redhat.com> writes:

> 
> The following patch changes the size of the d10v long long from 4 to 8
> to agree with the d10v gcc.
> 
> 
> 2001-12-03  Jackie Smith Cashion  <jsmith@redhat.com>
> 
> 	* d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.
> 
> 
> *** d10v-tdep.c.orig	Mon Dec  3 18:26:23 2001
> --- d10v-tdep.c	Mon Dec  3 18:26:29 2001
> *************** d10v_gdbarch_init (struct gdbarch_info i
> *** 1524,1530 ****
>     set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> !   set_gdbarch_long_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
>     /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
>        double'' is 64 bits. */
>     set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> --- 1524,1530 ----
>     set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> !   set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT);
>     /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
>        double'' is 64 bits. */
>     set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: d10v sizeof (long long)
  2001-12-03 17:41 RFA: d10v sizeof (long long) Jackie Smith Cashion
  2001-12-03 19:30 ` Jim Blandy
@ 2001-12-03 19:32 ` Jim Blandy
  2001-12-03 19:39   ` Jackie Smith Cashion
  1 sibling, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2001-12-03 19:32 UTC (permalink / raw)
  To: Jackie Smith Cashion; +Cc: GDB Patches


Jackie Smith Cashion <jsmith@redhat.com> writes:
> The following patch changes the size of the d10v long long from 4 to 8
> to agree with the d10v gcc.

You know, I don't think the D10v is maintained.  I think this means
you can just go ahead and commit changes to d10v-tdep.c.  Of course,
we're happy to look things over.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: d10v sizeof (long long)
  2001-12-03 19:32 ` Jim Blandy
@ 2001-12-03 19:39   ` Jackie Smith Cashion
  0 siblings, 0 replies; 4+ messages in thread
From: Jackie Smith Cashion @ 2001-12-03 19:39 UTC (permalink / raw)
  To: Jim Blandy; +Cc: GDB Patches

Jim Blandy wrote:
> 
> Jackie Smith Cashion <jsmith@redhat.com> writes:
> > The following patch changes the size of the d10v long long from 4 to 8
> > to agree with the d10v gcc.
> 
> You know, I don't think the D10v is maintained.  I think this means
> you can just go ahead and commit changes to d10v-tdep.c.  Of course,
> we're happy to look things over.

That makes things easier. But, I think I'll still show them to you
before committing them, just in case.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-04  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03 17:41 RFA: d10v sizeof (long long) Jackie Smith Cashion
2001-12-03 19:30 ` Jim Blandy
2001-12-03 19:32 ` Jim Blandy
2001-12-03 19:39   ` Jackie Smith Cashion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox