aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-17 02:22:52 +0000
committerYao Qi <yao@codesourcery.com>2013-05-17 02:22:52 +0000
commit96f7a20fe9139eecab0d9b845f792498ae14d3ae (patch)
treedbb6dbc138ab4bd65a5e1a7d8c7cb8ebad4771ad /gdb/gdbserver
parent4bebc771c77a738e753aa8555d3c38e1b2e63329 (diff)
downloadgdb-96f7a20fe9139eecab0d9b845f792498ae14d3ae.zip
gdb-96f7a20fe9139eecab0d9b845f792498ae14d3ae.tar.gz
gdb-96f7a20fe9139eecab0d9b845f792498ae14d3ae.tar.bz2
gdb/gdbserver
* i386-low.c (i386_length_and_rw_bits): Move the comment to the right place.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/i386-low.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7f284c9..b7fab1c 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-17 Yao Qi <yao@codesourcery.com>
+
+ * i386-low.c (i386_length_and_rw_bits): Move the comment to
+ the right place.
+
2013-05-16 Luis Machado <lgustavo@codesourcery.com>
* 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 4ec41fc..86ec5d8 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);