From: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH][RFC] gdb support in GRUB build system
Date: Thu, 7 Aug 2008 08:50:45 -0700 [thread overview]
Message-ID: <20080807085045.4afa096f@gibibit.com> (raw)
In-Reply-To: <1218094642.4021.7.camel@fz.local>
On Thu, 07 Aug 2008 09:37:22 +0200
Felix Zielcke <fzielcke@z-51.de> wrote:
> Am Dienstag, den 05.08.2008, 23:54 +0200 schrieb Robert Millan:
> > On Tue, Aug 05, 2008 at 01:50:21PM -0700, Colin D Bennett wrote:
> > > In that case, should --enable-debug be the default, or
> > > --disable-debug?
> >
> > I'd prefer to disable debug as default. What do others think?
> >
> Have it disabled by default.
> I don't think it's useful to have them for everyone i.e. the average
> user.
I agree that having debug info for the installed GRUB is not helpful,
especially for the general end-user. So files installed by the GRUB
install process certainly don't need debugging symbols.
My concern was only to generate the required symbol information at
build time, not to install it for a real GRUB install, or to package
these files for distribution in .rpm, .deb, etc.
I don't really care if it's the default or not since I can simply
choose my configure options as necessary for the task at hand. If I
have a debugging situation, then I can rebuild with debug info, since
I'd have to re-start the GRUB/QEMU session anyway to begin debugging.
(And I don't use the ridiculously slow QEMU for most stuff anyway.)
> Having debug symbols in the userland tools could be maybe a bit useful
> for example in the case of the grub-probe segfault I experienced on my
> mdraid experiments.
True, in that case it makes sense to include debug info (if a
distro's other packages include it), since a core dump could be used to
debug, or if core dumps aren't enabled, then you could simply re-run it
with 'gdb grub-probe' to try to recreate the problem. This doesn't
require the whole QEMU virtual machine situation that debugging the
GRUB boot loader itself requires.
Regards,
Colin
next prev parent reply other threads:[~2008-08-07 15:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 14:42 [PATCH][RFC] gdb support in GRUB build system Colin D Bennett
2008-08-05 15:05 ` Felix Zielcke
2008-08-05 15:11 ` Colin D Bennett
2008-08-05 15:23 ` Felix Zielcke
2008-08-05 20:14 ` Robert Millan
2008-08-05 20:50 ` Colin D Bennett
2008-08-05 21:54 ` Robert Millan
2008-08-07 0:26 ` Isaac Dupree
2008-08-07 7:37 ` Felix Zielcke
2008-08-07 15:50 ` Colin D Bennett [this message]
2008-08-07 16:07 ` Robert Millan
2008-08-07 17:43 ` Colin D Bennett
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=20080807085045.4afa096f@gibibit.com \
--to=colin@gibibit.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.