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 $@ $@.c $(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]);
/* 1 1202
Sarah wrote: 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 $@ $@.c $(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]);
/*
You're not even remotely on topic here (which you'd know if you had read
the FAQ at http://www.eskimo.com/~scs/C-faq/top.html).
Try, for example news:comp.unix.programmer. Also, please RTFM!!!
HTH,
--ag
--
Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http://www.cafepress.com/goldsays This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Martin Bless |
last post by:
The good news:
Along with Python-2.4 comes really good news to Windows users. Yes,
you now CAN build extension modules yourself using the SAME C++
compiler and linker Python is built with...
|
by: tram |
last post by:
How do we pass on the step1 output file to step2 of the same job? I
would like to know the current job's output file programmetically,
instead of hard coding it. Any idaes would be appreciated.
...
|
by: Claudio Grondi |
last post by:
I need to unpack on a Windows 2000 machine
some Wikipedia media .tar archives which are
compressed with TAR 1.14 (support for long file
names and maybe some other features) .
It seems, that...
|
by: light_wt |
last post by:
Hi
I am taking the 2555 class and a lot of the material is over my head. I don't like the MS's book because there is no step-by-step on interacting with the VS.NET
Is there good free resource...
|
by: R Millman |
last post by:
under ASP.NET, single stepping in debug mode appears not
to stop within event procedures. i.e. 1) Create web page
with submit button and event procedure for the click
event in the code behind...
|
by: Jim Hammond |
last post by:
I can get data from a client-side assembly to the server in two manual
steps, but I need to be able to do it in one step.
Step 1:
The user presses the manually coded "Step 1" button, which calls...
|
by: Julien Fiore |
last post by:
Do you wand to install Pyrex on Windows ?
Here is a step-by-step guide explaining:
A) how to install Pyrex on Windows XP.
B) how to compile a Pyrex module.
Julien Fiore,
U. of Geneva
|
by: ibiza |
last post by:
Hi all,
I'd need a function that would rounds values like :
d = roundTo(64.2, 0.25) ' returns 64.25
d = roundTo(64.2, 10) ' returns 64
d = roundTo(64.2, 100) ' returns 100
well, that rounds...
|
by: gregory.lielens |
last post by:
Hi,
I am using a small python file as an input file (defining constants,
parameters, input data, ...) for a python application.
The input file is simply read by an exec statement in a specific...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |