From b1dda26e87e0d020b2350b8320b9c0362faf48fc Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Wed, 15 Mar 1995 21:07:10 +0000 Subject: * nlm/gdbserve.c (main): Add support for processing BOARD= argument, deprecate NODE=. --- gdb/nlm/gdbserve.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gdb/nlm/gdbserve.c') diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c index 1ad1c08..4d990d8 100644 --- a/gdb/nlm/gdbserve.c +++ b/gdb/nlm/gdbserve.c @@ -862,6 +862,18 @@ main (argc, argv) exit (1); } } + else if (strnicmp(*argv, "BOARD=", 6) == 0) + { + bp = *argv + 6; + board = strtol (bp, &ep, 0); + if (ep == bp || *ep != '\0') + { + fprintf (stderr, "%s: %s: expected integer argument\n", + progname, bp); + exit(1); + } + } +#if 1 /* FIXME: this option has been depricated */ else if (strnicmp(*argv, "NODE=", 5) == 0) { bp = *argv + 5; @@ -873,6 +885,7 @@ main (argc, argv) exit(1); } } +#endif else if (strnicmp(*argv, "PORT=", 5) == 0) { bp = *argv + 5; -- cgit v1.1