Hi, This patch renames current_inferior in gnu-nat.c and friends to avoid the collision with the new function of the same name recently added to GDB's core. I had this change here locally since the time I had introduced the new function, but delayed in posting it. End result, Thomas Schwinge had to go through the same thing, and posted this patch on PR 2534. Sorry for the extra work Thomas. :-( I've just tweaked the patch by adding a gnu_ prefix to the variable, as I believe it's the target's responsability to keep it's namespace clean. OK ? -- Pedro Alves