diff options
author | Pedro Alves <palves@redhat.com> | 2009-04-03 11:40:02 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-04-03 11:40:02 +0000 |
commit | 55ac2b9961c5571dd786de658d38384aa6e8a816 (patch) | |
tree | 96cc65181854af503b1ab492949b1d6206c132f6 /gdb | |
parent | 7309f7566408129b9859af2436c178d85496654a (diff) | |
download | gdb-55ac2b9961c5571dd786de658d38384aa6e8a816.zip gdb-55ac2b9961c5571dd786de658d38384aa6e8a816.tar.gz gdb-55ac2b9961c5571dd786de658d38384aa6e8a816.tar.bz2 |
* linux-low.c (usr_store_inferior_registers): Declare local `pid'
variable.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 6159aca..3e45873 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-04-02 Pedro Alves <pedro@codesourcery.com> + + * linux-low.c (usr_store_inferior_registers): Declare local `pid' + variable. + 2009-04-01 Pedro Alves <pedro@codesourcery.com> Implement the multiprocess extensions, and add linux multiprocess diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index eccc2e1..cb6b1b4 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) { |