Skip to content
Commit 078f2fc9 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

hurd: fix pushing target on inferior creation

This fixes creating inferiors, which was broken since 5b6d1e4f
('Multi-target support')

gdb/ChangeLog:

	* gnu-nat.c (gnu_nat_target::create_inferior): Move push_target call
	before fork_inferior call. Avoid calling it if target_is_pushed returns
	true.
parent 53dff92c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment