2002-03-25 Fred Fish <fnf@redhat.com>
authorFred Fish <fnf@specifix.com>
Tue, 26 Mar 2002 00:36:07 +0000 (00:36 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 26 Mar 2002 00:36:07 +0000 (00:36 +0000)
* gdb.base/list.exp: This test works on remote targets so remove
the short circuit for remote targets.  Update copyright.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/list.exp

index 67cc323..08956e3 100644 (file)
@@ -1,5 +1,10 @@
 2002-03-25  Fred Fish  <fnf@redhat.com>
 
+       * gdb.base/list.exp: This test works on remote targets so remove
+       the short circuit for remote targets.  Update copyright.
+
+2002-03-25  Fred Fish  <fnf@redhat.com>
+
        * gdb.base/attach.exp: Fix logic error that was suppressing this
        test for all non hppa*-*-hpux* targets, instead of the hp target.
        Move comments closer to the suppression point.  Also now need to
index ddd1e36..315bf0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1992, 1994, 1995, 1996, 1997, 1998, 1999
+# Copyright 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2002
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -95,12 +95,7 @@ proc test_listsize {} {
     # Show the default lines
     # The second case is for optimized code, it is still correct.
     
-    if [is_remote target] {
-       runto_main;
-       unsupported "list default lines around main";
-    } else {
-       gdb_test "list" "(1\[ \t\]+#include \"list0.h\".*10\[ \t\]+x = 0;|2.*11\[ \t\]+foo .x\[+)\]+;)" "list default lines around main"
-    }
+    gdb_test "list" "(1\[ \t\]+#include \"list0.h\".*10\[ \t\]+x = 0;|2.*11\[ \t\]+foo .x\[+)\]+;)" "list default lines around main"
 
     # Ensure we can limit printouts to one line