From: Jim Kingdon Date: Sat, 23 Oct 1993 01:14:47 +0000 (+0000) Subject: * remote-vx.c: Rename pid parameter to pid_to_wait_for. Some X-Git-Tag: gdb-4_18-branchpoint~16976 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3cabecb471111ee81d8a57a9affa63f594a74dc;p=thirdparty%2Fbinutils-gdb.git * remote-vx.c: Rename pid parameter to pid_to_wait_for. Some compilers (legitimately) don't like variables in the function's outermost block whose name is the name as a parameter. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fb69c3e043a..bbc57da2125 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Fri Oct 22 07:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * remote-vx.c: Rename pid parameter to pid_to_wait_for. Some + compilers (legitimately) don't like variables in the function's + outermost block whose name is the name as a parameter. + Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au): * dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}: New files. diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 3aea4d1bfd4..c8c52c073bf 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -858,8 +858,8 @@ sleep_ms (ms) */ static int -vx_wait (pid, status) - int pid; +vx_wait (pid_to_wait_for, status) + int pid_to_wait_for; int *status; { register int pid;