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: can't build cross-gdb for --target=mips-sgi-irix6


On Oct 1,  9:49pm, Alexandre Oliva wrote:

> mips-sgi-irix6-gdb (5.3 branch and mainline) failed to link on
> athlon-pc-linux-gnu.  breakpoint.c didn't to compile in
> disable_breakpoints_in_shlibs() because SOLIB_ADD was not defined.  I
> think solib.h must be #included somewhere, and I think the right place
> is config/mips/tm-irix6.h.  I couldn't test this natively, because I
> don't have access to any irix box at the moment, but the cross
> debugger built correctly with this patch.  Ok to install?

Yes.

Normally, we also try to remove the #include of solib.h from the
appropriate nm-*.h files.  However, we can't easily do that for
Irix since nm-irix6.h includes nm-irix5.h which includes
config/nm-sysv4.h.  This latter file is used by a lot of other
platforms.  Once our Irix system is running again, I'll see if
I can figure out what should be done so that solib.h isn't included
more than once.  (Including it more than once is safe though because
solib.h protects itself from multiple inclusions.)

Thanks,

Kevin


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