Permalink
Browse files

GDB commands to debug remotely.

  • Loading branch information...
1 parent 5e7de52 commit 668b5fab8b2ac97d6d81c9eb98939b1fb6e09a71 @balau committed Oct 2, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 qemu-debug/hello-remote.gdb
@@ -0,0 +1,7 @@
+set solib-absolute-prefix nonexistantpath
+set solib-search-path ~/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/lib/
+file ./hello-2.6/src/hello
+target extended-remote localhost:1234
+set remote exec-file /usr/bin/hello
+break main
+run

0 comments on commit 668b5fa

Please sign in to comment.