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-tile-low.cc
diff --git
a/gdbserver/linux-tile-low.cc
b/gdbserver/linux-tile-low.cc
index 807a8976fd77b7cb47ba816f58d0ebe7be3bc2b6..293847efa24d6ec576bf3b2833b3fca9128d9fb8 100644
(file)
--- a/
gdbserver/linux-tile-low.cc
+++ b/
gdbserver/linux-tile-low.cc
@@
-29,6
+29,9
@@
class tile_target : public linux_process_target
{
public:
{
public:
+protected:
+
+ void low_arch_setup () override;
};
/* The singleton target ops object. */
};
/* The singleton target ops object. */
@@
-159,8
+162,8
@@
tile_regs_info (void)
return ®s_info;
}
return ®s_info;
}
-
static
void
-tile_
arch_setup (void
)
+void
+tile_
target::low_arch_setup (
)
{
int pid = pid_of (current_thread);
unsigned int machine;
{
int pid = pid_of (current_thread);
unsigned int machine;
@@
-187,7
+190,6
@@
tile_supports_hardware_single_step (void)
struct linux_target_ops the_low_target =
{
struct linux_target_ops the_low_target =
{
- tile_arch_setup,
tile_regs_info,
tile_cannot_fetch_register,
tile_cannot_store_register,
tile_regs_info,
tile_cannot_fetch_register,
tile_cannot_store_register,
This page took
0.02799 seconds
and
4
git commands to generate.