Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 11:11:03 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        "Steve Kargl" <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Process for requesting reverting patch?
Message-ID:  <6eb82e0705132011r6bad8de6qb38eb6e6bcb4beb0@mail.gmail.com>
In-Reply-To: <20070514025129.GB197@troutmask.apl.washington.edu>
References:  <20070513175425.GA64710@troutmask.apl.washington.edu> <864pmg1t1s.fsf@dwp.des.no> <20070513183009.GA96018@troutmask.apl.washington.edu> <86646wzfv0.fsf@dwp.des.no> <20070513192836.GA94258@troutmask.apl.washington.edu> <46478626.9060301@FreeBSD.org> <20070513225255.GA96773@troutmask.apl.washington.edu> <20070513230634.GA96931@troutmask.apl.washington.edu> <6eb82e0705131931j4274046ew588ba5f28c0930e2@mail.gmail.com> <20070514025129.GB197@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/14/07, Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
> On Mon, May 14, 2007 at 10:31:40AM +0800, Rong-en Fan wrote:
> > >grep -v ^# /etc/csh.* .cshrc
> > .cshrc:
> > .cshrc:setenv MAIL /var/mail/`whoami`
> > >cat a.c
> > #include <stdio.h>
> >
> > int main(void) {
> >    printf("hello world\n");
> >    return 0;
> > }
> > >gcc -o a -g a.c
> > >gdb a
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "i386-marcel-freebsd"...
> > (gdb) run
> > Starting program: /home/rafan/a
> > hello world
> >
> > Program exited normally.
> > (gdb) >
>
> Did you trying running it multiple times within gdb?

just tried. it works well (I run it at least 20 times).

> > It's an i386 current as of May 6. You need to tell us more about
> > your configuration (like kernel conf, sysctl, hardware, ... etc.)
>
> mobile:kargl[217] uname -a
> FreeBSD mobile.kargl.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun Apr 29 10:49:22 PDT 2007     root@mobile.kargl.org:/usr/obj/usr/src/sys/MOBILE  i386

also kernel config file :-)

On my current box, it basically a GENERIC w/o any debug
options. Also, my malloc.conf is ajz.

Regards,
Rong-En Fan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0705132011r6bad8de6qb38eb6e6bcb4beb0>