[opensuse-factory] using gdb in inst-sys to get backtraces
Is there some easy way to use gdb in inst-sys? Right now the binary is not even included, and even if it would be there the debuginfo files would be missing. If the system to debug has enough memory it shouldnt be hard to load more required files into memory to simplify backtrace gathering, like in bnc#867919 Olaf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Dne Středa 12. březen 2014, 09:42:48 [CET] Olaf Hering napsal:
Is there some easy way to use gdb in inst-sys? Right now the binary is not even included, and even if it would be there the debuginfo files would be missing.
If the system to debug has enough memory it shouldnt be hard to load more required files into memory to simplify backtrace gathering, like in bnc#867919
In this case, to get the backtrace for tar, you can copy the tar.debug file from tar-debuginfo package to the directory where the tar binary resides. See https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html -- Vita Cizek
On Wed, 12 Mar 2014 09:42:48 +0100 Olaf Hering <olaf@aepfle.de> wrote:
Is there some easy way to use gdb in inst-sys? Right now the binary is not even included, and even if it would be there the debuginfo files would be missing.
If the system to debug has enough memory it shouldnt be hard to load more required files into memory to simplify backtrace gathering, like in bnc#867919
Olaf
you can have gdb in inst-sys by calling `extend gdb` you correctly get memory reason why it is not in memory, but can be added by extend. Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 12.03.2014 09:42, schrieb Olaf Hering:
Is there some easy way to use gdb in inst-sys? Right now the binary is not even included, and even if it would be there the debuginfo files would be missing.
extend gdb then just create a core and get the backtrace somewhere else? -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Josef Reidinger
-
Olaf Hering
-
Stefan Seyfried
-
Vitezslav Cizek