gdb is broken

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Apr 13 22:18:22 UTC 2007


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.
-- 
Steve


More information about the freebsd-current mailing list