Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [RFC/testsuite] Update "info float" output for i386
@ 2003-01-15  1:14 Michael Elizabeth Chastain
  2003-01-15 23:26 ` Mark Kettenis
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-15  1:14 UTC (permalink / raw)
  To: drow, kettenis; +Cc: gdb-patches

Side question: what is gcc 2.95.4?  I've heard that version number
from time to time, but I don't see it at ftp.gnu.org.  Just curious.

Michael C


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [RFC/testsuite] Update "info float" output for i386
@ 2003-01-14  7:41 Michael Elizabeth Chastain
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-14  7:41 UTC (permalink / raw)
  To: drow, gdb-patches

Proofread, but not tested.  Recommended for approval provided that you
have tested this at least once.

This is cool, this "info float" line shows up in my test results as a
regression from gdb 5.3 to gdb HEAD.  I looked it and came up with the
same (obvious) analysis that you did.  So now that's one fewer boring
paragraph I will have to write when it comes time for "gdb 5.3 versus
gdb HEAD" analysis.

> ... and I'll be right back where I started at dozens of failures.
> But I'll have a tremendous sense of accomplishment!

My metric is: "number of tests which have at least one non-PASS line
in at least one tested configuration."

  5.2 was better than 5.1.1
  5.2.1 was the same as 5.2
  5.3 was better than 5.2.1
  gdb HEAD is better than 5.3

The # of tests increases in every release so this is particularly good
progress.

Michael C

===

2003-01-13  Daniel Jacobowitz  <drow@mvista.com>

	* gdb.base/default.exp (info float): Update expected output for
	i386.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [RFC/testsuite] Update "info float" output for i386
@ 2003-01-14  4:15 Daniel Jacobowitz
  2003-01-14  5:52 ` Andrew Cagney
  2003-01-15  0:48 ` Mark Kettenis
  0 siblings, 2 replies; 11+ messages in thread
From: Daniel Jacobowitz @ 2003-01-14  4:15 UTC (permalink / raw)
  To: gdb-patches

I'm still in testsuite maintenance mode, for a little while longer.  I'm on
the home stretch for GCC 2.95.3 + stabs; as soon as I finish, I'll do my
monthly apt-get dist-upgrade, the default compiler on my Debian machine will
change to GCC 3.2 + DWARF-2, and I'll be right back where I started at
dozens of failures.  But I'll have a tremendous sense of accomplishment!

Some time ago Mark Kettenis updated i387-tdep.c to use frame_register_read
for "info float".  This changed the result of "info float" with no running
program; I think for the better, and so did he, if I recall rightly.  Can
anyone think of a reason not to update the testsuite correspondingly, as
with the attached patch?

For reference, the old output was a zeroed register dump; the new is "The
program has no registers now."  Which is quite entirely accurate.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-01-13  Daniel Jacobowitz  <drow@mvista.com>

	* gdb.base/default.exp (info float): Update expected output for
	i386.

Index: gdb.base/default.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v
retrieving revision 1.14
diff -u -p -r1.14 default.exp
--- gdb.base/default.exp	18 Oct 2002 18:54:55 -0000	1.14
+++ gdb.base/default.exp	14 Jan 2003 04:10:46 -0000
@@ -1,5 +1,5 @@
 #   Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002
+#   2000, 2001, 2002, 2003
 #   Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -325,7 +325,7 @@ if { [istarget "arm*-*-*"] || \
 	[istarget "strongarm*-*-*"] } then {
     gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float"
 } elseif [istarget "i\[3456\]86-*-*"] then {
-    gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float"
+    gdb_test "info float" "The program has no registers now." "info float"
 } else {
     gdb_test "info float" "No floating.point info available for this processor." "info float"
 }


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

end of thread, other threads:[~2003-01-15 23:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15  1:14 [RFC/testsuite] Update "info float" output for i386 Michael Elizabeth Chastain
2003-01-15 23:26 ` Mark Kettenis
  -- strict thread matches above, loose matches on Subject: below --
2003-01-14  7:41 Michael Elizabeth Chastain
2003-01-14  4:15 Daniel Jacobowitz
2003-01-14  5:52 ` Andrew Cagney
2003-01-14  5:54   ` Daniel Jacobowitz
2003-01-14 15:36     ` Andrew Cagney
2003-01-15  0:48 ` Mark Kettenis
2003-01-15  2:00   ` Daniel Jacobowitz
2003-01-15 14:48   ` Fernando Nasser
2003-01-15 22:22     ` Mark Kettenis

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