From: Vladimir 'phcoder' Serbinenko Date: Sat, 10 Mar 2012 11:27:00 +0000 (+0100) Subject: * grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code. X-Git-Tag: 2.00~394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1e64eb432ea013e660cfa337454dd3a54f704f;p=thirdparty%2Fgrub.git * grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code. --- diff --git a/ChangeLog b/ChangeLog index 66c80e6c7..d4b56d94f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-03-10 Vladimir Serbinenko + + * grub-core/gdb/i386/idt.c (grub_gdb_breakpoint): Remove old debug code. + 2012-03-10 Vladimir Serbinenko * grub-core/commands/hashsum.c (grub_cmd_hashsum): Remove dot at the end diff --git a/grub-core/gdb/i386/idt.c b/grub-core/gdb/i386/idt.c index abdc2cebf..69bfcb089 100644 --- a/grub-core/gdb/i386/idt.c +++ b/grub-core/gdb/i386/idt.c @@ -74,7 +74,5 @@ grub_gdb_idtrestore (void) void grub_gdb_breakpoint (void) { - int x = 1, y = 0; - (void) (x / y); asm volatile ("int $3"); }