* m68klinux-nat.c (getregs_supplies): Make static.
(getfpregs_supplies): Likewise. (have_ptrace_getregs): Likewise.
This commit is contained in:
parent
519429e1d6
commit
0c13fc49f4
|
@ -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>
|
2012-03-06 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
|
* dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
|
||||||
|
|
|
@ -69,20 +69,20 @@ static const int regmap[] =
|
||||||
#define NUM_GREGS (18)
|
#define NUM_GREGS (18)
|
||||||
#define MAX_NUM_REGS (NUM_GREGS + 11)
|
#define MAX_NUM_REGS (NUM_GREGS + 11)
|
||||||
|
|
||||||
int
|
static int
|
||||||
getregs_supplies (int regno)
|
getregs_supplies (int regno)
|
||||||
{
|
{
|
||||||
return 0 <= regno && regno < NUM_GREGS;
|
return 0 <= regno && regno < NUM_GREGS;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
getfpregs_supplies (int regno)
|
getfpregs_supplies (int regno)
|
||||||
{
|
{
|
||||||
return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
|
return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does the current host support the GETREGS request? */
|
/* Does the current host support the GETREGS request? */
|
||||||
int have_ptrace_getregs =
|
static int have_ptrace_getregs =
|
||||||
#ifdef HAVE_PTRACE_GETREGS
|
#ifdef HAVE_PTRACE_GETREGS
|
||||||
1
|
1
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue