Fix PR cli/18053
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / jit-so.exp
index 0db325962ec204be24198751e32296757cc571fa..9fadd868a4061811e23c3aaffd2aff0f3497bd57 100644 (file)
@@ -117,3 +117,10 @@ proc one_jit_test {count match_str} {
 
 one_jit_test 1 "${hex}  jit_function_0000"
 one_jit_test 2 "${hex}  jit_function_0000\[\r\n\]+${hex}  jit_function_0001"
+
+# We don't intend to load the .so as a JIT debuginfo reader, but we
+# need some handy file name for a completion test.
+gdb_test \
+    "complete jit-reader-load [standard_output_file ${solib_testfile}.s]" \
+    "jit-reader-load $solib_binfile" \
+    "test jit-reader-load filename completion"
This page took 0.026342 seconds and 4 git commands to generate.