From: Greg B. <gn...@al...> - 2000-08-06 12:01:46
|
YAEGASHI Takeshi wrote: > > > Anyway I have no idea why CONFIG_GDB_STUB_VBR exists at all. [...] > > On my HP690 and Dreamcast, gdb stub code is loaded at 0xacff0000 > and VBR is also set there. It jumps into 0xa0000000 on the > reset regardless of VBR value. Hmm. Perhaps a better solution than a config variable would be to record the old value of the VBR register in trap_init() and use that for stub trap delegation? This should work on any system and not need the user to figure out where his system's gdb VBR table is loaded. I can work up a patch for this tomorrow. Greg. -- Fight spam http://www.caube.org.au/ If it's a choice between being a paranoid, hyper-suspicious global village idiot, or a gullible, mega-trusting sheep, I don't look good in mint sauce. - jd, slashdot, 11Feb2000. |