summaryrefslogtreecommitdiffstats
path: root/test_code/gdbscripts/memtest_gdbscript
diff options
context:
space:
mode:
authorRegia König2022-09-02 11:29:26 +0200
committerRegia König2022-09-02 11:29:26 +0200
commite7b7db1268cab0be88a22d52c27ce836729e81a8 (patch)
tree58eb5935dafb76ea169e806ab4b4352b1be4cfb2 /test_code/gdbscripts/memtest_gdbscript
parentAdd gdbscript for testing if relocation happens (diff)
downloadmemtest86-e7b7db1268cab0be88a22d52c27ce836729e81a8.tar.gz
memtest86-e7b7db1268cab0be88a22d52c27ce836729e81a8.tar.xz
memtest86-e7b7db1268cab0be88a22d52c27ce836729e81a8.zip
Move scripts for gdb
Diffstat (limited to 'test_code/gdbscripts/memtest_gdbscript')
-rw-r--r--test_code/gdbscripts/memtest_gdbscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/test_code/gdbscripts/memtest_gdbscript b/test_code/gdbscripts/memtest_gdbscript
new file mode 100644
index 0000000..94a7f53
--- /dev/null
+++ b/test_code/gdbscripts/memtest_gdbscript
@@ -0,0 +1,10 @@
+add-symbol-file ../../memtest86plus_debug/build64/memtest.debug 0x201000
+b main
+
+# while loop
+b *0x21414a
+
+# supposed main
+b *0x21412a
+
+target remote localhost:1234