* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
@ 2021-03-12 17:30 ` mark at klomp dot org
2021-03-12 17:45 ` mliska at suse dot cz
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mark at klomp dot org @ 2021-03-12 17:30 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
I assume this would be some kind of "pack" command? Which would pack all
relevant files, executables and debuginfo together into one directory?
Maybe it should be an extension to debuginfod-find.
Something like debuginfod-find pack <corefile> <dir>?
Should it just be the executable? Include the debuginfo? Sources?
Could you describe the use case a little more?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
2021-03-12 17:30 ` [Bug tools/27573] " mark at klomp dot org
@ 2021-03-12 17:45 ` mliska at suse dot cz
2021-03-12 18:15 ` fche at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mliska at suse dot cz @ 2021-03-12 17:45 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
(In reply to Mark Wielaard from comment #1)
> I assume this would be some kind of "pack" command? Which would pack all
> relevant files, executables and debuginfo together into one directory?
Exactly.
>
> Maybe it should be an extension to debuginfod-find.
> Something like debuginfod-find pack <corefile> <dir>?
> Should it just be the executable? Include the debuginfo? Sources?
It should be likely something that can gdb properly consume.
>
> Could you describe the use case a little more?
Imagine you receive a core file for an old supported product. You want to
investigate it in gdb on a different machine (with a more recent OS) and you
want to get all the needed debugging information from a debuginfod server.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
2021-03-12 17:30 ` [Bug tools/27573] " mark at klomp dot org
2021-03-12 17:45 ` mliska at suse dot cz
@ 2021-03-12 18:15 ` fche at redhat dot com
2021-03-12 18:48 ` fche at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2021-03-12 18:15 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
A single coredump executable that contains all the solib bits + all the
debuginfo for all the solibs ... is that even possible in principle?
If the use case is letting a gdb user without debuginfod connectivity of her
own access a cache of debug content ... perhaps transmit a tarball of
$HOME/.cache/debuginfod along with the core dump?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
` (2 preceding siblings ...)
2021-03-12 18:15 ` fche at redhat dot com
@ 2021-03-12 18:48 ` fche at redhat dot com
2021-03-15 13:45 ` mliska at suse dot cz
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2021-03-12 18:48 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #4 from Frank Ch. Eigler <fche at redhat dot com> ---
see also perf-archive(1)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
` (3 preceding siblings ...)
2021-03-12 18:48 ` fche at redhat dot com
@ 2021-03-15 13:45 ` mliska at suse dot cz
2021-03-15 13:54 ` fche at redhat dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mliska at suse dot cz @ 2021-03-15 13:45 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #5 from Martin Liska <mliska at suse dot cz> ---
> If the use case is letting a gdb user without debuginfod connectivity of her
> own access a cache of debug content ... perhaps transmit a tarball of
> $HOME/.cache/debuginfod along with the core dump?
That can be a solution. To be honest, gdb should be able to load all these with
libdebuginfod-client library.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
` (4 preceding siblings ...)
2021-03-15 13:45 ` mliska at suse dot cz
@ 2021-03-15 13:54 ` fche at redhat dot com
2021-03-15 13:58 ` mliska at suse dot cz
2021-03-15 14:06 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2021-03-15 13:54 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #6 from Frank Ch. Eigler <fche at redhat dot com> ---
> To be honest, gdb should be able to load all these with libdebuginfod-client library.
It can - as long as $DEBUGINFOD_URLS is set to something, anything, the client
library will gladly check out the cache.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
` (5 preceding siblings ...)
2021-03-15 13:54 ` fche at redhat dot com
@ 2021-03-15 13:58 ` mliska at suse dot cz
2021-03-15 14:06 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: mliska at suse dot cz @ 2021-03-15 13:58 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
Martin Liska <mliska at suse dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=27570
--- Comment #7 from Martin Liska <mliska at suse dot cz> ---
(In reply to Frank Ch. Eigler from comment #6)
> > To be honest, gdb should be able to load all these with libdebuginfod-client library.
>
> It can - as long as $DEBUGINFOD_URLS is set to something, anything, the
> client library will gladly check out the cache.
Apparently, the support is somehow missing:
https://sourceware.org/bugzilla/show_bug.cgi?id=27570
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tools/27573] eu-unstrip: assemble debugable executable for a core file
2021-03-12 17:21 [Bug tools/27573] New: eu-unstrip: assemble debugable executable for a core file mliska at suse dot cz
` (6 preceding siblings ...)
2021-03-15 13:58 ` mliska at suse dot cz
@ 2021-03-15 14:06 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2021-03-15 14:06 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27573
--- Comment #8 from Frank Ch. Eigler <fche at redhat dot com> ---
OK - once gdb fixes that shortcoming, the .cache should contain
both executables and debuginfo, and then zip-packing up the
cache should fulfill this use case with existing elfutils code.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread