gdb is broken

Steve Kargl sgk at troutmask.apl.washington.edu
Sat Apr 14 00:20:19 UTC 2007


On Fri, Apr 13, 2007 at 03:18:43PM -0700, Steve Kargl wrote:
> On Fri, Apr 13, 2007 at 11:35:25AM -0700, Steve Kargl wrote:
> > It appears that someone has broken gdb in -current.
> > 
> > laptop:kargl[250] cat > hello.c
> > #include <stdio.h>
> > int main(void) {
> >   printf("Hello world!\n");
> >   return 0;
> > }
> > laptop:kargl[251] cc -o z -g hello.c 
> > laptop:kargl[252] ./z
> > Hello world!
> > laptop:kargl[253] gdb z
> > (gdb) run
> > Starting program: /usr/home/kargl/tmp/z 
> > Terminated
> > 
> > gdb appears to spwan the csh comamnd below and then just spins.
> > 
> 
> Reverting to a March 01, 2007 -current gives
> 
> (gdb) run
> Starting program: /usr/home/kargl/tmp/z 
> Hello world!
> 
> Program exited normally.
> 
> the expected result.  A binary search for the guilty commit
> is going to be a PITA on my old laptop.

A March 31, 2007 -current exibits a broken gdb.  Up next
March 15, 2007.

-- 
Steve


More information about the freebsd-current mailing list