mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
binman: Use tools.Run() to run objdump
At present this command silently fails if something goes wrong. Use the tools.Run() function instead, since it reports errors. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -49,7 +49,7 @@ def GetSymbols(fname, patterns):
|
||||
key: Name of symbol
|
||||
value: Hex value of symbol
|
||||
"""
|
||||
stdout = command.Output('objdump', '-t', fname, raise_on_error=False)
|
||||
stdout = tools.Run('objdump', '-t', fname)
|
||||
lines = stdout.splitlines()
|
||||
if patterns:
|
||||
re_syms = re.compile('|'.join(patterns))
|
||||
|
Reference in New Issue
Block a user