mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* nlm/gdbserve.c (main): Add support for processing BOARD=
argument, deprecate NODE=.
This commit is contained in:
parent
e5926c4a4c
commit
b1dda26e87
@ -1,3 +1,8 @@
|
||||
Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||
|
||||
* nlm/gdbserve.c (main): Add support for processing BOARD=
|
||||
argument, deprecate NODE=.
|
||||
|
||||
Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* c-exp.y (yylex): Make an empty character constant an error.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user