]> git.gag.com Git - fw/sdcc/commitdiff
Change extension 'cdb' to 'adb', so the linker doesn't overwrite the first file
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 11 Dec 2002 07:14:50 +0000 (07:14 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 11 Dec 2002 07:14:50 +0000 (07:14 +0000)
wrecking its content.

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

src/SDCCmain.c

index f6c8526578ac32b74ec98778ea7914846c0f05e9..1f198456ae212829e4bf8ffa80635b88844bdddb 100644 (file)
@@ -1107,7 +1107,7 @@ parseCmdLine (int argc, char **argv)
   /* if debug option is set the open the cdbFile */
   if (options.debug && srcFileName)
     {
-      sprintf (scratchFileName, "%s.cdb", srcFileName);
+      sprintf (scratchFileName, "%s.adb", srcFileName); //JCF: Nov 30, 2002
       if ((cdbFile = fopen (scratchFileName, "w")) == NULL)
        werror (E_FILE_OPEN_ERR, scratchFileName);
       else