S
Sarah
When I type 'step' at gdb prompt, gdb does not get inside the function,
insted it goes to the next line in my main program.
Someone can perhaps help me find the reason for the same. Part of
Makefile and code can be fould below.
Thanks,
~Sarah
Make file
==========
all: $(OBJS) $(EXECUTABLES)
%: %.c $(OBJS)
$(CC) $(CFLAGS) -o $@ [email protected] $(OBJS) $(LDFLAGS)
..c.o:
$(CC) -c $(CFLAGS) $<
clean:
@echo "Cleaning..."
@$(CLEAN) $(CLEAN_FILES)
Code snipped
=============
/*
* Find the DCT of the image
*/
ImageDCT(InputImage, DCTImage, &num_rows, &num_cols, B);
/*
* Write output image
*/
WriteImage(DCTImage, num_rows, num_cols, argv[2]);
/*
insted it goes to the next line in my main program.
Someone can perhaps help me find the reason for the same. Part of
Makefile and code can be fould below.
Thanks,
~Sarah
Make file
==========
all: $(OBJS) $(EXECUTABLES)
%: %.c $(OBJS)
$(CC) $(CFLAGS) -o $@ [email protected] $(OBJS) $(LDFLAGS)
..c.o:
$(CC) -c $(CFLAGS) $<
clean:
@echo "Cleaning..."
@$(CLEAN) $(CLEAN_FILES)
Code snipped
=============
/*
* Find the DCT of the image
*/
ImageDCT(InputImage, DCTImage, &num_rows, &num_cols, B);
/*
* Write output image
*/
WriteImage(DCTImage, num_rows, num_cols, argv[2]);
/*