aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/linux-namespaces.c6
-rw-r--r--gdb/nat/x86-dregs.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c
index 801a81b..0c4fadd 100644
--- a/gdb/nat/linux-namespaces.c
+++ b/gdb/nat/linux-namespaces.c
@@ -771,15 +771,15 @@ mnsh_maybe_mourn_peer (void)
#define mnsh_send_open(helper, filename, flags, mode) \
mnsh_send_message (helper->sock, MNSH_REQ_OPEN, -1, flags, mode, \
- filename, strlen (filename) + 1)
+ filename, strlen (filename) + 1)
#define mnsh_send_unlink(helper, filename) \
mnsh_send_message (helper->sock, MNSH_REQ_UNLINK, -1, 0, 0, \
- filename, strlen (filename) + 1)
+ filename, strlen (filename) + 1)
#define mnsh_send_readlink(helper, filename) \
mnsh_send_message (helper->sock, MNSH_REQ_READLINK, -1, 0, 0, \
- filename, strlen (filename) + 1)
+ filename, strlen (filename) + 1)
/* Receive a message from the helper. Issue an assertion failure if
the message isn't a correctly-formatted MNSH_RET_INT. Set RESULT
diff --git a/gdb/nat/x86-dregs.c b/gdb/nat/x86-dregs.c
index 7ef959b..b4eb7bf 100644
--- a/gdb/nat/x86-dregs.c
+++ b/gdb/nat/x86-dregs.c
@@ -252,7 +252,7 @@ Invalid hardware breakpoint type %d in x86_length_and_rw_bits.\n"),
return (DR_LEN_4 | rw);
case 8:
if (TARGET_HAS_DR_LEN_8)
- return (DR_LEN_8 | rw);
+ return (DR_LEN_8 | rw);
/* FALL THROUGH */
default:
internal_error (__FILE__, __LINE__, _("\