Wind River Support Network

HomeDefectsLIN1021-10203
Fixed

LIN1021-10203 : gdb arm64 shows syntax error

Created: Jul 10, 2024    Updated: Dec 8, 2024
Resolved Date: Jul 30, 2024
Found In Version: 10.21.20.22
Fix Version: 10.21.20.24
Severity: Severe
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

when loading Arm64 vmlinux in gdb Arm64, it shows syntax error if Linux gdb helper scripts get configured.

Steps to Reproduce

# configure a project for arm64 bsp (marvell-cn96xx for example)
 # in the kernel, enable the helper scripts: 
{{CONFIG_GDB_SCRIPTS}} = y
 # build the kernel: bitbake linux-yocto
 # enter devshell: bitbake linux-yocto -c devshell
 # in devshell, build the helper scripts: make scripts_gdb
 # use an appropriate gdb on the vmlinux from the kernel build dir: aarch64-wrs-linux-gdb vmlinux
Live chat
Online