]> git.wh0rd.org Git - home.git/commitdiff
add some kgdb remote shortcuts
authorMike Frysinger <vapier@gentoo.org>
Tue, 25 May 2010 22:31:54 +0000 (18:31 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:35 +0000 (15:36 -0400)
.gdbinit

index bc473f9ee44a2af8f37927bb6713aeff9f06a300..594c24c4274833151931f05572b7a2814d8a9335 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -17,6 +17,20 @@ end
 define jtag
        target remote localhost:2000
 end
+define kgdboc
+       set remotebaud 57600
+       if $argc == 0
+               target remote /dev/ttyS0
+       else
+               target remote /dev/tty$arg0
+       end
+end
+define kgdbocusb
+       kgdboc USB0
+end
+define kgdboe
+       target remote udp:bfin:6443
+end
 define vapier
        target remote vapier:2000
 end