Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
mpatrol 64 bit issue ....   Message List  
Reply | Forward Message #1168 of 1198 |
Re: [mpatrol] mpatrol 64 bit issue ....

On Fri, Nov 14, 2008 at 11:40:45AM -0000, Graeme Roy wrote:
> Hi,
>
> Yes, it sounds like there's been no support added for stack tracebacks on
> 64-bit x86. The 32-bit x86 code will not work, as you have found out and I
> haven't written support for 64-bit x86 as I don't have access to it.
>
> If anyone has written the extra source code for getting stack tracebacks to
> work for mpatrol on that architecture could they post it here? It should
> only be a few lines of diffs anyway, compared to what I'd expect support for
> Itanium to be.

I don't have such code, but what I'd recommend is using either
libunwind or just libgcc; x86_64 is special in that the platform ABI
requires presence of .eh_frame unwind tables, so that compilers have
more freedom in stack layout than they do on x86.

--
Daniel Jacobowitz
CodeSourcery



Fri Nov 14, 2008 1:13 pm

falsedrow
Offline Offline
Send Email Send Email

Forward
Message #1168 of 1198 |
Expand Messages Author Sort by Date

Hello Graeme, Thanks for the update ,, we took the target.h file and places where the ARCH and ENVIRON variables were defined .. we did a undef and redefined...
Sagar
sagarindelhi
Offline Send Email
Nov 11, 2008
11:10 am

Hi, Yes, it sounds like there's been no support added for stack tracebacks on 64-bit x86. The 32-bit x86 code will not work, as you have found out and I ...
Graeme Roy
graemeroy
Offline Send Email
Nov 14, 2008
11:40 am

... I don't have such code, but what I'd recommend is using either libunwind or just libgcc; x86_64 is special in that the platform ABI requires presence of...
Daniel Jacobowitz
falsedrow
Offline Send Email
Nov 14, 2008
4:07 pm

Hello Friend ,, I am confused ... from what i see inside the code i need to re-write 1. struct frameinfo and stackinfo ( for 64bit) 2. then need to write the...
Sagar
sagarindelhi
Offline Send Email
Nov 17, 2008
9:14 am

Hello everyone,, I got an interesting comment from suse guys ,,, "One easy way to do backtracing in a portable way over multiple Linux architectures is to use...
Sagar
sagarindelhi
Offline Send Email
Nov 17, 2008
1:08 pm

Hi, I'm assuming backtrace() is a gcc 4 function because I can't find it in gcc 3, but yes, it looks like what you want. The only problem is that it's not ...
Graeme Roy
graemeroy
Offline Send Email
Nov 20, 2008
10:09 am

... It's a glibc function rather than a gcc function; include <execinfo.h> to get it on any GNU/Linux system. -- Daniel Jacobowitz CodeSourcery...
Daniel Jacobowitz
falsedrow
Offline Send Email
Nov 20, 2008
2:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help