From: Mike Frysinger Date: Tue, 25 May 2010 22:31:54 +0000 (-0400) Subject: add some kgdb remote shortcuts X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b41bdf2b7f48e2b560007ca1c907e329c8754bc2;p=home.git add some kgdb remote shortcuts --- diff --git a/.gdbinit b/.gdbinit index bc473f9..594c24c 100644 --- 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