Re: Debugging gnumach

2020-12-26 Thread Joan Lledó
Hi, El 25/12/20 a les 23:43, Almudena Garcia ha escrit: My script is here https://gist.github.com/AlmuHS/73bae6dadf19b0482a34eaab567bfdfa Thanks. This didn't worked for me. Question: what's the content of hurd_qemu/hurd.img?

Re: Debugging gnumach

2020-12-25 Thread Almudena Garcia
Hi. I'll take some tips about how I debug gnumach using GDB and Qemu, for my SMP development. I usually execute remote debugging using Qemu with GDB. In my Qemu script, I added -s option to enable te debugging mode, and -S to pause the machine before startup. My script is here

Debugging gnumach

2020-12-25 Thread Joan Lledó
Hi Hurd, recently I tried to implement ranges on memory object proxies[1]. I never worked on gnumach before, so as expected it failed. That's ok, but now I'd like to debug gnumach in order to find the issue. The docs[2] say I can either use the built-in debugger or gdb over qemu. I tried