From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH][RFC] gdb support in GRUB build system
Date: Thu, 07 Aug 2008 09:37:22 +0200 [thread overview]
Message-ID: <1218094642.4021.7.camel@fz.local> (raw)
In-Reply-To: <20080805215402.GA4756@thorin>
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.
What do they gain with it?
If you want to debug real grub you need qemu/bochs and gdb isn't that
easy (for the avera users)
Ok maybe I think still more like a Windows guy and not a Linux one, but
with Opensuse and Ubuntu I think Linux gets more attractive to people
who aren't that experts as we are here on the list :)
Why should we waste a bit of space by default for every Linux
distribution?
I doubt they all figure out that they can just disable it on creating
there .rpm etc.
And I doubt Robert is disabling this for the Debian build if it's by
default enabled on upstream ;)
For debugging it's always the best if you compile with -O0 too and this
shouldn't really be the default.
For the few people who need to debug real grub it shouldn't be too hard
to just recompile it with `CFLAGS="-g3 -O0" ./configure --enable-debug'
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.
next prev parent reply other threads:[~2008-08-07 7:38 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 [this message]
2008-08-07 15:50 ` Colin D Bennett
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=1218094642.4021.7.camel@fz.local \
--to=fzielcke@z-51.de \
--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.