[patch] Fix `shell' command for async (PR 12850)

Joel Brobecker brobecker@adacore.com
Tue Jun 7 19:06:00 GMT 2011


> > +++ b/gdb/rs6000-nat.c
> > @@ -614,7 +614,7 @@ exec_one_dummy_insn (struct regcache *regcache)
> 
> (Urgh, had never seen this bizarre code before.  I wonder if 
> this is still needed on any sane platform, or if it was only
> necessary on some ancient aix.)

I think it's worth testing. From the logs that I could gather,
this function was already there in 1992 (!) but it's not entirely
clear that it was for AIX.  But, right now, I'd have a hard time
believing that it would be for any other kernel but AIX (the other
ones I can see are (Linux, *BSDs).

The oldest AIX we have now at AdaCore is 5.2. I'm wondering if Ulrich
might have access to something a little older?

-- 
Joel



More information about the Gdb-patches mailing list