[Libreoffice-commits] core.git: solenv/bin

Stephan Bergmann sbergman at redhat.com
Wed Apr 13 14:20:53 UTC 2016


 solenv/bin/gdb-core-bt.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d3f49514905fc0c4a8e30e1536340e25014cfc50
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 13 16:20:25 2016 +0200

    Also dump registers
    
    Change-Id: Ibff54fcbcf1bbd96a32ec48923b57eaa71a3ca1a

diff --git a/solenv/bin/gdb-core-bt.sh b/solenv/bin/gdb-core-bt.sh
index dba100e..ec21fb1 100755
--- a/solenv/bin/gdb-core-bt.sh
+++ b/solenv/bin/gdb-core-bt.sh
@@ -22,7 +22,7 @@ then
         echo "It looks like ${EXECUTABLE} generated a core file at ${COREFILE}"
         echo "Backtraces:"
         GDBCOMMANDFILE=$(mktemp)
-        echo "thread apply all backtrace full" > "$GDBCOMMANDFILE"
+        printf "info registers\nthread apply all backtrace full\n" > "$GDBCOMMANDFILE"
         gdb -x "$GDBCOMMANDFILE" --batch "$EXECUTABLE" "$COREFILE"
         rm "$GDBCOMMANDFILE"
         echo


More information about the Libreoffice-commits mailing list