From 754b2b8dc7012e8edafd93633b421dd718eac8e5 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 26 Mar 2002 00:36:07 +0000 Subject: [PATCH] 2002-03-25 Fred Fish * gdb.base/list.exp: This test works on remote targets so remove the short circuit for remote targets. Update copyright. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/list.exp | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 67cc3235d1b..08956e3fadc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-03-25 Fred Fish + + * 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 * gdb.base/attach.exp: Fix logic error that was suppressing this diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp index ddd1e36bcd3..315bf0a998f 100644 --- a/gdb/testsuite/gdb.base/list.exp +++ b/gdb/testsuite/gdb.base/list.exp @@ -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 -- 2.30.2