From 51562c329d6f8a8240a9f6c253efcbc31ac430d0 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Thu, 8 Jul 2021 18:33:06 +0000 Subject: [PATCH] [asmxygen] Dump into file instead of stdout git-svn-id: svn://kolibrios.org@9033 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/asmxygen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/trunk/asmxygen.py b/kernel/trunk/asmxygen.py index 06099e3ea1..3220aa2828 100644 --- a/kernel/trunk/asmxygen.py +++ b/kernel/trunk/asmxygen.py @@ -2004,8 +2004,11 @@ if os.path.isfile('asmxygen.elements.pickle'): handle_file(kernel_files, "./kernel.asm"); if dump_symbols: + stdout = sys.stdout + sys.stdout = open('asmxygen.dump.txt', 'w', encoding = 'utf-8') for asm_element in elements: asm_element.dump() + sys.stdout = stdout if clean_generated_stuff: kernel_files_set = set(kernel_files)