summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2012-03-07 16:34:34 +0000
committerAndreas Schwab <schwab@suse.de>2012-03-07 16:34:34 +0000
commit2b8a5c596753196f6f6e0748a360f361fee3960b (patch)
treeab3a81d873205c1cf56b5d18b470f9bfacaff53d
parent51eee208890b0361af7c6883d8a06810af7c5bb7 (diff)
downloadgdb-2b8a5c596753196f6f6e0748a360f361fee3960b.tar.gz
* m68klinux-nat.c (getregs_supplies): Make static.
(getfpregs_supplies): Likewise. (have_ptrace_getregs): Likewise.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/m68klinux-nat.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e54180cc3ef..9e8c41d1f9f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-07 Andreas Schwab <schwab@linux-m68k.org>
+
+ * m68klinux-nat.c (getregs_supplies): Make static.
+ (getfpregs_supplies): Likewise.
+ (have_ptrace_getregs): Likewise.
+
2012-03-06 Joel Brobecker <brobecker@adacore.com>
* dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index 60e4373c8c6..c7137c0414b 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -69,20 +69,20 @@ static const int regmap[] =
#define NUM_GREGS (18)
#define MAX_NUM_REGS (NUM_GREGS + 11)
-int
+static int
getregs_supplies (int regno)
{
return 0 <= regno && regno < NUM_GREGS;
}
-int
+static int
getfpregs_supplies (int regno)
{
return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
}
/* Does the current host support the GETREGS request? */
-int have_ptrace_getregs =
+static int have_ptrace_getregs =
#ifdef HAVE_PTRACE_GETREGS
1
#else