[Ltrace-devel] ltrace exception on ARM

Ravi Sankar ravisankar.g at gmail.com
Wed Oct 21 11:15:03 UTC 2009


Hello,

I have downloaded ltrace - 0.5.3-2, and libelf-0.8.12 version and
compiled for ARM. I use libc 2.6.1.
My uname -a is "Linux 2.6.28.6 #1 Wed Oct 21 00:31:49 KST 2009 armv6l unknown"

To test the ltrace utility, I wrote a simple test program.
cat main.c
#include <stdio.h>
void foo(void);
int main(void)
{
	while(1)
	{
		foo();
	}
	return 0;
}
[sbox-arm:] > cat foo.c
#include <stdio.h>
void bar(void)
{
	sleep(2);
}
void foo(void)
{
	bar();
}

When I run ltarce -p <test pid>, I get the below error message in an
infinite loop.
"unexpected instruction at 0xe5bcfb44" at "0xbdc8".

Please help me in resolving this.



-- 
--,
BR,
Ravi Sankar Guntur.



More information about the Ltrace-devel mailing list