aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
commit24b21115f522cd0fbe55986cd914a593576294ef (patch)
tree6f2f71d9ede68e21d0371cc5db25b50d64de53af /gdb/nat
parent01add95bed9afd5e7815439c3967db976be53f80 (diff)
downloadgdb-24b21115f522cd0fbe55986cd914a593576294ef.zip
gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz
gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.bz2
gdb: fix tab after space indentation issues
I spotted some indentation issues where we had some spaces followed by tabs at beginning of line, that I wanted to fix. So while at it, I did a quick grep to find and fix all I could find. gdb/ChangeLog: * Fix tab after space indentation issues throughout. Change-Id: I1acb414dd9c593b474ae2b8667496584df4316fd
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__, _("\