|
From: Luc B. <luc...@ma...> - 2009-05-09 13:57:42
Attachments:
smime.p7s
|
> Could a kind soul at least tell me what rev I should check out from > the Darwin branch to get the support for stabs back? Ok, I found the culprit revision: r9586 r9586 | sewardj | 2009-04-23 13:50:16 +0200 (Thu, 23 Apr 2009) | 28 lines Major rewrite of readmacho.c: [...] * remove ability to read stabs-format info for Darwin; apparently stabs is deprecated [...] Deprecated but still supported even by gcc-4.2. And pretty much compulsory until Apple incorporate the patch for the bug I mentioned in my previous email. Luc Bourhis |
|
From: Julian S. <js...@ac...> - 2009-05-09 16:05:57
|
> > Could a kind soul at least tell me what rev I should check out from > > the Darwin branch to get the support for stabs back? > > Ok, I found the culprit revision: r9586 Unfortunately, I don't think (backing out) this will help you. Even before r9586, Valgrind's stabs reader gave nonsense results on Darwin. This commit merely disabled the call to the stabs reader (amongst things). It seems that the stabs used by Darwin is somehow different from the stabs used by gcc on Linux, and there was some kind of compatibility problem reading it, although I don't know the details. J |
|
From: Luc B. <luc...@ma...> - 2009-05-09 20:32:32
Attachments:
smime.p7s
|
On 9 May 2009, at 18:09, Julian Seward wrote: > >>> Could a kind soul at least tell me what rev I should check out from >>> the Darwin branch to get the support for stabs back? >> >> Ok, I found the culprit revision: r9586 > > Unfortunately, I don't think (backing out) this will help you. Even > before r9586, Valgrind's stabs reader gave nonsense results on Darwin. I have just done a series of experience with my code and indeed, you are right. I got fooled because I was examining a piece of code where the violations happen in code generated by hairy C macros and I put down to that the odd files and line numbers I got more often than not! Thanks for your prompt answer and thanks for actively supporting valgrind on MacOS X, it's really invaluable. Luc Bourhis |