projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/amd64: clean up unused variable
[binutils-gdb.git]
/
gdb
/
hppa-linux-tdep.c
diff --git
a/gdb/hppa-linux-tdep.c
b/gdb/hppa-linux-tdep.c
index 52c642f0c7f8d80099f225e32f3d237b1ff9627f..f17d2ae6b020366c39da57a959da89aa2da7eb9d 100644
(file)
--- a/
gdb/hppa-linux-tdep.c
+++ b/
gdb/hppa-linux-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for GNU/Linux running on PA-RISC, for GDB.
/* Target-dependent code for GNU/Linux running on PA-RISC, for GDB.
- Copyright (C) 2004-202
1
Free Software Foundation, Inc.
+ Copyright (C) 2004-202
2
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-384,7
+384,7
@@
hppa_linux_find_global_pointer (struct gdbarch *gdbarch,
status = target_read_memory (addr, buf, sizeof (buf));
if (status != 0)
break;
status = target_read_memory (addr, buf, sizeof (buf));
if (status != 0)
break;
- tag = extract_signed_integer (buf,
sizeof (buf),
byte_order);
+ tag = extract_signed_integer (buf, byte_order);
if (tag == DT_PLTGOT)
{
if (tag == DT_PLTGOT)
{
@@
-476,7
+476,7
@@
hppa_linux_iterate_over_regset_sections (struct gdbarch *gdbarch,
void *cb_data,
const struct regcache *regcache)
{
void *cb_data,
const struct regcache *regcache)
{
-
struct gdbarch_tdep *tdep = gdbarch_tdep
(gdbarch);
+
hppa_gdbarch_tdep *tdep = gdbarch_tdep<hppa_gdbarch_tdep>
(gdbarch);
cb (".reg", 80 * tdep->bytes_per_address, 80 * tdep->bytes_per_address,
&hppa_linux_regset, NULL, cb_data);
cb (".reg", 80 * tdep->bytes_per_address, 80 * tdep->bytes_per_address,
&hppa_linux_regset, NULL, cb_data);
@@
-486,7
+486,7
@@
hppa_linux_iterate_over_regset_sections (struct gdbarch *gdbarch,
static void
hppa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
static void
hppa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
-
struct gdbarch_tdep *tdep = gdbarch_tdep
(gdbarch);
+
hppa_gdbarch_tdep *tdep = gdbarch_tdep<hppa_gdbarch_tdep>
(gdbarch);
linux_init_abi (info, gdbarch, 0);
linux_init_abi (info, gdbarch, 0);