This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Who's insane: gdb or I?
- From: Carlo Wood <carlo at alinoe dot com>
- To: Bernd Jendrissek <berndj at prism dot co dot za>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 3 Jul 2002 18:29:13 +0200
- Subject: Re: Who's insane: gdb or I?
- References: <20020703151547.A28413@prism.co.za>
On Wed, Jul 03, 2002 at 03:15:47PM +0200, Bernd Jendrissek wrote:
> 1083 OVERtime+=(etv.tv_sec - stv.tv_sec) * 1000;
> (gdb) s
> 1084 OVERtime+=(etv.tv_usec - stv.tv_usec) / 1000;
> (gdb) s
> 1083 OVERtime+=(etv.tv_sec - stv.tv_sec) * 1000;
> (gdb) s
> 1084 OVERtime+=(etv.tv_usec - stv.tv_usec) / 1000;
Which compiler version are you using?
Can you show the *.s file of this part that is being
generated? (Add -save-temps to the gcc/g++ line that generates
the *.o file; it will also generate a *.s file then).
Does the same thing happen when you use -gstabs or -gdwarf-2
instead of just -g?
--
Carlo Wood <carlo@alinoe.com>