https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: e1ee070dcc2726650f8978c97284a0d1f59c80a2 authored by alex@thinkpad on 21 August 2018, 06:46:52 UTC
Merged qemu into 1200D
Tip revision: e1ee070
splitgdb.sh
#!/usr/bin/env bash

CAM=${1//,*/}
if [ ! "$CAM" ]; then
    echo usage: same arguments as with run_canon_fw.sh
    echo example: ./splitgdb.sh 60D,firmware="boot=1" -d callstack
    exit
fi

tmux new-session -d "./run_canon_fw.sh $* -s -S"
tmux split-window -h "cgdb -d arm-none-eabi-gdb -x $CAM/debugmsg.gdb"
tmux attach-session -d
back to top