* src/SDCCast.c (fixupInline, createFunction): save currBlockno in
[fw/sdcc] / src / pic / main.c
index 74b79ca3929908bc92d01e2b65060b2c183ba7a6..7e87781be36730c5a78ca0f853c860c5530c0b98 100644 (file)
@@ -358,7 +358,7 @@ static const char *_linkCmd[] =
 
 static const char *_asmCmd[] =
 {
-  "gpasm", "$l", "-c", "\"$1.asm\"", NULL
+  "gpasm", "$l", "$3", "-c", "\"$1.asm\"", NULL
     
 };
 
@@ -448,8 +448,8 @@ PORT pic_port =
   {
     _asmCmd,
     NULL,
-    NULL,
-    NULL,
+    "-g",          /* options with --debug */
+    NULL,          /* options without --debug */
     //"-plosgffc",  /* Options with debug */
     //"-plosgff",   /* Options without debug */
     0,