On 5/14/07, Steve Kargl <sgk_at_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_at_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 FanReceived on Mon May 14 2007 - 01:11:04 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC