aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-04-17 19:12:20 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-04-17 19:12:20 +0000
commit9a845ea22cc25f5346c9d465c9cb206319898bee (patch)
treeab04459b558055bbc5eb2dd08213103254bdf739 /gdb/corelow.c
parent254f582e7e9b0f5112489bdc7700c3edb0d00a08 (diff)
downloadfsf-binutils-gdb-9a845ea22cc25f5346c9d465c9cb206319898bee.zip
fsf-binutils-gdb-9a845ea22cc25f5346c9d465c9cb206319898bee.tar.gz
fsf-binutils-gdb-9a845ea22cc25f5346c9d465c9cb206319898bee.tar.bz2
gdb/
* 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.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index f34b8e1..33b96ae 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -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)