* grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-10 12:27:00 +01:00
parent c6d542119d
commit de1e64eb43
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code.
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com> 2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/hashsum.c (grub_cmd_hashsum): Remove dot at the end * grub-core/commands/hashsum.c (grub_cmd_hashsum): Remove dot at the end

View file

@ -74,7 +74,5 @@ grub_gdb_idtrestore (void)
void void
grub_gdb_breakpoint (void) grub_gdb_breakpoint (void)
{ {
int x = 1, y = 0;
(void) (x / y);
asm volatile ("int $3"); asm volatile ("int $3");
} }