libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] libunwind ARM port


From: David Mosberger-Tang
Subject: Re: [Libunwind-devel] libunwind ARM port
Date: Mon, 4 Feb 2008 17:35:17 -0700

Daniel,

When I try to build libunwind for ARM in my cross-environment, I get this error:

../../libunwind/src/mi/backtrace.c:41: error: 'mcontext_t' has no
member named 'arm_r0'

I'm using the cross-tools available here:

  http://www.embeddedarm.com/linux/ARM.htm

(look for "Linux Crosstool gcc-4.0.1-glibc-2.3.5").  I'm not terribly
familiar with ARM.  Are these crosstools just obsolete or are there
multiple common ways of defining mcontext_t on ARM?  As far as I can
see, the toolchain I'm using simply defines mcontext_t as an
array of integer and fp-registers (as is commonly done by the Linux kernel).

  --david

On 1/25/08, Daniel Jacobowitz <address@hidden> wrote:
> On Wed, Jan 23, 2008 at 04:25:17PM -0500, Daniel Jacobowitz wrote:
> > 0.98.5 is the latest release, but it appears to be much older than the
> > current GIT version... I've got some rebasing to do.
>
> Done, as attached.  This works on ARM (including Thumb), MIPS, and
> MIPS64; it does not appear to break anything on x86_64.  I cleaned up
> a lot of the rough edges, including all of those outside of the ARM
> and MIPS specific files.  As last time, rerun autotools after applying.
>
> The .debug_frame support is only present for local unwinding at
> present, but it could be added to the ptrace support too if someone
> wants to take the effort.  I used UNW_INFO_FORMAT_TABLE for
> .debug_frame; .eh_frame is UNW_INFO_FORMAT_REMOTE_TABLE.
>
> Is the testsuite supposed to have clean results?  I ran it on x86 and
> x86_64 and got 12 failures on x86, 7 on x86_64.  I didn't implement
> enough ptrace / signal bits to try the testsuite on ARM or MIPS yet.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
> _______________________________________________
> Libunwind-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/libunwind-devel
>
>
>


-- 
Mosberger Consulting LLC, http://www.mosberger-consulting.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]