Re: gdb weirdness

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 10:46:33 +0200, Pascal Hofstee wrote: > On Sun, 29 Aug 1999, Greg Lehey wrote: > >>> I seem to having some weird problems using GDB on 4.0-CURRENT >>> 27for (j = 1; j <= 31; j++) { >>> (gdb) >>> 28 temp = wmalloc(sizeof(ADay)); >>> (gdb) print

Re: gdb weirdness

1999-08-29 Thread Pascal Hofstee
On Sun, 29 Aug 1999, Greg Lehey wrote: > > I seem to having some weird problems using GDB on 4.0-CURRENT > > 27for (j = 1; j <= 31; j++) { > > (gdb) > > 28 temp = wmalloc(sizeof(ADay)); > > (gdb) print j > > $1 = -1077947156 > Does it do this without the -O flag? It ma

Re: gdb weirdness

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 10:37:32 +0200, Pascal Hofstee wrote: > > I seem to having some weird problems using GDB on 4.0-CURRENT > > I am getting things like the following: > > 27for (j = 1; j <= 31; j++) { > (gdb) > 28 temp = wmalloc(sizeof(ADay)); > (gdb) print j >