mirror of
https://github.com/acpica/acpica/
synced 2025-01-20 08:29:21 +03:00
Disassembler: For debug case, emit final namespace.
Remove a #ifdef, and emit the final namespace if the compiler debug switch is enabled.
This commit is contained in:
parent
6a4059907d
commit
9ed5b0f353
@ -527,7 +527,7 @@ AdAmlDisassemble (
|
||||
Status = AcpiNsRootInitialize ();
|
||||
AcpiDmAddExternalsToNamespace ();
|
||||
|
||||
/* Parse table. No need to reload it, however */
|
||||
/* Parse the table again. No need to reload it, however */
|
||||
|
||||
Status = AdParseTable (Table, NULL, FALSE, FALSE);
|
||||
if (ACPI_FAILURE (Status))
|
||||
@ -582,11 +582,12 @@ Cleanup:
|
||||
|
||||
if (OutToFile && File)
|
||||
{
|
||||
if (AslCompilerdebug) /* Display final namespace, with transforms */
|
||||
{
|
||||
LsSetupNsList (File);
|
||||
LsDisplayNamespace ();
|
||||
}
|
||||
|
||||
#ifdef ASL_DISASM_DEBUG
|
||||
LsSetupNsList (File);
|
||||
LsDisplayNamespace ();
|
||||
#endif
|
||||
fclose (File);
|
||||
AcpiOsRedirectOutput (stdout);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user