473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

confused problem

0340
0341
0342/** main function */
0343 int main(int argc,char *argv[]) {
int i, j, xferSize=-1, debug_level=1, nLoopCount = 0,
nLoopRepeat = 1;
int bUserStop = FALSE;
int bLoopback = FALSE, enable_OSD = FALSE;
0347 int bSkipDL = FALSE, bLogFile = FALSE, bI2CTable = TRUE, bTVTuner =
FALSE;
char *config_overrides[128]; // up to 128 different
parameters
int num_overrides = 0;
U32 pMode = 0xffff;

0352 BOOL do_mar = FALSE, fixed_pattern = FALSE, set_135mhz = FALSE,
set_162mhz = FALSE;
BOOL disable_config = FALSE;
TVTunerSelection tv_tuner_selection;
VW2010Impl vw2010hw; // actual hardware
implementation
IVwebHW *chip_interface = &vw2010hw; // virtual
interface to the hardware
printVersion(chip_interface);
if (argc < 3) {
printUsage();
return SUCCESS;
}
........
}
i use gdb debug the program , i find the process flow by
0347->0341->0347->0352->0341->0352 , it seems disordered, im really puzzled

Oct 10 '06 #1
2 2058
2006-10-10 <eg**********@news.yaako.com>,
freegnu wrote:
i use gdb debug the program , i find the process flow by
0347->0341->0347->0352->0341->0352 , it seems disordered, im really puzzled
Optimization, i.e. the compiler puts code in whatever order it feels
like (which is legal as long as it works the same way in the end) so it
can run faster.
Oct 10 '06 #2
freegnu wrote:
i use gdb debug the program , i find the process flow by
0347->0341->0347->0352->0341->0352 , it seems disordered, im really puzzled
What order did you expect it to be in, and why?
Oct 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
29
by: Alexander Mahr | last post by:
Dear Newsgroup, I'm somehow confused with the usage of the static keyword. I can see two function of the keyword static in conjunction with a data member of a class. 1. The data member...
6
by: ree32 | last post by:
I am a bit confused with capabilities of XML. I have an XML document with information on images(photos). Is there way to use XSL/XSLT to create a page that will display the images as gallery. ...
0
by: Rob R. Ainscough | last post by:
I'm having a problem with the VS.NET IDE (VB.NET) -- if I create a class/module in a project (in a solution) it is saved in my project root dir -- not a problem so far. However, if I decide that...
2
by: Kevin C. | last post by:
Can someone explain why the file output produces all zeros? It seems to work fine in memory (e.g. passing char pointers to printf) but when I output the file, it comes out as zeros. Bookkeeping...
1
by: Benny Ng | last post by:
Hi,All, Export Method: ------------------------------------------------------------------------- strFileNameExport = "Results" Response.Clear() Response.Buffer = True...
7
by: AndrewMBaldwin | last post by:
I have a grid control (inherits from Placeholder) that has a few buttons on it. On this grid there is a filter form, which allows the user to filter/search the table for specific information. My...
5
by: Carlo Marchesoni | last post by:
I read that autoeventwireup="false" doesn't cause Page_Load to fire automatically and trying it out with a simple page this can be confirmed easily. However, I have a page with...
0
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
2
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.