This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, 13 Feb 2014 11:51:18 +0100, Pedro Alves wrote:
> On 02/13/2014 10:43 AM, Jan Kratochvil wrote:
> 
> > bzip2 -dc gdb-7.7.tar.bz2|tar xf -;cd gdb-7.7;./configure;make
> > 	gcc -g -O2 -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb  -I./../../gdb/config  -I. -I../common -I./../common -o gentmap
> > gcc: fatal error: no input files
> > compilation terminated.
> > make: 1254-004 The error code from the last command is 1.
> > 
> > (BTW it builds OK on RHEL-5 ppc64.)
> > 
> > But I have figured out now it builds with --disable-sim .  Maybe to disable
> > ppc* sim by default?
> 
> I don't see how that makes sense.  This sounds like a host
> issue rather than a target issue?

The mail was about two unrelated problems:

(1) GDB by default fails to build on some archs of AIX.
    This could be fixed.  Currently I do not know how but there is some way.

(2) The ppc sim target is useless.  Therefore it wastes time of people trying
    to use it.

By fixing (2) one also fixes (1) as a side effect.  Fixing just (2) on its own
makes sense.

The patch below is to fix (2).


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]