Re: [PATCHv2 6/7] hurd: add gnu_target pointer to fix thread API calls

2020-05-30 Thread Samuel Thibault
Simon Marchi, le sam. 30 mai 2020 12:08:53 -0400, a ecrit: > On 2020-05-30 11:53 a.m., Samuel Thibault wrote: > > Simon Marchi, le sam. 30 mai 2020 10:57:42 -0400, a ecrit: > >>> @@ -1106,12 +1109,12 @@ inf_validate_procs (struct inf *inf) > >>> if (inferior_ptid == ptid_t (inf->pid)) > >>>

Re: [PATCHv2 6/7] hurd: add gnu_target pointer to fix thread API calls

2020-05-30 Thread Simon Marchi
On 2020-05-30 11:53 a.m., Samuel Thibault wrote: > Simon Marchi, le sam. 30 mai 2020 10:57:42 -0400, a ecrit: >>> @@ -1106,12 +1109,12 @@ inf_validate_procs (struct inf *inf) >>> if (inferior_ptid == ptid_t (inf->pid)) >>> /* This is the first time we're hearing about thread >>>

Re: [PATCHv2 6/7] hurd: add gnu_target pointer to fix thread API calls

2020-05-30 Thread Samuel Thibault
Simon Marchi, le sam. 30 mai 2020 10:57:42 -0400, a ecrit: > > @@ -1106,12 +1109,12 @@ inf_validate_procs (struct inf *inf) > > if (inferior_ptid == ptid_t (inf->pid)) > > /* This is the first time we're hearing about thread > > ids, after a fork-child. */ > > -

Re: [PATCHv2 6/7] hurd: add gnu_target pointer to fix thread API calls

2020-05-30 Thread Simon Marchi
On 2020-05-29 6:03 p.m., Samuel Thibault wrote: > Fixes > > ../../gdb/gnu-nat.c:1110:28: error: cannot convert ‘ptid_t’ to > ‘process_stratum_target*’ > 1110 |thread_change_ptid (inferior_ptid, ptid); > > and others related to 5b6d1e4fa ("Multi-target support") > > gdb/ChangeLog: > >

[PATCHv2 6/7] hurd: add gnu_target pointer to fix thread API calls

2020-05-29 Thread Samuel Thibault
Fixes ../../gdb/gnu-nat.c:1110:28: error: cannot convert ‘ptid_t’ to ‘process_stratum_target*’ 1110 |thread_change_ptid (inferior_ptid, ptid); and others related to 5b6d1e4fa ("Multi-target support") gdb/ChangeLog: 2020-05-29 Samuel Thibault * gnu-nat.h (gnu_target): New v