Hello,
I am integrating the microblaze-uclinux cross compiler tools and the microblaze-uclinux-gdb in eclipse. Everything works except debugging using the gdbserver.
Sometimes the microblaze-uclinux-gdb crashes and if it works it is really slow to step through the code. After a few steps microblaze-uclinux-gdb crashes. Here is a part
of the gdb console output:
139^running
(gdb)
139*stopped,reason="end-stepping-range",thread-id="1",frame={addr="0x8fca8148",func="main",args=[],file="main.c",line="12"}
(gdb)
140 info threads
&"info threads\n"
~"* 1 Thread 56 "
140^done,frame={func="main",args=[],file="main.c",line="12"}
(gdb)
141-stack-info-depth
141^done,depth="3"
(gdb)
142-stack-list-frames 0 3
142^done,stack=[frame={level="0 ",addr="0x8fca8148",func="main",file="main.c",line="12"},frame={level="1 ",addr="0x8fca8270",func="__uClibc_start_main"},frame={level="2 ",addr="0x8fc8b21c",func="??"}]
(gdb)
143-data-list-changed-registers
143^error,msg="mi_cmd_data_list_changed_registers: Unable to read register contents."
(gdb)
144-exec-next 1
144^running
(gdb)
&"/home/jwilliams/PetaLogix/petalinux-test/toolchains/microblaze-uclinux/srcs/gdb/gdb/ui-out.c:130: gdb-internal-error: push_level: Assertion `uiout->level >= 0 && uiout->level < MAX_UI_OUT_LEVELS' failed.\n"
/home/jwilliams/PetaLogix/petalinux-test/toolchains/microblaze-uclinux/srcs/gdb/gdb/ui-out.c:130: gdb-internal-error: push_level: Assertion `uiout->level >= 0 && uiout->level < MAX_UI_OUT_LEVELS' failed.
145-gdb-exit
I have to mention that I am using the newer IPs than recommended:
The CPU version is 7.10.d (EDK 10.1 SP3)
MPMC is 4.03.a
ethernet MAC lite is 2.00.a
Everything works fine with those versions except debugging.
Has anybody experienced a similar problem?