Since this makes sense on platforms other than Linux, we should move
it into common. You can either make that and include it in your patch
and let me know what needs to be "svn move"d, or I'll do the "svn
move" and make the adjustments myself when I check this in for you.
>+// TODO(Alfred): Computer the stack parameter size.
>+// Parameter variables are immediately following the N_FUN symbol.
>+// Will need to parse the type information to get a correct size.
We really only need the parameter size for FPO-optimized code, and
this is all tied up with the debugging data for Windows x86. It
doesn't make a difference elsewhere.
>+ // There maybe a lot of duplicated entry for a function in the symbol,
>+ // only one of them can met this.
I don't understand this comment.
>+ } // for each line.
Style: should have two blank spaces between the last thing on a line
('}') and the opening slash of your comment.
Otherwise, this looks good.
Mark
Mark
Only the reader and writer source at this point - but we've got a few
versions of the writer source.
> The sample output after applying the patch:
> http://code.google.com/p/google-breakpad/issues/attachment?aid=-5531453677087767210&name=output.txt
>
> Some references for stab format on Solaris:
> The stab example of file_id.o on Solaris:
> http://code.google.com/p/google-breakpad/issues/attachment?aid=3409672743353733861&name=file_id.stabs
Why don't we check these in and add a "make test" target?
> As for the tool "symupload", the Linux one works well on Solaris.
Maybe we should move that out of linux too, then.
Mark
Mark
+#include "common/linux/md5.h"
Since this makes sense on platforms other than Linux, we should move
it into common. You can either make that and include it in your patch
and let me know what needs to be "svn move"d, or I'll do the "svn
move" and make the adjustments myself when I check this in for you.
>+// TODO(Alfred): Computer the stack parameter size.
>+// Parameter variables are immediately following the N_FUN symbol.
>+// Will need to parse the type information to get a correct size.
We really only need the parameter size for FPO-optimized code, and
this is all tied up with the debugging data for Windows x86. It
doesn't make a difference elsewhere.
>+ // There maybe a lot of duplicated entry for a function in the symbol,
>+ // only one of them can met this.
I don't understand this comment.
>
> Some references for stab format on Solaris:
> The stab example of file_id.o on Solaris:
> http://code.google.com/p/google-breakpad/issues/attachment?aid=3409672743353733861&name=file_id.stabs
Why don't we check these in and add a "make test" target?
> As for the tool "symupload", the Linux one works well on Solaris.
Maybe we should move that out of linux too, then.
Also, the path that md5.c uses to include md5.h needs to change to get
rid of "linux".
Mark