projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdbserver/linux-low: turn 'arch_setup' into a method
[deliverable/binutils-gdb.git]
/
gdbserver
/
linux-bfin-low.cc
diff --git
a/gdbserver/linux-bfin-low.cc
b/gdbserver/linux-bfin-low.cc
index c8c238abca75e169f4a9bc40a27c554a9cc9b6be..8656b20a9321b466ff547188ae3a0dd318924acf 100644
(file)
--- a/
gdbserver/linux-bfin-low.cc
+++ b/
gdbserver/linux-bfin-low.cc
@@
-29,6
+29,9
@@
class bfin_target : public linux_process_target
{
public:
{
public:
+protected:
+
+ void low_arch_setup () override;
};
/* The singleton target ops object. */
};
/* The singleton target ops object. */
@@
-93,8
+96,8
@@
bfin_breakpoint_at (CORE_ADDR where)
return 0;
}
return 0;
}
-
static
void
-bfin_
arch_setup (void
)
+void
+bfin_
target::low_arch_setup (
)
{
current_process ()->tdesc = tdesc_bfin;
}
{
current_process ()->tdesc = tdesc_bfin;
}
@@
-126,7
+129,6
@@
bfin_regs_info (void)
}
struct linux_target_ops the_low_target = {
}
struct linux_target_ops the_low_target = {
- bfin_arch_setup,
bfin_regs_info,
bfin_cannot_fetch_register,
bfin_cannot_store_register,
bfin_regs_info,
bfin_cannot_fetch_register,
bfin_cannot_store_register,
This page took
0.023875 seconds
and
4
git commands to generate.