Date: Sun, 12 Sep 2004 14:31:45 +0200 From: Thomas-Martin Seck <tmseck-lists@netcologne.de> To: freebsd-current@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu> Subject: Re: RELENG_5: occasional panic on shutdown Message-ID: <20040912123144.GA713@laurel.tmseck.homedns.org> In-Reply-To: <20040911195955.GB382@laurel.tmseck.homedns.org> References: <20040911185729.GA382@laurel.tmseck.homedns.org> <20040911193523.GB72089@funkthat.com> <20040911195955.GB382@laurel.tmseck.homedns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* I wrote: > > $ gdb /usr/obj/usr/src/sys/CURRENT/kernel.debug > 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) l *knote+0x27 > 0xc04c16cf is in knote (atomic.h:154). > 149 atomic.h: No such file or directory. > in atomic.h > (gdb) Sorry: $ cd /usr/obj/usr/src/sys/CURRENT $ gdb kernel.debug 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) l *knote+0x27 0xc04c16cf is in knote (atomic.h:154). 149 static __inline int 150 atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) 151 { 152 int res = exp; 153 154 __asm __volatile ( 155 " " __XSTRING(MPLOCKED) " " 156 " cmpxchgl %1,%2 ; " 157 " setz %%al ; " 158 " movzbl %%al,%0 ; " (gdb)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040912123144.GA713>