diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-11-18 14:20:35 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-11-18 18:02:12 -0600 |
commit | b9d93e82a069b6650f3bd7b43abe6aecc0bf2e4e (patch) | |
tree | a42b36e3a37a6c65dd2fb8e227036c8859927caa /src/build/simics | |
parent | 7d5abe294c66c7e02dbe10f6d78f74a919399665 (diff) | |
download | talos-hostboot-b9d93e82a069b6650f3bd7b43abe6aecc0bf2e4e.tar.gz talos-hostboot-b9d93e82a069b6650f3bd7b43abe6aecc0bf2e4e.zip |
DbgFw: save tool output to file in simics.
Change-Id: Ib796caecac77df68012c79fce481445ba171d7ed
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/507
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/simics')
-rwxr-xr-x | src/build/simics/hb-simdebug.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/build/simics/hb-simdebug.py b/src/build/simics/hb-simdebug.py index 64bedad29..0119eb531 100755 --- a/src/build/simics/hb-simdebug.py +++ b/src/build/simics/hb-simdebug.py @@ -250,7 +250,8 @@ default_stringFile = "hbotStringFile" #------------------------------------------------ new_command("hb-trace", (lambda comp: run_hb_debug_framework("Trace", - ("components="+comp) if comp else "")), + ("components="+comp) if comp else "", + outputFile = "hb-trace.output")), [arg(str_t, "comp", "?", None), ], #alias = "hbt", @@ -276,7 +277,7 @@ Examples: \n #------------------------------------------------ #------------------------------------------------ new_command("hb-printk", - lambda: run_hb_debug_framework("Printk"), + lambda: run_hb_debug_framework("Printk", outputFile = "hb-printk.output"), #alias = "hbt", type = ["hostboot-commands"], #see_also = ["hb-trace"], @@ -380,7 +381,8 @@ new_command("hb-errl", (lambda logid, logidStr, flg_l, flg_d: run_hb_debug_framework("Errl", ("display="+(str(logid) if logid else logidStr) if flg_d else "" - ))), + ), + outputFile = "hb-errl.output")), [ arg(int_t, "logid", "?", None), arg(str_t, "logidStr", "?", None), arg(flag_t, "-l"), |