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: [RFA/commit] Delete exc_request.defs.


> Date: Tue, 4 Dec 2012 18:39:57 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> 
> > I don't think this file can be deleted.  At least not unless we want
> > to stop pretending GNU/Hurd is a viable OS.
> > 
> > This file is referenced by config/i386/i386gnu.mh.
> 
> Can you explain how this file is referenced? I only see references
> to .o files, but I don't see the relationship with the .defs file...

Sure.  The .defs files are Mach interface definition files.  They're
process using mig to generate .c files with the interface stubs.  This
is what the "%_S.h %_S.c: %.defs" and "%_U.h %_U.c: %.defs" rules are
about.  Adding exc_request_U.o and exc_request_S.o to NATDEPFILES is
enough to trigger these rules, generate exc_request_U.c and
exc_request_S.c from exc_requests.defs and compile them into object
modules.


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