From 7efdacd524708ffb8c1fad85a22d9317c58b1221 Mon Sep 17 00:00:00 2001 From: StalkR Date: Tue, 25 Mar 2014 16:12:56 +0100 Subject: [PATCH] do not "set arm show-opcode-bytes" when not necessary as it can be an undefined command and break --- gdbinit | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gdbinit b/gdbinit index 0e3d218..075c66f 100644 --- a/gdbinit +++ b/gdbinit @@ -3157,8 +3157,6 @@ define hook-stop if $ARM == 1 if $ARMOPCODES == 1 set arm show-opcode-bytes 1 - else - set arm show-opcode-bytes 0 end else if $X86FLAVOR == 0 @@ -3665,8 +3663,6 @@ end define arm if $ARMOPCODES == 1 set arm show-opcode-bytes 1 - else - set arm show-opcode-bytes 1 end set $ARM = 1 end