summaryrefslogtreecommitdiffstats
path: root/perl-install/install/share/gdb-inst
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-12 10:59:00 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-12 21:30:57 +0100
commit2b80ee5e648b7b1001119c74c9b416dea217f9e1 (patch)
tree60f5ad93250a3fe9c04b16e47836d0f152c30095 /perl-install/install/share/gdb-inst
parentdd28f6573bad3a9a4a4b86a22be7cbdca1bf99b8 (diff)
downloaddrakx-2b80ee5e648b7b1001119c74c9b416dea217f9e1.tar
drakx-2b80ee5e648b7b1001119c74c9b416dea217f9e1.tar.gz
drakx-2b80ee5e648b7b1001119c74c9b416dea217f9e1.tar.bz2
drakx-2b80ee5e648b7b1001119c74c9b416dea217f9e1.tar.xz
drakx-2b80ee5e648b7b1001119c74c9b416dea217f9e1.zip
explain how to get a stack trace
Diffstat (limited to 'perl-install/install/share/gdb-inst')
-rw-r--r--perl-install/install/share/gdb-inst22
1 files changed, 21 insertions, 1 deletions
diff --git a/perl-install/install/share/gdb-inst b/perl-install/install/share/gdb-inst
index 84c2db9bf..d5ab6c6ca 100644
--- a/perl-install/install/share/gdb-inst
+++ b/perl-install/install/share/gdb-inst
@@ -1,2 +1,22 @@
#!/bin/sh
-exec gdb -q --args perl /usr/bin/install2 \ No newline at end of file
+cat <<EOF
+You can now type "run" in order to start the installer from within the debugger.
+If it segfaults, you can:
+- go back to tty2 by pressing Alt+Ctlr+F2.
+- type "gcore" in order to generate a core file
+- type "exit" to go back to the shell.
+- you can then:
+ o either plug a USB key to your physical/virtual machine and copy the
+ core.XXXX file on it
+ o copy it to /mnt if you already passed the partitionning step ;
+ you can later retrieve it from another OS (dual boot) or using guestfish if
+ it's a virtual machine
+
+On a real Mageia system, you can then install the needed debuginfo packages and
+get a proper stack trace with GDB. You would probably need at least the
+following packages:
+ urpmi {glibc,perl{,-Glib,-Gtk2},glib2.0,gtk+2.0}-debuginfo
+
+
+EOF
+exec gdb -q --args perl /usr/bin/install2