From: Yao Qi Date: Fri, 17 May 2013 02:22:52 +0000 (+0000) Subject: gdb/gdbserver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f7a20fe9139eecab0d9b845f792498ae14d3ae;p=binutils-gdb.git gdb/gdbserver * i386-low.c (i386_length_and_rw_bits): Move the comment to the right place. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7f284c9adad..b7fab1cde86 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-05-17 Yao Qi + + * i386-low.c (i386_length_and_rw_bits): Move the comment to + the right place. + 2013-05-16 Luis Machado * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR, diff --git a/gdb/gdbserver/i386-low.c b/gdb/gdbserver/i386-low.c index 4ec41fc03c1..86ec5d8595f 100644 --- a/gdb/gdbserver/i386-low.c +++ b/gdb/gdbserver/i386-low.c @@ -243,10 +243,10 @@ Invalid hardware breakpoint type %d in i386_length_and_rw_bits.\n", return (DR_LEN_2 | rw); case 4: return (DR_LEN_4 | rw); - /* ELSE FALL THROUGH */ case 8: if (TARGET_HAS_DR_LEN_8) return (DR_LEN_8 | rw); + /* ELSE FALL THROUGH */ default: error ("\ Invalid hardware breakpoint length %d in i386_length_and_rw_bits.\n", len);