[PATCHv2 7/7] hurd: fix pushing target on inferior creation

Simon Marchi simark@simark.ca
Sat May 30 15:01:47 GMT 2020


On 2020-05-29 6:04 p.m., Samuel Thibault wrote:
> This fixes creating inferiors, which was broken since 5b6d1e4fa ('Multi-target support')
> 
> gdb/ChangeLog:
> 
> 2020-05-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
> 
> 	* gnu-nat.c (gnu_nat_target::create_inferior): Move push_target call
> 	before fork_inferior call. Avoid calling it if target_is_pushed returns false.

`returns false` -> `returns true`?

Otherwise, LGTM.

Simon


More information about the Gdb-patches mailing list