2014-07-18 Tom Tromey <tromey@redhat.com>
+ * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
+ to find_target_beneath.
+ * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
+ find_target_beneath.
+ (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
+
+2014-07-18 Tom Tromey <tromey@redhat.com>
+
PR gdb/17130:
* utils.c (quit): Use target_supports_terminal_ours.
* target.h (target_supports_terminal_ours): Declare.
ravenscar_prepare_to_store (struct target_ops *self,
struct regcache *regcache)
{
- struct target_ops *beneath = find_target_beneath (&ravenscar_ops);
+ struct target_ops *beneath = find_target_beneath (self);
if (!ravenscar_runtime_initialized ()
|| ptid_equal (inferior_ptid, base_magic_null_ptid)
static void
ravenscar_mourn_inferior (struct target_ops *ops)
{
- struct target_ops *beneath = find_target_beneath (&ravenscar_ops);
+ struct target_ops *beneath = find_target_beneath (ops);
base_ptid = null_ptid;
beneath->to_mourn_inferior (beneath);
spu_region_ok_for_hw_watchpoint (struct target_ops *self,
CORE_ADDR addr, int len)
{
- struct target_ops *ops_beneath = find_target_beneath (&spu_ops);
+ struct target_ops *ops_beneath = find_target_beneath (self);
/* We cannot watch SPU local store. */
if (SPUADDR_SPU (addr) != -1)