* debugger/mcs51/sdcdb.c (parseCmdLine): added -k for ucsim, patch provided by Scott...
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 1 Jan 2004 23:14:39 +0000 (23:14 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 1 Jan 2004 23:14:39 +0000 (23:14 +0000)
* doc/sdccman.lyx: updated documentation for sdcdb

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3074 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
debugger/mcs51/sdcdb.c
doc/sdccman.lyx

index b343bc2a24b6981819ddfad5795640c7a0427abc..94d7ee188918b48e67162107dcc0736bf78d0d28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,9 @@
        'unsigned int'
        * .version: new year, new version: 2.3.7
        * src/SDCCmain.c (main): applied patch #866468
+       * debugger/mcs51/sdcdb.c (parseCmdLine): added -k for ucsim, patch
+       provided by Scott Bronson
+       * doc/sdccman.lyx: updated documentation for sdcdb
 
 2004-01-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
index 9c91115bdce0fb60bfbed20957b6d693390ed773..1cc14082404448aece81fd3514c134efe379ed36 100644 (file)
@@ -1052,6 +1052,13 @@ static void parseCmdLine (int argc, char **argv)
         continue ;
       }
 
+      /* network serial port */
+      if ( (strcmp(argv[i],"-k") == 0)) {
+        simArgs[nsimArgs++] = strdup(argv[i]);
+        simArgs[nsimArgs++] = strdup(argv[++i]);
+        continue ;
+      }
+
       fprintf(stderr,"unknown option %s --- ignored\n",
         argv[i]);
 
index 4332ebd114071875f07e7d4c41fa1e7f9b1c92d0..8a52d3737f3dad8347e3c13e2805760cd59d0813 100644 (file)
@@ -13102,6 +13102,9 @@ status Collapsed
 \layout Itemize
 
 -S <serial in,out> passed to simulator see the simulator docs for details.
+\layout Itemize
+
+-k <port number> passed to simulator see the simulator docs for details.
 \layout Section
 
 Debugger Commands.