| ysionneau | ok, I got qemu to send dummy values for PSW, TLBVADDR, TLBPADDR and TLBBADVADDR to GDB | 14:41 |
|---|---|---|
| ysionneau | communication between the two is ok | 14:42 |
| ysionneau | now that would be nice to send real values according to the state of lm32 core | 14:42 |
| ysionneau | mwalle: I have something working for PSW and TLBVADDR, now the tricky part is the TLBPADDR / TLBBADVADDR which share the same CSR id | 15:01 |
| ysionneau | and one is write-only and the other one is read-only | 15:01 |
| ysionneau | maybe we can declare the two as two separate different registers, but make qemu send "0xdeadbeef" when GDB wants to get the value of TLBPADDR, to tell the user "this is dummy value" | 15:02 |
| ysionneau | and we declare a env->tlbbadvaddr in qemu which is updated by tlb miss/fault handler of qemu, and then sent back to GDB when TLBBADVADDR value is requested | 15:03 |
| ysionneau | dunno if this sounds crazy or not | 15:06 |
| ysionneau | ah env->tlbbadvaddr is already declared and updated where it should be, sorry I missed it | 15:51 |
| ysionneau | for now I'm using this GDB patch https://github.com/fallen/gdb/commit/60faaaf832e3a4e1e230d95c0716e64da39d6252 and this qemu patch : https://github.com/fallen/qemu/commit/b63023a653adc1de374563759dda37cdcdc3d713 | 15:59 |
| ysionneau | hum, my indent sux | 15:59 |
| --- Sun Sep 29 2013 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!