Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: RFA: e500-regs.exp: fix little-endian 'print' patterns
@ 2004-06-15  0:15 Michael Elizabeth Chastain
  2004-06-15 18:17 ` Jim Blandy
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2004-06-15  0:15 UTC (permalink / raw)
  To: gdb-patches, jimb

Approved, after you fix the copyright date: need to add 2004.

Michael C

===

2004-06-14  Jim Blandy  <jimb@redhat.com>

	* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
	endian case.


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

* Re: RFA: e500-regs.exp: fix little-endian 'print' patterns
  2004-06-15  0:15 RFA: e500-regs.exp: fix little-endian 'print' patterns Michael Elizabeth Chastain
@ 2004-06-15 18:17 ` Jim Blandy
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Blandy @ 2004-06-15 18:17 UTC (permalink / raw)
  To: Michael Elizabeth Chastain; +Cc: gdb-patches

mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:
> Approved, after you fix the copyright date: need to add 2004.

Committed, amended as suggested.  (Tuesday is Past Participle Day!)


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

* RFA: e500-regs.exp: fix little-endian 'print' patterns
@ 2004-06-14 21:44 Jim Blandy
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Blandy @ 2004-06-14 21:44 UTC (permalink / raw)
  To: gdb-patches


Without this patch, all the 'print ev*' tests fail when the test
program is compiled with -mlittle.  With the patch, they all pass.

Tested on i686-pc-linux-gnu host with the following targets:
    powerpc-sim/-mlittle
    powerpc-sim/-mbig

2004-06-14  Jim Blandy  <jimb@redhat.com>

	* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
	endian case.

Index: gdb/testsuite/gdb.arch/e500-regs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/e500-regs.exp,v
retrieving revision 1.1
diff -c -p -r1.1 e500-regs.exp
*** gdb/testsuite/gdb.arch/e500-regs.exp	17 Mar 2003 20:06:16 -0000	1.1
--- gdb/testsuite/gdb.arch/e500-regs.exp	14 Jun 2004 21:40:43 -0000
*************** for {set i 0} {$i < 32} {incr i 1} {
*** 112,118 ****
  if {$endianness == "big"} {
       set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.."
  } else {
!      set decimal_vector ".uint64 = 0x0000000100000001, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.000.001.000.000.000.001.000.000.."
  }
  
  for {set i 0} {$i < 32} {incr i 1} {
--- 112,118 ----
  if {$endianness == "big"} {
       set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.."
  } else {
!      set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.."
  }
  
  for {set i 0} {$i < 32} {incr i 1} {


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

end of thread, other threads:[~2004-06-15 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15  0:15 RFA: e500-regs.exp: fix little-endian 'print' patterns Michael Elizabeth Chastain
2004-06-15 18:17 ` Jim Blandy
  -- strict thread matches above, loose matches on Subject: below --
2004-06-14 21:44 Jim Blandy

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