real-xinu / xkdb

Xinu Kernel DeBugger (xkdb) - GDB for Xinu backends
GNU General Public License v3.0
20 stars 9 forks source link

ARM Stub method signature set_debug_traps mismatch with README #2

Open zachbryant opened 5 years ago

zachbryant commented 5 years ago

The readme recommends using void set_debug_traps(void) while the ARM stub defines the method as void set_debug_traps(int n, void *p). What are n and p, and how can we properly initialize Xinu for xkdb?

ammaraskar commented 5 years ago

Good catch, unfortunately the ARM stub isn't very well tested. I don't recall if it was ever in a finished state. If you can, try using the galielo/x86/i386 version for now. I'll look into fixing the ARM stub tonight.