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] Remove gdb/nlm subdirectory


On Sun, Mar 26, 2006 at 08:03:57PM -0800, Ian Lance Taylor wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > Well, in all the time I've been working on GDB, I've never seen a user
> > question about Netware, a GNATS PR about Netware, or a developer commit
> > tested on Netware.  To build it you need a Netware-provided SDK; I
> > don't know if those are still obtainable.
> 
> I'm in favor of removing it, but I just want to note that the last
> sentence is not correct.  You can build the gdb/nlm code using an
> i386-elf-gcc and nlmconv.  No non-GNU tools are required.

I was just going by this:

   This code is intended to produce an NLM (a NetWare Loadable Module)
   to run under Novell NetWare.  To create the NLM, compile this code
   into an object file using the NLM SDK on any i386 host,

If that's not true, where do you get these?

#ifdef __i386__
#include <dfs.h>
#include <conio.h>
#include <advanced.h>
#include <debugapi.h>
#include <process.h>
#else
#include <nwtypes.h>
#include <nwdfs.h>
#include <nwconio.h>
#include <nwadv.h>
#include <nwdbgapi.h>
#include <nwthread.h>
#endif

> However, it is true that the current sources won't build without
> modification.  The configure script looks for config/CPU/gdbserve.mt,
> and no such files exist.  The only two targets which ever worked were
> i386 and PPC, and the required gdbserve.mt files were removed with
> this change:
> 
> 2003-02-05  Andrew Cagney  <ac131313@redhat.com>
> 
> 	Remove orphaned hosts, targets and files.
>         ...
> 
> So since then it has been difficult to build the NLM debug server.  I
> think the lack of complaints about this is a compelling argument that
> the code is unused.

Ah - that's perfect, thank you.  That means the code has not built
since GDB 6.0.

-- 
Daniel Jacobowitz
CodeSourcery


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