Re: C compiler issue perhaps?

2008-03-17 Thread Derek Ragona
At 12:29 AM 3/17/2008, Doug Hardie wrote: On Mar 15, 2008, at 05:59, Derek Ragona wrote: At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there

Re: C compiler issue perhaps?

2008-03-16 Thread Doug Hardie
On Mar 15, 2008, at 05:59, Derek Ragona wrote: At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar

Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona
At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At

Re: C compiler issue perhaps?

2008-03-15 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the

Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona
At 12:02 PM 3/15/2008, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped

C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the output: (gdb) 215 c.rmonths = (edate - tdate) / toMONTHS; (gdb) 223

Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona
At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the output: (gdb) 215 c.rmonths = (edate -

Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero

Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona
At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to

Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a