From 55ac2b9961c5571dd786de658d38384aa6e8a816 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 3 Apr 2009 11:40:02 +0000 Subject: [PATCH] * linux-low.c (usr_store_inferior_registers): Declare local `pid' variable. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-low.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 6159aca735d..3e45873ba9e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-04-02 Pedro Alves + + * linux-low.c (usr_store_inferior_registers): Declare local `pid' + variable. + 2009-04-01 Pedro Alves Implement the multiprocess extensions, and add linux multiprocess diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index eccc2e1a81f..cb6b1b47df0 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -1985,6 +1985,7 @@ usr_store_inferior_registers (int regno) CORE_ADDR regaddr; int i, size; char *buf; + int pid; if (regno >= 0) { -- 2.30.2