diff options
Diffstat (limited to 'perl-install/install/share/gdb-inst')
-rw-r--r-- | perl-install/install/share/gdb-inst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/perl-install/install/share/gdb-inst b/perl-install/install/share/gdb-inst new file mode 100644 index 000000000..8cd7d837e --- /dev/null +++ b/perl-install/install/share/gdb-inst @@ -0,0 +1,24 @@ +#!/bin/sh +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 + + +WARNING: that keyboard is in QWERTY mode!!!! + +EOF +exec gdb -q --args perl /usr/bin/install2 |