[cancel] [patch] [sim] --disable-sim on ppc* by default (for AIX) [Re: getaddrinfo available on all GDB hosts?]

Jan Kratochvil jan.kratochvil@redhat.com
Thu Feb 13 12:08:00 GMT 2014


On Thu, 13 Feb 2014 12:39:45 +0100, Pedro Alves wrote:
> Only if you assume native build.
> 
> Does the sim build on AIX for other targets?  E.g., --target=arm-eabi.

Yes, it works.  This confirms that default disable of ppc sim would fix
(=workaround) the AIX build.


> This is all arguable.   You can't really expect that most of
> our sims are able to run full GNU/Linux binaries.
> I just tried the ppc one on gcc110 (gdb built w/ -m32) and I
> found that it works OK for basic bare-metal debugging, about the
> same as most other sims -- as documented in its README, it only
> supports static executables.  Often I'll just run a .o
> file with a sim.  E.g., on gcc110/ppc64, gdb built w/ -m32:

If one has to use .o file I really still find it useless.
The patch does not remove the simulator - it is just not built by default.
As I believe 99% of './configure; make' users do not want the simulator.
And building any more code is moreover slow on ppc.

Joel also claims they use the ppc simulator so I no longer argue about it.
Therefore considering the patch as cancelled.


Regards,
Jan



More information about the Gdb-patches mailing list