mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +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"
|
||||
gdb="${host_dir}/usr/bin/${arch}-linux-gdb \\
|
||||
${before}"
|
||||
cd "${build_dir}/linux-custom/"
|
||||
if "$kgdb"; then
|
||||
cmd="\
|
||||
${gdb} \
|
||||
@@ -88,4 +87,5 @@ ${brk} \
|
||||
${lx_symbols} \
|
||||
"
|
||||
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