projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into amd-common
[deliverable/binutils-gdb.git]
/
gdb
/
linux-fork.c
diff --git
a/gdb/linux-fork.c
b/gdb/linux-fork.c
index dd925ea8c0682ef16c553fac2612a4bbca016834..c77fb6c73ac98dbef349e4af30d357bd451f2670 100644
(file)
--- a/
gdb/linux-fork.c
+++ b/
gdb/linux-fork.c
@@
-215,7
+215,6
@@
call_lseek (int fd, off_t offset, int whence)
static void
fork_load_infrun_state (struct fork_info *fp)
{
static void
fork_load_infrun_state (struct fork_info *fp)
{
- extern void nullify_last_target_wait_ptid ();
int i;
linux_nat_switch_fork (fp->ptid);
int i;
linux_nat_switch_fork (fp->ptid);
@@
-520,7
+519,7
@@
Please switch to another checkpoint before deleting the current one"));
list, waitpid the ptid.
If fi->parent_ptid is a part of lwp and it is stopped, waitpid the
ptid. */
list, waitpid the ptid.
If fi->parent_ptid is a part of lwp and it is stopped, waitpid the
ptid. */
- thread_info *parent = find_thread_ptid (pptid);
+ thread_info *parent = find_thread_ptid (
linux_target,
pptid);
if ((parent == NULL && find_fork_ptid (pptid))
|| (parent != NULL && parent->state == THREAD_STOPPED))
{
if ((parent == NULL && find_fork_ptid (pptid))
|| (parent != NULL && parent->state == THREAD_STOPPED))
{
@@
-680,7
+679,7
@@
checkpoint_command (const char *args, int from_tty)
error (_("checkpoint: call_function_by_hand returned null."));
retpid = value_as_long (ret);
error (_("checkpoint: call_function_by_hand returned null."));
retpid = value_as_long (ret);
- get_last_target_status (&last_target_ptid, &last_target_waitstatus);
+ get_last_target_status (
nullptr,
&last_target_ptid, &last_target_waitstatus);
fp = find_fork_pid (retpid);
fp = find_fork_pid (retpid);
This page took
0.024549 seconds
and
4
git commands to generate.