gdb/gdbserver/
Fix gcc -flto compilation warning. * server.c (main): Make variable multi_mode and attach volatile.
This commit is contained in:
parent
5299c1c488
commit
89dc0afdc9
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix gcc -flto compilation warning.
|
||||
* server.c (main): Make variable multi_mode and attach volatile.
|
||||
|
||||
2012-05-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
|
||||
|
||||
* linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP
|
||||
|
|
|
@ -2604,8 +2604,8 @@ main (int argc, char *argv[])
|
|||
int pid;
|
||||
char *arg_end, *port;
|
||||
char **next_arg = &argv[1];
|
||||
int multi_mode = 0;
|
||||
int attach = 0;
|
||||
volatile int multi_mode = 0;
|
||||
volatile int attach = 0;
|
||||
int was_running;
|
||||
|
||||
while (*next_arg != NULL && **next_arg == '-')
|
||||
|
|
Loading…
Reference in a new issue