mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
rungdb: store cd into rungdb.sh to make it actually rerunnable
This commit is contained in:
4
rungdb
4
rungdb
@@ -48,7 +48,6 @@ fi
|
|||||||
set_common_vars "$arch" "$gem5"
|
set_common_vars "$arch" "$gem5"
|
||||||
gdb="${host_dir}/usr/bin/${arch}-linux-gdb \\
|
gdb="${host_dir}/usr/bin/${arch}-linux-gdb \\
|
||||||
${before}"
|
${before}"
|
||||||
cd "${build_dir}/linux-custom/"
|
|
||||||
if "$kgdb"; then
|
if "$kgdb"; then
|
||||||
cmd="\
|
cmd="\
|
||||||
${gdb} \
|
${gdb} \
|
||||||
@@ -88,4 +87,5 @@ ${brk} \
|
|||||||
${lx_symbols} \
|
${lx_symbols} \
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
"${root_dir}/eeval" "$cmd $after" "${common_out_run_dir}/rungdb.sh"
|
"${root_dir}/eeval" "cd '${build_dir}/linux-custom/' && \\
|
||||||
|
$cmd $after" "${common_out_run_dir}/rungdb.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user