* [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo
@ 2011-05-17 16:23 fche at redhat dot com
2011-05-30 20:39 ` [Bug translator/12773] " fche at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fche at redhat dot com @ 2011-05-17 16:23 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12773
Summary: invoke abrt-action-debuginfo-install --id=XXXXX if
missing debuginfo
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
On fedora rawhide, ABRT has been extended with an interface we
could use to fetch dwarf stuff on demand. We could suggest or
even invoke this widget in the rpm-finder code.
https://bugzilla.redhat.com/show_bug.cgi?id=585039
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/12773] invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo
2011-05-17 16:23 [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo fche at redhat dot com
@ 2011-05-30 20:39 ` fche at redhat dot com
2011-07-04 21:21 ` fche at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2011-05-30 20:39 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12773
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2011-05-30 20:38:25 UTC ---
mjw advises the following scheme may work. In setupdwfl.cxx, replace
dwfl_standard_find_debuginfo with a new function of our own. This
function would:
- call dwfl_module_build_id to find the build-id hex string of interest
- run dwfl_build_id_find_debuginfo to see if it's already installed
- check whether /usr/bin/abrt-action-debuginfo-install exists
- try to run it with --id=XXXXX
- if it fails, set a flag so we don't try again
- tail-call through to return dwfl_standard_find_debuginfo();
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/12773] invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo
2011-05-17 16:23 [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo fche at redhat dot com
2011-05-30 20:39 ` [Bug translator/12773] " fche at redhat dot com
@ 2011-07-04 21:21 ` fche at redhat dot com
2011-07-04 21:48 ` mjw at redhat dot com
2011-07-19 13:51 ` cmeek at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2011-07-04 21:21 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12773
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> 2011-07-04 21:21:05 UTC ---
With fedora15 abrt-2.0.3-1.fc15.x86_64, the following works:
% eu-readelf -x .note.gnu.build-id /usr/bin/zip # for example
Hex dump of section [3] '.note.gnu.build-id', 36 bytes at offset 0x23c:
0x00000000 04000000 14000000 03000000 474e5500 ............GNU.
0x00000010 b038a398 648e7c04 6fd298aa c20b70bb .8..d.|.o.....p.
0x00000020 9d4a2f05 .J/.
% echo b038a398648e7c046fd298aac20b70bb9d4a2f05 |
abrt-action-install-debuginfo-to-abrt-cache -y --ids=-
[...]
% ls
/var/cache/abrt-di/usr/lib/debug/.build-id/b0/38a398648e7c046fd298aac20b70bb9d4a2f05
[...]
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/12773] invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo
2011-05-17 16:23 [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo fche at redhat dot com
2011-05-30 20:39 ` [Bug translator/12773] " fche at redhat dot com
2011-07-04 21:21 ` fche at redhat dot com
@ 2011-07-04 21:48 ` mjw at redhat dot com
2011-07-19 13:51 ` cmeek at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2011-07-04 21:48 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12773
Mark Wielaard <mjw at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjw at redhat dot com
--- Comment #3 from Mark Wielaard <mjw at redhat dot com> 2011-07-04 21:48:09 UTC ---
(In reply to comment #2)
> % eu-readelf -x .note.gnu.build-id /usr/bin/zip # for example
FYI.
eu-readelf -n or eu-unzip -n give a slightly easier way to read the build-id:
$ eu-readelf -n /usr/bin/zip
Note section [ 2] '.note.ABI-tag' of 32 bytes at offset 0x148:
Owner Data size Type
GNU 16 VERSION
OS: Linux, ABI: 2.6.32
Note section [ 3] '.note.gnu.build-id' of 36 bytes at offset 0x168:
Owner Data size Type
GNU 20 GNU_BUILD_ID
Build ID: d39236960645ea293a34c2af6761a74b821e231d
$ eu-unstrip -n -e /usr/bin/zip
0x8047000+0x80580 d39236960645ea293a34c2af6761a74b821e231d@0x8047178
/usr/bin/zip -
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/12773] invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo
2011-05-17 16:23 [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo fche at redhat dot com
` (2 preceding siblings ...)
2011-07-04 21:48 ` mjw at redhat dot com
@ 2011-07-19 13:51 ` cmeek at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: cmeek at redhat dot com @ 2011-07-19 13:51 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12773
cmeek@redhat.com <cmeek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |cmeek at redhat dot com
AssignedTo|systemtap at sourceware dot |cmeek at redhat dot com
|org |
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-07-19 13:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 16:23 [Bug translator/12773] New: invoke abrt-action-debuginfo-install --id=XXXXX if missing debuginfo fche at redhat dot com
2011-05-30 20:39 ` [Bug translator/12773] " fche at redhat dot com
2011-07-04 21:21 ` fche at redhat dot com
2011-07-04 21:48 ` mjw at redhat dot com
2011-07-19 13:51 ` cmeek at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).