GDB serial and backtrace support.
* grub-core/kern/i386/realmode.S (real_to_prot): Reload IDT. (prot_to_real): Likewise. * grub-core/kern/i386/int.S (grub_bios_interrupt): Remove IDT reload. * grub-core/Makefile.core.def (backtrace): New module. (gdb): Likewise. * grub-core/gdb/cstub.c: New file. * grub-core/gdb/gdb.c: Likewise. * grub-core/gdb/i386/idt.c: Likewise. * grub-core/gdb/i386/machdep.S: Likewise. * grub-core/gdb/i386/signal.c: Likewise. * grub-core/lib/i386/backtrace.c: Likewise. * include/grub/backtrace.h: Likewise. * include/grub/gdb.h: Likewise. * include/grub/i386/gdb.h: Likewise. Also-By: Vladimir Serbinenko <phcoder@gmail.com>
This commit is contained in:
commit
ff27c3dd5d
13 changed files with 1052 additions and 29 deletions
|
@ -1757,6 +1757,13 @@ module = {
|
|||
common = commands/testload.c;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = backtrace;
|
||||
x86 = lib/i386/backtrace.c;
|
||||
common = lib/backtrace.c;
|
||||
enable = x86;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = lsapm;
|
||||
common = commands/i386/pc/lsapm.c;
|
||||
|
@ -1799,3 +1806,14 @@ module = {
|
|||
name = all_video;
|
||||
common = lib/fake_module.c;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = gdb;
|
||||
common = gdb/cstub.c;
|
||||
common = gdb/gdb.c;
|
||||
i386 = gdb/i386/idt.c;
|
||||
i386 = gdb/i386/machdep.S;
|
||||
i386 = gdb/i386/signal.c;
|
||||
enable = i386;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue