https://sourceware.org/bugzilla/show_bug.cgi?id=32211
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #7 from Nick Clifton <nickc at redhat dot com> ---
Hi Dan,
(In reply to Dan McDonald from comment #3)
> Run it on the provided sample files.
There appears to be a problem with one of the grep command line options that
you are using...
I tried running one of the commands by hand and it failed, just as you are
reporting:
$ objdump -z -D 23.4-strap-libv8_base.a | grep -qw v8dbg_SmiTag
$ echo $?
1
So I tried removing the options from grep to see if it found anything:
$ objdump -z -D 23.4-strap-libv8_base.a | grep v8dbg_SmiTag
Disassembly of section .data.v8dbg_SmiTagMask:
00000000 <v8dbg_SmiTagMask>:
$ echo $?
0
The most likely culprit was the word option, so I restored that:
$ objdump -z -D 23.4-strap-libv8_base.a | grep -w v8dbg_SmiTag
$ echo $?
1
And just to confirm, if you have -q without -w, the test does still work:
$ objdump -z -D 23.4-strap-libv8_base.a | grep -q v8dbg_SmiTag
$ echo $?
0
> Also, is it possible that the combination of "-z -D" might be the problem?
It is very unlikely.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.