[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wiki DebuggingWithGDB
From: |
Felix Zielcke |
Subject: |
Wiki DebuggingWithGDB |
Date: |
Mon, 28 Jul 2008 13:35:51 +0200 |
(Probable Lubomir is subscribed but just in case sending the mail to
him, he made originally the Wiki page and is hosting the patch.)
I just tried that GRUB in qemu debugging with GDB stuff.
The Stuff on that Wiki page is a bit outdated.
I'm not that familiar with such things but maybe I can try to fix this
myself.
Attached is the grub2-gdb.diff updated to current SVN version.
I don't have any webspace to host it.
I have compiled grub2 with CFLAGS="-g3 -O0"
gdb shows:
GNU gdb 6.8-debian
[copyright stuff]
This GDB was configured as "x86_64-linux-gnu".
0x00008c1e in grub_console_getkey ()
Function "grub_dl_add" not defined.
/home/fz/grub/grub2.svn/.gdbinit:78: Error in sourced command file:
No breakpoint number 0.
(gdb) bt
#0 0x00008c1e in grub_console_getkey ()
#1 0x81400006 in ?? ()
#2 0x02060000 in ?? ()
#3 0xff0080ff in ?? ()
#4 0x00000000 in ?? ()
grub2-gdb.diff
Description: Text Data
- Wiki DebuggingWithGDB,
Felix Zielcke <=