From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018675.html | 196 ++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018675.html (limited to 'zarb-ml/mageia-dev/2012-September/018675.html') diff --git a/zarb-ml/mageia-dev/2012-September/018675.html b/zarb-ml/mageia-dev/2012-September/018675.html new file mode 100644 index 000000000..144d8f6e7 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018675.html @@ -0,0 +1,196 @@ + + + + [Mageia-dev] How to install a debug package with its dependencies? + + + + + + + + + +

[Mageia-dev] How to install a debug package with its dependencies?

+ Phoenix Guo + phoenix.guo at gmail.com +
+ Fri Sep 14 16:07:42 CEST 2012 +

+
+ +
2012/9/14 Guillaume Rousse <guillomovitch at gmail.com>:
+> Le 13/09/2012 18:06, Phoenix Guo a écrit :
+>
+>> Hi All,
+>>
+>> Could someone kindly tell me that how to install a debug package with
+>> its dependencies?
+>
+> There is not dependencies between debug packages, in the sense of 'debug
+> package X need debug package Y to be used'.
+>
+>
+
+Thanks for your explaination.
+
+
+>> For example, I install the firefox-debug-10.0.7-1.mga2.x86_64 package
+>> for debugging the firefox. While gdb load the firefox core dump file,
+>> gdb cannot read debugging symbols from other debug packages as they
+>> are not installed at the same time. Although they are needed for
+>> debugging.
+>
+> I don't know if there an easy way to do it. Usually, tough, the name of the
+> function where the crash does occurs is enough to tell wich debug package is
+> needed exactly.
+>
+> That could be an interesting urpmi feature, tough, to be able to
+> automatically install all those packages at once.
+> --
+> BOFH excuse #350:
+>
+> paradigm shift...without a clutch
+
+Yes. Because while debugging a program in RHEL or Fedora, a command
+named 'debuginfo-install' which is provided by yum-utils can be used
+to automatically install all needed debug information packages. For
+example, to install the debuginfo package of bash:
+
+#debuginfo-install bash
+Loaded plugins: fastestmirror, refresh-packagekit, remove-with-leaves
+enabling epel-debuginfo
+Loading mirror speeds from cached hostfile
+ * base: mirrors.btte.net
+ * epel: ftp.riken.jp
+ * epel-debuginfo: ftp.riken.jp
+ * extras: mirrors.btte.net
+ * nux-dextop: mirror.li.nux.ro
+ * updates: mirrors.163.com
+Checking for new repos for mirrors
+Could not find debuginfo pkg for dependency package
+ncurses-libs-5.7-3.20090208.el6.x86_64
+--> Running transaction check
+---> Package bash-debuginfo.x86_64 0:4.1.2-9.el6_2 will be installed
+---> Package glibc-debuginfo.x86_64 0:2.12-1.80.el6_3.5 will be installed
+--> Processing Dependency: glibc-debuginfo-common = 2.12-1.80.el6_3.5
+for package: glibc-debuginfo-2.12-1.80.el6_3.5.x86_64
+---> Package yum-plugin-auto-update-debug-info.noarch 0:1.1.30-14.el6
+will be installed
+--> Running transaction check
+---> Package glibc-debuginfo-common.x86_64 0:2.12-1.80.el6_3.5 will be installed
+--> Finished Dependency Resolution
+
+Dependencies Resolved
+
+======================================================================================================================================================
+ Package                                              Arch
+         Version                                Repository
+   Size
+======================================================================================================================================================
+Installing:
+ bash-debuginfo                                       x86_64
+         4.1.2-9.el6_2                          debug
+  1.3 M
+ glibc-debuginfo                                      x86_64
+         2.12-1.80.el6_3.5                      debug
+  8.7 M
+ yum-plugin-auto-update-debug-info                    noarch
+         1.1.30-14.el6                          base
+   22 k
+Installing for dependencies:
+ glibc-debuginfo-common                               x86_64
+         2.12-1.80.el6_3.5                      debug
+  8.2 M
+
+Transaction Summary
+======================================================================================================================================================
+Install       4 Package(s)
+
+Total download size: 18 M
+Installed size: 105 M
+Is this ok [y/N]:
+
+
+For developer and Testing Engineer, the easier to obtain full debug
+information about a package, the easier to find out defects or bugs.
+
+Besides the debuginfo package, I think the kexec package is important
+to generate a vmcore if the kernel panic occurs. I repackage the
+kexec-tools of Mandriva for Mageia and currently testing on my laptop.
+
+BTW, the gdb in the mageia2 still cannot tell which debug packages
+should be installed while debugging. And it seems that the work-around
+~~~
+https://bugs.mageia.org/show_bug.cgi?id=3417#c19
+~~~
+does not works...
+
+Should I recompile the latest gdb package on Mageia to make it work?
+
+Many thanks!!
+
+Best Regards,
+--
+chgurusky
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1