mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 21:13:52 +08:00
remove unused variable in lynx_create_inferior.
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_create_inferior): Delete variable new_process.
This commit is contained in:
parent
78cbc0240c
commit
ab8f6ca9c6
@ -1,3 +1,8 @@
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (lynx_create_inferior): Delete variable
|
||||
new_process.
|
||||
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (ptrace_request_to_str): Do not handle
|
||||
|
@ -293,7 +293,6 @@ lynx_ptrace (int request, ptid_t ptid, int addr, int data, int addr2)
|
||||
static int
|
||||
lynx_create_inferior (char *program, char **allargs)
|
||||
{
|
||||
struct process_info *new_process;
|
||||
int pid;
|
||||
|
||||
lynx_debug ("lynx_create_inferior ()");
|
||||
@ -318,7 +317,7 @@ lynx_create_inferior (char *program, char **allargs)
|
||||
_exit (0177);
|
||||
}
|
||||
|
||||
new_process = add_process (pid, 0);
|
||||
add_process (pid, 0);
|
||||
/* Do not add the process thread just yet, as we do not know its tid.
|
||||
We will add it later, during the wait for the STOP event corresponding
|
||||
to the lynx_ptrace (PTRACE_TRACEME) call above. */
|
||||
|
Loading…
Reference in New Issue
Block a user