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: start turning linux target ops into methods
[deliverable/binutils-gdb.git]
/
gdbserver
/
linux-arm-low.cc
diff --git
a/gdbserver/linux-arm-low.cc
b/gdbserver/linux-arm-low.cc
index f60543eae94790c7b1fb3bb5e7b270c729dfe163..7ecedb8f6efae5d4ae4265bc404d6c039cc02115 100644
(file)
--- a/
gdbserver/linux-arm-low.cc
+++ b/
gdbserver/linux-arm-low.cc
@@
-54,6
+54,18
@@
#define PTRACE_SETHBPREGS 30
#endif
#define PTRACE_SETHBPREGS 30
#endif
+/* Linux target op definitions for the ARM architecture. */
+
+class arm_target : public linux_process_target
+{
+public:
+
+};
+
+/* The singleton target ops object. */
+
+static arm_target the_arm_target;
+
/* Information describing the hardware breakpoint capabilities. */
static struct
{
/* Information describing the hardware breakpoint capabilities. */
static struct
{
@@
-1044,6
+1056,10
@@
struct linux_target_ops the_low_target = {
arm_get_syscall_trapinfo,
};
arm_get_syscall_trapinfo,
};
+/* The linux target ops object. */
+
+linux_process_target *the_linux_target = &the_arm_target;
+
void
initialize_low_arch (void)
{
void
initialize_low_arch (void)
{
This page took
0.024949 seconds
and
4
git commands to generate.