Still don’t have a Meld Account?
Join now to be a part of the worlds largest embedded linux community!
Join Now!Montnavista: gdbserver can not retrieve mi_cmd_data_list_changed_registers
tomatchili - September 16, 2010
Hi,
I have a setup where I have gdb running in Eclipse, and gdbserver running on the target (ppc 82xx) both from the Montavista devkit: gdb version is: GNU gdb 6.0 (MontaVista 6.0-8.0.4.0300532 2003-12-24) with cofiguration: This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-hardhat-linux".
I get the debugging started and one breakpoit set: but as soon as the breakpoint is reached i got this error message from the verbose output in eclipse:
:5-data-list-changed-registers
25^error,msg="mi_cmd_data_list_changed_registers: Unable to read register contents."
(gdb)
I have tried to chage the advaced settings i Eclipse to avoid retrieving register values and unmarked both the fields:
Automaticly track the values of
Variables
Registered
But it still seems like eclipse is tryig to retrieve the register values, which does not work (I guess)
I'm using:
GDB commad set: Standard Linux
protocol: mi
Any suggestions? I have oet entered the path to the montavista iclude library in eclipse, but regaig the error I doubt if that would help?
Thanks,
Anders

Does gdb work outside of
Does gdb work outside of Eclipse? Seems that you are using an old gdb built in 2003, may want to check if you have the latest updates.
Steve
When I start outside eclipse,
When I start outside eclipse, I get the following error:
oading section .note.ABI-tag, size 0x20 lma 0x10000124
Loading section .hash, size 0x730 lma 0x10000144
Loading section .dynsym, size 0x1050 lma 0x10000874
Loading section .dynstr, size 0xecd lma 0x100018c4
Loading section .gnu.version, size 0x20a lma 0x10002792
Loading section .gnu.version_r, size 0x20 lma 0x1000299c
Loading section .rela.dyn, size 0x24 lma 0x100029bc
Loading section .rela.plt, size 0x5e8 lma 0x100029e0
Loading section .init, size 0x28 lma 0x10002fc8
Loading section .text, size 0xde1f8 lma 0x10002ff0
Loading section .fini, size 0x20 lma 0x100e11e8
Loading section .rodata, size 0x2b6a8 lma 0x100e1208
Loading section .data, size 0x8344 lma 0x1011c8b0
Memory access error while loading section .data.
I have tried this command to setup the icluded libs:
set solib-absolute-prefix /opt/montavista/pro/devkit/ppc/82xx/target
without any chage.