aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-obsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-obsd-nat.c')
-rw-r--r--gdb/ppc-obsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppc-obsd-nat.c b/gdb/ppc-obsd-nat.c
index 93e1024..e480f19 100644
--- a/gdb/ppc-obsd-nat.c
+++ b/gdb/ppc-obsd-nat.c
@@ -54,7 +54,7 @@ static ppc_obsd_nat_target the_ppc_obsd_nat_target;
static int
getfpregs_supplies (struct gdbarch *gdbarch, int regnum)
{
- ppc_gdbarch_tdep *tdep = (ppc_gdbarch_tdep *) gdbarch_tdep (gdbarch);
+ ppc_gdbarch_tdep *tdep = gdbarch_tdep<ppc_gdbarch_tdep> (gdbarch);
/* FIXME: jimb/2004-05-05: Some PPC variants don't have floating
point registers. Traditionally, GDB's register set has still
@@ -154,7 +154,7 @@ static int
ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
{
struct gdbarch *gdbarch = regcache->arch ();
- ppc_gdbarch_tdep *tdep = (ppc_gdbarch_tdep *) gdbarch_tdep (gdbarch);
+ ppc_gdbarch_tdep *tdep = gdbarch_tdep<ppc_gdbarch_tdep> (gdbarch);
struct switchframe sf;
struct callframe cf;
int i, regnum;