mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-11 14:14:23 +00:00
2010-07-20 Hui Zhu <teawater@gmail.com>
* inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to. (inf_ptrace_attach): Ditto.
This commit is contained in:
parent
33740db9cd
commit
26590820c2
@ -1,3 +1,8 @@
|
||||
2010-07-20 Hui Zhu <teawater@gmail.com>
|
||||
|
||||
* inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to.
|
||||
(inf_ptrace_attach): Ditto.
|
||||
|
||||
2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Make core files the process_stratum.
|
||||
|
@ -124,7 +124,7 @@ inf_ptrace_create_inferior (struct target_ops *ops,
|
||||
/* Do not change either targets above or the same target if already present.
|
||||
The reason is the target stack is shared across multiple inferiors. */
|
||||
int ops_already_pushed = target_is_pushed (ops);
|
||||
struct cleanup *back_to;
|
||||
struct cleanup *back_to = NULL;
|
||||
|
||||
if (! ops_already_pushed)
|
||||
{
|
||||
@ -205,7 +205,7 @@ inf_ptrace_attach (struct target_ops *ops, char *args, int from_tty)
|
||||
/* Do not change either targets above or the same target if already present.
|
||||
The reason is the target stack is shared across multiple inferiors. */
|
||||
int ops_already_pushed = target_is_pushed (ops);
|
||||
struct cleanup *back_to;
|
||||
struct cleanup *back_to = NULL;
|
||||
|
||||
pid = parse_pid_to_attach (args);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user