* corelow.c: Include wrapper.h.
	(core_open): Call now gdb_target_find_new_threads.
	* wrapper.c: Include target.h.
	(gdb_target_find_new_threads): New.
	* wrapper.h (gdb_target_find_new_threads): New declaration.
This commit is contained in:
Jan Kratochvil
2011-04-17 19:12:20 +00:00
parent 254f582e7e
commit 9a845ea22c
4 changed files with 34 additions and 1 deletions

View File

@@ -47,6 +47,7 @@
#include "filenames.h"
#include "progspace.h"
#include "objfiles.h"
#include "wrapper.h"
#ifndef O_LARGEFILE
@@ -428,7 +429,7 @@ core_open (char *filename, int from_tty)
may be a thread_stratum target loaded on top of target core by
now. The layer above should claim threads found in the BFD
sections. */
target_find_new_threads ();
gdb_target_find_new_threads ();
p = bfd_core_file_failing_command (core_bfd);
if (p)