Fix Compilation for host cmake tools.
and fix compilation of x86_64 target.
This commit is contained in:
13
bsp/scripts/gen_gdb_script.sh
Executable file
13
bsp/scripts/gen_gdb_script.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "===> Generate GDB script"
|
||||
echo " AW_STAGING=${AW_STAGING}"
|
||||
echo " AW_PROJECT=${AW_PROJECT}"
|
||||
|
||||
echo "add-auto-load-safe-path ${AW_STAGING}" > ${AW_STAGING}/gdb.script
|
||||
echo "set solib-absolute-prefix ${AW_STAGING}/buildroot/staging" >> ${AW_STAGING}/gdb.script
|
||||
echo "dir ${AW_PROJECT}/../../../.." >> ${AW_STAGING}/gdb.script
|
||||
|
||||
|
||||
echo "The gdb script : ${AW_STAGING}/gdb.script"
|
||||
|
||||
Reference in New Issue
Block a user