[PATCH] gdb: call post_create_inferior at end of follow_fork_inferior

Eli Zaretskii eliz@gnu.org
Wed Apr 14 06:26:41 GMT 2021


> Date: Tue, 13 Apr 2021 19:43:11 -0400
> From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
> 
> gdb/ChangeLog:
> 
> 	* NEWS: Mention "maint info jit" command.
> 	* infrun.c (follow_fork_inferior): Don't call
> 	solib_create_inferior_hook, call post_create_inferior if a new
> 	inferior was created.
> 	* jit.c (maint_info_jit_cmd): New.
> 	(_initialize_jit): Register new command.
> 	* linux-nat.c (linux_nat_target::follow_fork): Don't call
> 	check_for_thread_db.
> 	* linux-nat.h (check_for_thread_db): Remove declaration.
> 	* linux-thread-db.c (check_thread_signals): Make static.
> 
> gdb/doc/ChangeLog:
> 
> 	* gdb.texinfo (Maintenance Commands): Mention "maint info jit".
> 
> gdb/testsuite/ChangeLog:
> 
> 	* gdb.base/jit-elf-fork-main.c: New test.
> 	* gdb.base/jit-elf-fork-solib.c: New test.
> 	* gdb.base/jit-elf-fork.exp: New test.

Thanks, the documentation parts are okay.


More information about the Gdb-patches mailing list