In AIX we were missing some hooks needed to catch a fork () event
in rs6000-aix-nat.c. Due to their absence we were returning 1 while we
insert the breakpoint/catchpoint location. This patch is a fix to the same.
const struct target_desc *read_description () override;
+ int insert_fork_catchpoint (int) override;
+ int remove_fork_catchpoint (int) override;
+
protected:
void post_startup_inferior (ptid_t ptid) override;
}
}
+/* Functions for catchpoint in AIX. */
+int
+rs6000_nat_target::insert_fork_catchpoint (int pid)
+{
+ return 0;
+}
+
+int
+rs6000_nat_target::remove_fork_catchpoint (int pid)
+{
+ return 0;
+}
+
/* Fetch register REGNO from the inferior. */
static void