From 66c1d6bcb3a14a414bd8f3ec360a3a253b18d290 Mon Sep 17 00:00:00 2001 From: snarez Date: Mon, 8 Jul 2013 23:03:15 +1000 Subject: [PATCH] Calls installed voltron command --- voltron.gdb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/voltron.gdb b/voltron.gdb index 3c2a81a..4f26188 100644 --- a/voltron.gdb +++ b/voltron.gdb @@ -39,9 +39,9 @@ end define voltron_update_registers voltron_dump_registers_x64 if $argc == 0 - shell ~/.gdb/voltron/voltron.py gdb6proxy reg + shell voltron gdb6proxy reg else - shell ~/.gdb/voltron/voltron.py -d gdb6proxy reg + shell voltron gdb6proxy reg end shell rm /tmp/voltron.reg.* end @@ -50,16 +50,16 @@ define voltron_update_stack dump memory /tmp/voltron.stack $rsp ($rsp+$VOLTRON_STACK_SIZE) dump value /tmp/voltron.reg.rsp $rsp if $argc == 0 - shell ~/.gdb/voltron/voltron.py gdb6proxy stack + shell voltron gdb6proxy stack else - shell ~/.gdb/voltron/voltron.py -d gdb6proxy stack + shell voltron -d gdb6proxy stack end shell rm /tmp/voltron.stack end define voltron_start if $voltron_running == 0 - shell ~/.gdb/voltron/voltron.py server & ; echo $! >/tmp/voltron.pid + shell voltron server & ; echo $! >/tmp/voltron.pid set $voltron_running = 1 else echo Already running\n