[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH][RFC] gdb support in GRUB build system
From: |
Colin D Bennett |
Subject: |
[PATCH][RFC] gdb support in GRUB build system |
Date: |
Tue, 5 Aug 2008 07:42:29 -0700 |
I following the GRUB 2 gdb debugging instructions this week and I was
successful in using QEMU and gdb to debug GRUB. I wondered if we could
make this a bit easier -- primarily by making GRUB's build system
generate the '.elf' files with full symbol info without requiring a
patch. Attached is a patch against GRUB 2 trunk (this is the one
from the GRUB 2 debugging guide, just fixed to apply on the latest
GRUB sources).
We could make it a 'configure' option like '--enable-debug' or
something, but it seems like minimal overhead to generate the .elf
files for gdb in addition to "real" GRUB files.
Let me know what you all think. Thanks!
Regards,
Colin
grub-gdb.patch
Description: Text Data
signature.asc
Description: PGP signature
- [PATCH][RFC] gdb support in GRUB build system,
Colin D Bennett <=
- 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, 2008/08/07
- 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