• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/gnu/usr.bin/gdb/libgdb/

Lines Matching refs:lwpid

103 static td_err_e (*td_ta_map_lwp2thr_p) (const td_thragent_t *ta, lwpid_t lwpid,
290 lwpid_t lwpid;
294 lwpid = 0;
295 bfd_map_over_sections (core_bfd, fbsd_core_get_first_lwp, &lwpid);
296 return lwpid;
434 fbsd_thread_get_name (lwpid_t lwpid)
444 if (ptrace (PT_LWPINFO, lwpid, (caddr_t)&lwpinfo, sizeof (lwpinfo)) == -1)
450 snprintf (section_name, sizeof (section_name), ".tname/%u", lwpid);
852 /* XXX: We've replaced the pid with the lwpid for GDB's benefit. */
1687 ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset)
1694 inferior_ptid = BUILD_LWP (0, lwpid);
1703 ps_lsetregs (struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset)
1708 inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
1716 ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, prfpregset_t *fpregset)
1721 inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
1729 ps_lsetfpregs (struct ps_prochandle *ph, lwpid_t lwpid,
1735 inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
1744 ps_lgetxmmregs (struct ps_prochandle *ph, lwpid_t lwpid, char *xmmregs)
1749 inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
1757 ps_lsetxmmregs (struct ps_prochandle *ph, lwpid_t lwpid,
1763 inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
1772 ps_lstop(struct ps_prochandle *ph, lwpid_t lwpid)
1774 if (ptrace (PT_SUSPEND, lwpid, 0, 0) == -1)
1780 ps_lcontinue(struct ps_prochandle *ph, lwpid_t lwpid)
1782 if (ptrace (PT_RESUME, lwpid, 0, 0) == -1)
1788 ps_linfo(struct ps_prochandle *ph, lwpid_t lwpid, void *info)
1791 /* XXX should verify lwpid and make a pseudo lwp info */
1796 if (ptrace (PT_LWPINFO, lwpid, info, sizeof(struct ptrace_lwpinfo)) == -1)