diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1995-03-15 21:07:10 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1995-03-15 21:07:10 +0000 |
commit | b1dda26e87e0d020b2350b8320b9c0362faf48fc (patch) | |
tree | 90611845ea5345faeefc3e2e8581ed305f8d313b /gdb/nlm | |
parent | e5926c4a4cb15ecd3108c9f450e1c0a3fdb9db46 (diff) | |
download | gdb-b1dda26e87e0d020b2350b8320b9c0362faf48fc.zip gdb-b1dda26e87e0d020b2350b8320b9c0362faf48fc.tar.gz gdb-b1dda26e87e0d020b2350b8320b9c0362faf48fc.tar.bz2 |
* nlm/gdbserve.c (main): Add support for processing BOARD=
argument, deprecate NODE=.
Diffstat (limited to 'gdb/nlm')
-rw-r--r-- | gdb/nlm/gdbserve.c | 13 |
1 files changed, 13 insertions, 0 deletions
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; |