]> git.sur5r.net Git - cc65/commitdiff
Output version information into the debug file.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 5 Aug 2010 20:41:27 +0000 (20:41 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 5 Aug 2010 20:41:27 +0000 (20:41 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4783 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/dbgfile.c

index b3c7e9fe948211833d5cef472603c0f385be15a9..6063dc759c44e54dade7307bcf2281ecaf146c03 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2003      Ullrich von Bassewitz                                       */
-/*               Römerstraße 52                                              */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 2003-2010, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -64,6 +64,9 @@ void CreateDbgFile (void)
                Error ("Cannot create debug file `%s': %s", DbgFileName, strerror (errno));
     }
 
+    /* Output version information */
+    fprintf (F, "version\tmajor=1,minor=0\n");
+
     /* Clear the debug sym table (used to detect duplicates) */
     ClearDbgSymTable ();