about summary refs log tree commit diff
path: root/tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-08-22 11:52:21 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-08-22 11:52:21 +1000
commit5fc562c5b1a53fd78ecad2da7481c0559705307b (patch)
tree53b1931fa8f7256ff14ec9904ca5b1b1b918a19d /tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py
parent7232a07f5a44831b794be120b8bfd52b856a13f6 (diff)
downloadrust-5fc562c5b1a53fd78ecad2da7481c0559705307b.tar.gz
rust-5fc562c5b1a53fd78ecad2da7481c0559705307b.zip
Rename `foo.py` to `my_gdb_script.py`
This makes it easier for maintainers to see what the Python script is for.
Diffstat (limited to 'tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py')
-rw-r--r--tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py b/tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py
new file mode 100644
index 00000000000..d319792657e
--- /dev/null
+++ b/tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py
@@ -0,0 +1,6 @@
+# This is a Python script, but we don't actually run it.
+# So if you're trying to remove Python scripts from the test suite,
+# be aware that there's no value in trying to get rid of this one.
+#
+# It just needs to exist so that the compiler can embed it via
+# `#![debugger_visualizer(gdb_script_file = "...")]`.