|
Message
From: Mark<jarvin@e...>
Date: Tue Nov 27 17:08:57 CET 2007
Subject: [openrisc] Why the LOAD can't work in gdb?
realamd@1... wrote: > (gdb) target jtag jtag://localhost:9999 > Remote or1k debugging using jtag://localhost:9999 > Debug group should be available in the or1k implementation. > (gdb) load > You can't do that when your target is `exec' > > It seemed that the or1k implementation's debug group is not available , > or the gdb does'nt include the 'load' . Should I try another gdb ?
Where did you get your toolchain source from? I think the GDB on OpenCores checks the UPR register incorrectly (i.e., checks the wrong bit), reporting that the debug unit isn't present even though it is. You could give my toolchain a try (http://www.eecg.utoronto.ca/~jarvin/or32/) -- the or32-elf-gdb and jp2 in there work for me. Or, check your GDB source against the OR1200 architecture manual.
|
 |