From: Tom Tromey <tromey@redhat.com>
To: "Maucci\, Cyrille" <cyrille.maucci@hp.com>
Cc: "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: Backtrace extraction ONLY gdb
Date: Thu, 24 Mar 2011 17:13:00 -0000 [thread overview]
Message-ID: <m3fwqc1ly9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <0E02F16954AF394BB163AEE50FDF548569009DAB5B@GVW1121EXC.americas.hpqcorp.net> (Cyrille Maucci's message of "Wed, 23 Mar 2011 22:22:04 +0000")
>>>>> "Cyrille" == Maucci, Cyrille <cyrille.maucci@hp.com> writes:
Cyrille> The suid trick may do it... Though isn't there some story about
Cyrille> suid scripts not being allowed?
Yeah. Write a little C program instead.
Tom> You can make them on the production machine and then analyze them
Tom> elsewhere.
Cyrille> Well if analyze them elsewhere is 'looking at the backtrace',
Cyrille> yes. If analyze them elsewhere is fully browsing the core
Cyrille> file, it requires the exact same exe/libs versions as on the
Cyrille> production system.
Yes. You can just copy those back, of course. Or, one thing I think
people do is keep one copy of the production build "locally", with full
debuginfo (separate or not), and then put a stripped copy on the
production machine.
Cyrille> HP's gdb adds a great feature called packcore to ease the
Cyrille> packing of everything needed for offline browsing with one
Cyrille> command.
Maybe this could be done from Python. I don't know offhand.
Tom
next prev parent reply other threads:[~2011-03-24 17:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 17:13 Maucci, Cyrille
2011-03-21 18:49 ` Eli Zaretskii
2011-03-23 22:17 ` Maucci, Cyrille
2011-03-23 22:43 ` Joel Brobecker
2011-03-23 22:51 ` Maucci, Cyrille
2011-03-24 5:25 ` Jan Kratochvil
2011-03-27 20:26 ` Maucci, Cyrille
2011-04-22 20:49 ` Maucci, Cyrille
2011-04-22 20:54 ` Jan Kratochvil
2011-03-24 10:25 ` Pedro Alves
2011-03-24 11:09 ` Maucci, Cyrille
2011-03-24 10:28 ` Steffen Dettmer
2011-03-24 13:01 ` Jan Kratochvil
2011-03-22 16:46 ` Tom Tromey
2011-03-23 22:21 ` Maucci, Cyrille
2011-03-24 17:13 ` Tom Tromey [this message]
2011-03-24 17:20 ` Jan Kratochvil
2011-03-24 19:00 ` Maucci, Cyrille
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fwqc1ly9.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=cyrille.maucci@hp.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox