Adding GDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding GDB

Jump to solution
1,636 Views
bladerunner1010
Contributor III

I get 'gdb not found' error on target.

 

0 Kudos
1 Solution
1,629 Views
yipingwang
NXP TechSupport
NXP TechSupport

For the difference between buildroot tiny and buildroot devel, please diff the file configs/buildroot/arm64_tiny_defconfig and configs/buildroot/arm64_devel_defconfig.

To enable gdb in buildroot:tiny rootfs, please execute the following commands.

$ flex-builder -m ls1043ardb -i clean-rfs -r buildroot:tiny

$ flex-builder -m ls1043ardb -i mkrfs -r buildroot:tiny:custom

Then select "gdb "in Target packages--> Debugging,profiling and benchmark --> gdb, select "full debugger"

Then execute the following command.

$ flex-builder -m ls1043ardb -i mkrfs -r buildroot:tiny

View solution in original post

1 Reply
1,630 Views
yipingwang
NXP TechSupport
NXP TechSupport

For the difference between buildroot tiny and buildroot devel, please diff the file configs/buildroot/arm64_tiny_defconfig and configs/buildroot/arm64_devel_defconfig.

To enable gdb in buildroot:tiny rootfs, please execute the following commands.

$ flex-builder -m ls1043ardb -i clean-rfs -r buildroot:tiny

$ flex-builder -m ls1043ardb -i mkrfs -r buildroot:tiny:custom

Then select "gdb "in Target packages--> Debugging,profiling and benchmark --> gdb, select "full debugger"

Then execute the following command.

$ flex-builder -m ls1043ardb -i mkrfs -r buildroot:tiny