projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Delete incorrect vmgexit entry in prefix_table
[deliverable/binutils-gdb.git]
/
gdbserver
/
linux-ppc-low.cc
diff --git
a/gdbserver/linux-ppc-low.cc
b/gdbserver/linux-ppc-low.cc
index 58f6629917cf9ccc5bf170af7aaf34de42adcbe7..337d555aee724279b540c3a5ab85d4945da34176 100644
(file)
--- a/
gdbserver/linux-ppc-low.cc
+++ b/
gdbserver/linux-ppc-low.cc
@@
-79,6
+79,8
@@
public:
struct emit_ops *emit_ops () override;
struct emit_ops *emit_ops () override;
+ int get_ipa_tdesc_idx () override;
+
protected:
void low_arch_setup () override;
protected:
void low_arch_setup () override;
@@
-805,14
+807,6
@@
ppc_store_evrregset (struct regcache *regcache, const void *buf)
supply_register_by_name (regcache, "spefscr", ®set->spefscr);
}
supply_register_by_name (regcache, "spefscr", ®set->spefscr);
}
-/* Support for hardware single step. */
-
-static int
-ppc_supports_hardware_single_step (void)
-{
- return 1;
-}
-
static struct regset_info ppc_regsets[] = {
/* List the extra register sets before GENERAL_REGS. That way we will
fetch them every time, but still fall back to PTRACE_PEEKUSER for the
static struct regset_info ppc_regsets[] = {
/* List the extra register sets before GENERAL_REGS. That way we will
fetch them every time, but still fall back to PTRACE_PEEKUSER for the
@@
-3400,10
+3394,10
@@
ppc_target::emit_ops ()
return &ppc_emit_ops_impl;
}
return &ppc_emit_ops_impl;
}
-/* Implementation of
linux_target_
ops method "get_ipa_tdesc_idx". */
+/* Implementation of
target
ops method "get_ipa_tdesc_idx". */
-
static
int
-ppc_
get_ipa_tdesc_idx (void
)
+int
+ppc_
target::get_ipa_tdesc_idx (
)
{
struct regcache *regcache = get_thread_regcache (current_thread, 0);
const struct target_desc *tdesc = regcache->tdesc;
{
struct regcache *regcache = get_thread_regcache (current_thread, 0);
const struct target_desc *tdesc = regcache->tdesc;
@@
-3453,13
+3447,6
@@
ppc_get_ipa_tdesc_idx (void)
return 0;
}
return 0;
}
-struct linux_target_ops the_low_target = {
- NULL, /* supports_range_stepping */
- ppc_supports_hardware_single_step,
- NULL, /* get_syscall_trapinfo */
- ppc_get_ipa_tdesc_idx,
-};
-
/* The linux target ops object. */
linux_process_target *the_linux_target = &the_ppc_target;
/* The linux target ops object. */
linux_process_target *the_linux_target = &the_ppc_target;
This page took
0.031573 seconds
and
4
git commands to generate.