Read about our upcoming Code of Conduct on this issue

Commit 51af99cc authored by alex@thinkpad's avatar alex@thinkpad
Browse files

GDB scripts: updated formatting of CURRENT_ISR on 200D, 800D, 77D, 6D2, 750D

(non-functional)

--HG--
branch : qemu
parent 1ddaef36c368
......@@ -9,7 +9,7 @@ source -v debug-logging.gdb
#symbol-file ../magic-lantern/platform/200D.101/stubs.o
macro define CURRENT_TASK 0x1028
macro define CURRENT_ISR (*(int*)0x100C ? (*(int*)0x1010) : 0)
macro define CURRENT_ISR (MEM(0x100C) ? MEM(0x1010) : 0)
macro define NUM_CORES 2
# GDB hook is very slow; -d debugmsg is much faster
......
......@@ -9,7 +9,7 @@ source -v debug-logging.gdb
#symbol-file ../magic-lantern/platform/6D2.103/stubs.o
macro define CURRENT_TASK 0x1028
macro define CURRENT_ISR (*(int*)0x100C ? (*(int*)0x1010) : 0)
macro define CURRENT_ISR (MEM(0x100C) ? MEM(0x1010) : 0)
macro define NUM_CORES 2
# GDB hook is very slow; -d debugmsg is much faster
......
......@@ -10,7 +10,7 @@ source -v 750D/patches.gdb
#symbol-file ../magic-lantern/platform/750D.100/stubs.o
macro define CURRENT_TASK 0x44F4
macro define CURRENT_ISR (*(int*)0x44D0 ? (*(int*)0x44D4) : 0)
macro define CURRENT_ISR (MEM(0x44D0) ? MEM(0x44D4) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
......@@ -9,7 +9,7 @@ source -v debug-logging.gdb
#symbol-file ../magic-lantern/platform/77D.102/stubs.o
macro define CURRENT_TASK 0x1020
macro define CURRENT_ISR (*(int*)0x1004 ? (*(int*)0x1008) : 0)
macro define CURRENT_ISR (MEM(0x1004) ? MEM(0x1008) : 0)
macro define NUM_CORES 2
# GDB hook is very slow; -d debugmsg is much faster
......
......@@ -9,7 +9,7 @@ source -v debug-logging.gdb
#symbol-file ../magic-lantern/platform/800D.101/stubs.o
macro define CURRENT_TASK 0x1020
macro define CURRENT_ISR (*(int*)0x1004 ? (*(int*)0x1008) : 0)
macro define CURRENT_ISR (MEM(0x1004) ? MEM(0x1008) : 0)
macro define NUM_CORES 2
# GDB hook is very slow; -d debugmsg is much faster
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment