<div dir="ltr">Dear Sir,<div><br></div><div>Thank you very much.</div><div><br></div><div>Do you mean that error location is "<span style="font-family:arial,sans-serif;font-size:14px">pc = 33559692" ?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:14px">Best Regards,</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-04-22 20:36 GMT+09:00 Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-04-22 12:59, Thomas Kim wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Sir,<br>
<br>
I have some problem regarding illegal instruction on Sparc.<br>
<br>
I checked that first parameter value of bsp_spurious_handler is 258.<br>
It means illegal instruction trap.<br>
<br>
But, I can not find error location regarding this.<br>
<br>
Please could you let me know how to do ?<br>
</blockquote>
<br>
You can use something like this:<br>
<br>
Breakpoint 2, _Terminate (the_source=RTEMS_FATAL_<u></u>SOURCE_EXCEPTION, is_internal=false, the_error=33872968) at /home/sh/rtems-4.11/c/src/../.<u></u>./cpukit/score/src/interr.c:39<br>
39 _ISR_Disable_without_giant( level );<br>
(gdb) p *(CPU_Exception_frame *)the_error<br>
$4 = {<br>
trap = 263,<br>
isf = 0x2053e40<br>
}<br>
(gdb) p *((CPU_Exception_frame *)the_error)->isf<br>
$5 = {<br>
Stack_frame = {<br>
l0 = 4194496,<br>
l1 = 33571640,<br>
l2 = 33571644,<br>
l3 = 0,<br>
l4 = 4,<br>
l5 = 4,<br>
l6 = 1,<br>
l7 = 0,<br>
i0 = 33860452,<br>
i1 = 33860160,<br>
i2 = 0,<br>
i3 = 0,<br>
i4 = 0,<br>
i5 = 257,<br>
i6_fp = 33898352,<br>
i7 = 33798476,<br>
structure_return_address = 0x2c,<br>
saved_arg0 = 3,<br>
saved_arg1 = 33875064,<br>
saved_arg2 = 33898204,<br>
saved_arg3 = 199,<br>
saved_arg4 = 33760496,<br>
saved_arg5 = 33760500,<br>
pad0 = 2<br>
},<br>
psr = 4194503,<br>
pc = 33559692,<br>
npc = 33559696,<br>
g1 = 1,<br>
g2 = 2,<br>
g3 = 35,<br>
g4 = 33860080,<br>
g5 = 0,<br>
reserved_for_alignment = 0,<br>
g7 = 0,<br>
i0 = 35,<br>
i1 = 33876472,<br>
i2 = 0,<br>
i3 = 257,<br>
i4 = 0,<br>
i5 = 33827516,<br>
i6_fp = 33898224,<br>
i7 = 33559672,<br>
y = 335544320,<br>
tpc = 33559688<br>
}<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-<u></u>brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
______________________________<u></u>_________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-users</a><br>
</blockquote></div><br></div>