aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-11-17 11:11:13 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-11-18 11:21:37 +0000
commit59d6ca65f5e29a110be55f5057c710e29527e229 (patch)
treee7e43898a6f34855bc412eb947637f1fa4e36c82 /gdb
parentf2509beef8d8c81f7bd6f61a1baab089a470626e (diff)
downloadgdb-59d6ca65f5e29a110be55f5057c710e29527e229.zip
gdb-59d6ca65f5e29a110be55f5057c710e29527e229.tar.gz
gdb-59d6ca65f5e29a110be55f5057c710e29527e229.tar.bz2
gdb/testsuite: rename source file gdb.debuginfod/main.c
The test gdb.debuginfod/fetch_src_and_symbols.exp uses a source file named main.c. I can't see any particular reason why the file is named as such. Usually test source files are named after the test script. This commit just renames the source file inline with the test script, and updates the call to standard_testfile (removing the reference to main.c). There's no particular reason for this change other than seeing the file named main.c made me thing that the source file must be shared with some other test (it isn't). There should be no change in what is tested after this commit.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.c (renamed from gdb/testsuite/gdb.debuginfod/main.c)0
-rw-r--r--gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp2
2 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.debuginfod/main.c b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.c
index 412bd53..412bd53 100644
--- a/gdb/testsuite/gdb.debuginfod/main.c
+++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.c
diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
index b57b320..8b3c2cf 100644
--- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
+++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
@@ -15,7 +15,7 @@
# Test debuginfod functionality
-standard_testfile main.c
+standard_testfile
load_lib dwarf.exp
load_lib debuginfod-support.exp