]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: change kernel config dumping method
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Fri, 10 Jun 2022 07:14:57 +0000 (15:14 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 11 Jun 2022 09:31:53 +0000 (18:31 +0900)
commit640d11035fc3bd9c1cc47e8f3200e2d458ceb6c0
tree28de375670d387c5e023af41ae3e19bbaad60e9f
parent2e2d8f9230cfb116a58a31bf26f42165cdeae508
scripts/gdb: change kernel config dumping method

MAGIC_START("IKCFG_ST") and MAGIC_END("IKCFG_ED") are moved out
from the kernel_config_data variable.

Thus, we parse kernel_config_data directly instead of considering
offset of MAGIC_START and MAGIC_END.

Fixes: 266cad78d55b ("kernel/configs: use .incbin directive to embed config_data.gz")
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/gdb/linux/config.py