summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-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