Date: Fri, 13 Apr 2007 15:18:43 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Subject: Re: gdb is broken Message-ID: <20070413221843.GA37592@troutmask.apl.washington.edu> In-Reply-To: <20070413183525.GA34643@troutmask.apl.washington.edu> References: <20070413183525.GA34643@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070413221843.GA37592>
