From b41bdf2b7f48e2b560007ca1c907e329c8754bc2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 25 May 2010 18:31:54 -0400 Subject: [PATCH] add some kgdb remote shortcuts --- .gdbinit | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.5