> As it happens, I had approved a patch that fixes exactly this, > but that didn't get checked in: > > http://www.sourceware.org/ml/gdb-patches/2008-11/msg00175.html > > The patch is slightly more complete as it removes one reference to > the gdbsim_ops global. I'll commit that part separately. Humpf, in retrospect, I find that the above sounds very ungrateful. Sorry about that, Thiago. I am in fact pleased that you fixed the problem this fast! I committed the following piece. It's really only very very minor, but it still makes the code slightly cleaner, I think. 2008-11-12 Joel Brobecker From Joel Sherrill * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter instead of the "gdbsim_ops" global. Checked in. -- Joel