summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/list.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/list.exp')
-rw-r--r--gdb/testsuite/gdb.base/list.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp
index 5494c28acdd..5b67f2ba123 100644
--- a/gdb/testsuite/gdb.base/list.exp
+++ b/gdb/testsuite/gdb.base/list.exp
@@ -97,7 +97,7 @@ proc test_listsize {} {
# list the lines there instead of main, so we skip this test for remote targets.
# The second case is for optimized code, it is still correct.
- if [is_remote target] {
+ if [target_info exists use_gdb_stub] {
runto_main;
unsupported "list default lines around main";
} else {