[Bug 843320] New: Improvement request for gdb when asking to install extra debug packages
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c0 Summary: Improvement request for gdb when asking to install extra debug packages Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- When gdb says we should install extra packages, it says so like this, in a very long paragraph: Missing separate debuginfo for /usr/lib64/libSM.so.6 Try: zypper install -C "debuginfo(build-id)=79fefe2c609ad87d5a8f425318ce8925aa865a27" Missing separate debuginfo for /usr/lib64/libICE.so.6 Try: zypper install -C "debuginfo(build-id)=e8113eebc3a1829977c056484751c39c9241d529" Missing separate debuginfo for /usr/lib64/libX11.so.6 Try: zypper install -C "debuginfo(build-id)=3bac3ca522e899b112ed9272cceac1a6076c9066" Missing separate debuginfo for /usr/lib64/libatk-1.0.so.0 Try: zypper install -C "debuginfo(build-id)=dcba8adc2b650d5fb93a55c619d218ece972544a" Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0 Try: zypper install -C "debuginfo(build-id)=b6a65dfdb1eb1ccab336510db11ff7d6675aee42" Missing separate debuginfo for /usr/lib64/libstartup-notification-1.so.0 (several pages more) I propose the format be changed to a single line or file like this: zypper install -C "debuginfo(build-id)=e8113eebc3a1829977c056484751c39c9241d529" "debuginfo(build-id)=3bac3ca522e899b112ed9272cceac1a6076c9066" "debuginfo(build-id)=dcba8adc2b650d5fb93a55c619d218ece972544a" "debuginfo(build-id)=b6a65dfdb1eb1ccab336510db11ff7d6675aee42" "debuginfo(build-id)=4dd5856595c1a66c6d890bc8bee23b6a88807af5" "debuginfo(build-id)=e683005cf2b4c0a41ec22425b35079b81436b281" "debuginfo(build-id)=de8cbc2fe33410e02a36aef18f4e3cc5c50927ca" "debuginfo(build-id)=79d25a3c0951f18f8631c35911cac80cba5a4af0" "debuginfo(build-id)=33b657737b470bda3a2ba9fbbd914e0bf614ee15" "debuginfo(build-id)=452f80a0199cdd3a32174c3699b229dd4449d3f7" "debuginfo(build-id)=0b9af65ba3942b67c28cc273ce58bca16fbac87a" "debuginfo(build-id)=1c73a821d872b25fbceb21ab2ffa45dc0c266622" ...... So that a single copy paste does the trick. Or even fire itself the zypper command on request. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |rguenther@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c1 --- Comment #1 from Richard Biener <rguenther@suse.com> 2013-11-15 09:09:11 UTC --- Usually I only install specific debuginfo (because I know where a crash occurs). With a single install command you lose the library <-> build-id association and are forced to install all missed debuginfo packages ... So it's not clear to me that this is desired. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c2 --- Comment #2 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-11-15 10:29:01 UTC --- (In reply to comment #1)
Usually I only install specific debuginfo (because I know where a crash occurs). With a single install command you lose the library <-> build-id association and are forced to install all missed debuginfo packages ...
So it's not clear to me that this is desired.
Well, a switch can be added so that the displayed text changes as suggested, so that those of us who are not devs but are told to run it in order to fill a bugzilla, can install those hundreds of packages without doing hundreds of copy-pastes. It would be appreciated. Literally hundreds of copy paste operations. It can be a switch, or another command, on screen, on a file... whatever, surely there are many ways you can think about. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c3 --- Comment #3 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-11-15 10:31:04 UTC --- For example, at the end of the text, there can be a suggested gdb command call, that if run dumps the text for a script or command call to zypper install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=843320 https://bugzilla.novell.com/show_bug.cgi?id=843320#c4 --- Comment #4 from Richard Biener <rguenther@suse.com> 2013-11-15 12:11:31 UTC --- Btw, I get for binaries Missing separate debuginfos, use: zypper install xterm-debuginfo-276-2.1.3.x86_64 seems nobody updated the gdb spec file for librpm3 (I just assume 12.3 has /usr/lib64/librpm.so.3) Can you try the gdb from devel:gcc once it re-built? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=843320 http://bugzilla.novell.com/show_bug.cgi?id=843320#c5 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener <rguenther@suse.com> --- It already reasonably groups now: (gdb) start Temporary breakpoint 5 at 0x1a4233d: file /space/rguenther/src/svn/early-lto-debug/gcc/main.c, line 37. Starting program: /home/abuild/rguenther/obj-early-lto-debug-g/gcc/cc1 Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-4.6.3.x86_64 Temporary breakpoint 5, main (argc=1, argv=0x7fffffffde18) at /space/rguenther/src/svn/early-lto-debug/gcc/main.c:37 37 true /* init_signals */); Missing separate debuginfos, use: zypper install libgmp10-debuginfo-5.1.3-5.46.x86_64 libisl15-debuginfo-0.18-31.1.x86_64 libmpc3-debuginfo-1.0.2-4.55.x86_64 libmpfr4-debuginfo-3.1.2-11.53.x86_64 that is with gdb 8.0 (but also earlier versions I guess). When librpm support is enabled. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com