scripts/gdb/utils: add common type usage
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Tue, 8 Aug 2023 08:30:13 +0000 (16:30 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:46:22 +0000 (13:46 -0700)
commit4d040cbca8e4714cc83e17778b6a28c6df41f79c
treed955c47ab62e1bfda05a94a82a8c5e79be0b6a63
parent82141540c3e01d1929299c81375e97b80b8eaf52
scripts/gdb/utils: add common type usage

Since we often use 'unsigned long', 'size_t', 'usigned int'
and 'struct page', we add these common types to utils.

Link: https://lkml.kernel.org/r/20230808083020.22254-4-Kuan-Ying.Lee@mediatek.com
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Qun-Wei Lin <qun-wei.lin@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/utils.py