aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-nat.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-06-25 14:57:42 +0100
committerGary Benson <gbenson@redhat.com>2014-07-11 12:24:22 +0100
commit1aa7e42c3f5c5295f81ff94301c642642be86395 (patch)
tree57cbdde99cd37eb8535c503266b189ae5f6178a9 /gdb/amd64-linux-nat.c
parentc1e246a060dd1eab0c2551d86844edb199994ff7 (diff)
downloadgdb-1aa7e42c3f5c5295f81ff94301c642642be86395.zip
gdb-1aa7e42c3f5c5295f81ff94301c642642be86395.tar.gz
gdb-1aa7e42c3f5c5295f81ff94301c642642be86395.tar.bz2
Comment and whitespace changes
This commit merges the comments and whitespace in the common parts of i386-linux-nat.c and amd64-linux-nat.c. gdb/ 2014-07-11 Gary Benson <gbenson@redhat.com> * amd64-linux-nat.c: Comment and whitespace changes. * i386-linux-nat.c: Comment and whitespace changes.
Diffstat (limited to 'gdb/amd64-linux-nat.c')
-rw-r--r--gdb/amd64-linux-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index d3a09d3..42af924 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -277,8 +277,11 @@ amd64_linux_store_inferior_registers (struct target_ops *ops,
}
}
+
/* Support for debug registers. */
+/* Get debug register REGNUM value from only the one LWP of PTID. */
+
static unsigned long
x86_linux_dr_get (ptid_t ptid, int regnum)
{