Need help in debugging a testsuite over qemu and gdb
Richi Dubey
richidubey at gmail.com
Tue Aug 11 07:51:47 UTC 2020
Hi,
I have been trying to debug a test suite (this patch
<https://lists.rtems.org/pipermail/devel/2020-July/060945.html>) with qemu
and gdb by running the following commands:
--------------------------------------------------------------------------------------------
./arm-rtems5-gdb
~/quick-start/build/b3-realview/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/smptests/smpstrongapa01.exe
.
.
.
> target remote localhost:1234
> b Init
> continue
Continuing.
[Inferior 1 (process 1) exited normally]
------------------------------------------------------------------------------------------------------
./qemu-system-arm -net none -nographic -M realview-pbx-a9 -m 256M -kernel
~/quick-start/build/b3-realview/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/smptests/smpstrongapa01.exe
-smp 3 -no-reboot -S -s
*** FATAL ***
fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION)
R0 = 0x00000003 R8 = 0x00000000
R1 = 0xfffffffe R9 = 0x00000000
.
.
.
D31 = 0x0000000000000000
RTEMS version: 6.0.0.467d227a4d5044e5f4022df34ef7a25b8438588f-modified
RTEMS tools: 7.5.0 20191114 (RTEMS 5, RSB 5 (0b7e87143b76), Newlib fbaa096)
executing thread ID: 0x089010001
executing thread name: IDLE
---------------------------------------------------------------------------------------------------------
Can someone please help me by pointing out what might be wrong, or how I
could see what's wrong? I tried using ni repeatedly to see the instruction
that causes the EXCEPTION, but the program goes in an infinite loop at some
point.
Thanks,
Richi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200811/87ec32ca/attachment.html>
More information about the devel
mailing list