This is the mail archive of the gdb-patches@sources.redhat.com 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] Add x86-64 target to MAINTAINERS, broken


Andreas Jaeger wrote:
 > Andrew Cagney <ac131313@cygnus.com> writes:
 >>In file included from /home/scratch/GDB/src/gdb/x86-64-tdep.c:30:
 >>/home/scratch/GDB/src/gdb/x86-64-tdep.h:27: sys/reg.h: No such file or
 >>directory
 >>gmake[1]: *** [x86-64-tdep.o] Error 1
 >>gmake[1]: Leaving directory
 >>`/home/scratch/GDB/X-x86_64-unknown-linux-gnu/gdb'
 >>gmake: *** [all-gdb] Error 2
 >>
 >>when trying to build an x86_64-linux-gnu target.
 >>
 >
 > I fear you applied a broken patch by Michal.  Has this been fixed?
 > Michal, can you test whether the CVS version works now?

File sys/reg.h comes from x86-64 glibc sources and yes, using my
crosscompiler it compiles without problems for --host=x86-64 and 
--target=x86-64...
For --target=x86-64 and --host i686-... it may not work since headers 
are different. I'll try to solve it.

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* +420 2 9654 5373   * http://www.suse.cz



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