Additional debug informations
authorRafał Długołęcki <rafal@dlugolecki.net.pl>
Tue, 2 Feb 2016 23:22:10 +0000 (00:22 +0100)
committerRafał Długołęcki <rafal@dlugolecki.net.pl>
Tue, 2 Feb 2016 23:22:10 +0000 (00:22 +0100)
src/int/cint.c

index 03bc54642800052ba2b18b3730f21149699756a3..300c83ee3827d31aed4aaf29dc59304f7fb8eda8 100644 (file)
@@ -94,6 +94,7 @@ static void load(char *_filename)
                abend("Memory size too large (use /m option)\n");
 
        addext(filename, ".ccd");
                abend("Memory size too large (use /m option)\n");
 
        addext(filename, ".ccd");
+       fprintf(stderr, "logint: Reading static data from %s file\n", filename);
        if ((fp = fopen(filename, BINARYREAD)) == NULL) {
                fprintf(stderr, "Cannot open .ccd file\n");
                endrun(10);
        if ((fp = fopen(filename, BINARYREAD)) == NULL) {
                fprintf(stderr, "Cannot open .ccd file\n");
                endrun(10);
@@ -110,6 +111,7 @@ static void load(char *_filename)
                ic += n;
                left -= n;
        } while (n != 0);
                ic += n;
                left -= n;
        } while (n != 0);
+       fprintf(stderr, "logint: Static data from %s file has been read\n", filename);
        /* now ic = number of words read */
 
        fclose(fp);
        /* now ic = number of words read */
 
        fclose(fp);
@@ -129,6 +131,7 @@ static void load(char *_filename)
 
        /* Read prototypes from .pcd file */
        addext(filename, ".pcd");
 
        /* Read prototypes from .pcd file */
        addext(filename, ".pcd");
+       fprintf(stderr, "logint: Reading prototypes from %s file\n", filename);
        if ((fp = fopen(filename, BINARYREAD)) == NULL) {
                fprintf(stderr,"Cannot open .pcd file\n");
                endrun(10); 
        if ((fp = fopen(filename, BINARYREAD)) == NULL) {
                fprintf(stderr,"Cannot open .pcd file\n");
                endrun(10); 
@@ -143,6 +146,7 @@ static void load(char *_filename)
                        abend("Cannot read .pcd file\n");
        }
        fclose(fp);
                        abend("Cannot read .pcd file\n");
        }
        fclose(fp);
+       fprintf(stderr, "logint: Prototypes from: %s file has been read\n", filename);
 
        /* Open trace file */
        if (debug) {
 
        /* Open trace file */
        if (debug) {