diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-21 16:16:16 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-21 16:16:18 +0100 |
commit | f9a3ac03e9865385d34828e3e9e087770d6ba784 (patch) | |
tree | 35611346e1f4f3b0296a146d79c1e7d90f9cfd88 /bin/ptxdist | |
parent | 0dcec04d1023d4619be95aeaaa18674397d549df (diff) | |
download | ptxdist-f9a3ac03e9865385d34828e3e9e087770d6ba784.tar.gz ptxdist-f9a3ac03e9865385d34828e3e9e087770d6ba784.tar.xz |
ptxdist: cleanup before executing gdb
Otherwise the temporary files are not deleted and the logfile close marker
is not written.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-x | bin/ptxdist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index b2f5d445e..f9311405f 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1948,6 +1948,7 @@ EOF gdb) check_premake_compiler && compiler_prefix="$(ptxd_get_ptxconf PTXCONF_COMPILER_PREFIX)" && + ptxdist_trap_exit_handler && exec "${PTXDIST_PLATFORMDIR}/sysroot-host/lib/wrapper/${compiler_prefix}gdb" "${@}" ;; get|urlcheck) |