Commit Graph

1 Commits

Author SHA1 Message Date
Simon Marchi 6295b6da16 Add test for following fork on position-independent executables
Commit

  b2e586e ("Defer breakpoint reset when cloning progspace for fork
  child")

fixed following fork childs when the executable is position-independent.
This patch adds a little test for it.

gdb/testsuite/ChangeLog:

	* gdb.base/pie-fork.c: New file.
	* gdb.base/pie-fork.exp: New file.
2018-04-11 14:55:40 -04:00