I was wondering if anyone knew if the following was possible:
Can you make a conditional statement?
I'm aware that bpset allows you to test a condition, so would the following work?
bpset PC, condition, action
bpset same PC, different condition, different action
Would this cause any issues as long as condition and different condition are mutually exclusive?
Essentially, I would like to create a switch statement to print the names of different threads (in the emulated program) when the context switch function is called.
I would also find if helpful if the debugger's printf could print null-terminated strings (%s).