From 78b3836acf005c33ec4cdcb453f518b6e099c346 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 10 Mar 2022 22:22:00 +0000 Subject: deploy: a7d5161041378ae600affa8955e0c67a7cb1ba65 --- tools/gdbserver.html | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 tools/gdbserver.html (limited to 'tools/gdbserver.html') diff --git a/tools/gdbserver.html b/tools/gdbserver.html new file mode 100644 index 0000000..08ce6d0 --- /dev/null +++ b/tools/gdbserver.html @@ -0,0 +1,241 @@ + + + + + + gdbserver - Notes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + +
+
+

gdbserver(1)

+

CLI

+
  gdbserver [opts] comm prog [args]
+    opts:
+      --disable-randomization
+      --no-disable-randomization
+
+    comm:
+      host:port
+      tty
+
+

Example

+
# Start gdbserver.
+gdbserver localhost:1234 /bin/ls
+
+# Attach gdb.
+gdb -ex 'target remote localhost:1234'
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3