--- Log opened Wed Dec 07 00:00:16 2016 | ||
shorne | :fit | 06:59 |
---|---|---|
shorne | nevermind | 06:59 |
olofk_ | ok, so help me out here | 10:25 |
olofk_ | I changed to using JSP from adv_debug_sys for my stdout. Problem is that when no JTAG is connected, all chars get stuck in the FIFO | 10:25 |
olofk_ | So my code gets stuck in a printf | 10:26 |
olofk_ | Plan is to just flush everything if JTAG isn't connected. But has anyone worked enough with adv_debug_sys to have a feeling if that is easy to detect | 10:27 |
olofk_ | ? | 10:27 |
-!- heroux_ is now known as heroux | 10:48 | |
_franck_ | olofk_: I think you can use debug_select_i | 15:34 |
_franck_ | https://github.com/olofk/adv_debug_sys/blob/master/Hardware/adv_dbg_if/rtl/verilog/adbg_top.v#L60 | 15:34 |
shorne | _franck_: I am still looking into this gdb stuff. Have a few big items left to go. Basically | 15:56 |
shorne | 1. Yao is questing how we use the target descriptor to gather all the sprs (code you added) | 15:57 |
shorne | 2. Yao is questioning why we done add psuedo registers (I think its from jeremybennett) | 15:57 |
shorne | for 2, I think its pretty easy, but we would need to suport vectors and floatingpoints . But not sure if it needs to be in dwarf too. Also we would have to think for the names. like fp# and vec% or vector# not sure. I am thinking we just remove for now. ( jeremybennett any thoughts on pseudo registers? ) | 16:00 |
shorne | for 1, I am looking at one thing about the q packet and the qSupported:xmlRegisters I dont really see any or1k code that supplies xml registers | 16:02 |
shorne | so we need that? | 16:02 |
_franck_ | shorne: I think the idea was to keep things flexible. With an xml you can add/remove registers | 16:04 |
shorne | _franck_: Right, actually I couldnt find where this xml was defined | 16:04 |
_franck_ | it is dynamically created by openocd | 16:06 |
shorne | ok, in openocd cool, didnt realize that I was looking in or1ksim | 16:06 |
shorne | thanks, got to go now | 16:07 |
_franck_ | but it should not be the only solution. What is someone don't use openocd ? I don't know if we an pass a xml file to gdb outside of the qSupported:xmlRegisters | 16:08 |
_franck_ | ok bye | 16:08 |
--- Log closed Thu Dec 08 00:00:17 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!