[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH][RFC] gdb support in GRUB build system
From: |
Felix Zielcke |
Subject: |
Re: [PATCH][RFC] gdb support in GRUB build system |
Date: |
Thu, 07 Aug 2008 09:37:22 +0200 |
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.
- [PATCH][RFC] gdb support in GRUB build system, Colin D Bennett, 2008/08/05
- Re: [PATCH][RFC] gdb support in GRUB build system, Felix Zielcke, 2008/08/05
- Re: [PATCH][RFC] gdb support in GRUB build system, Robert Millan, 2008/08/05
- Re: [PATCH][RFC] gdb support in GRUB build system, Colin D Bennett, 2008/08/05
- Re: [PATCH][RFC] gdb support in GRUB build system, Robert Millan, 2008/08/05
- Re: [PATCH][RFC] gdb support in GRUB build system, Isaac Dupree, 2008/08/06
- Re: [PATCH][RFC] gdb support in GRUB build system,
Felix Zielcke <=
- Re: [PATCH][RFC] gdb support in GRUB build system, Colin D Bennett, 2008/08/07
- Re: [PATCH][RFC] gdb support in GRUB build system, Robert Millan, 2008/08/07
- Re: [PATCH][RFC] gdb support in GRUB build system, Colin D Bennett, 2008/08/07