* linux-low.c (handle_extended_wait): Do not use "status"
variable uninitialized.
This commit is contained in:
parent
d5b254911b
commit
836acd6d9a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-07-12 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* linux-low.c (handle_extended_wait): Do not use "status"
|
||||
variable uninitialized.
|
||||
|
||||
2008-07-07 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* server.c (handle_v_attach): Inhibit reporting dll changes.
|
||||
|
|
|
@ -149,7 +149,7 @@ handle_extended_wait (struct process_info *event_child, int wstat)
|
|||
if (event == PTRACE_EVENT_CLONE)
|
||||
{
|
||||
unsigned long new_pid;
|
||||
int ret, status;
|
||||
int ret, status = W_STOPCODE (SIGSTOP);
|
||||
|
||||
ptrace (PTRACE_GETEVENTMSG, inferior_pid, 0, &new_pid);
|
||||
|
||||
|
|
Loading…
Reference in a new issue