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.
This commit is contained in:
Fred Fish 2002-03-26 00:36:07 +00:00
parent 629b007a94
commit 754b2b8dc7
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,8 @@
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

View 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