From owner-freebsd-stable@FreeBSD.ORG Wed Oct 24 11:07:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1978195 for ; Wed, 24 Oct 2012 11:07:17 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 88BD98FC0A for ; Wed, 24 Oct 2012 11:07:17 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b489:24:8697:7e27] (unknown [IPv6:2001:7b8:3a7:0:b489:24:8697:7e27]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0CC215C59; Wed, 24 Oct 2012 13:07:16 +0200 (CEST) Message-ID: <5087CBE4.5040002@andric.com> Date: Wed, 24 Oct 2012 13:07:16 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: wine, gcc and clang with CPUTYPE References: <50879F62.2010004@gmail.com> <5087BD71.9090002@FreeBSD.org> <5087C428.2020908@gmail.com> <5087CA5D.2090407@FreeBSD.org> In-Reply-To: <5087CA5D.2090407@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 11:07:17 -0000 On 2012-10-24 13:00, Dimitry Andric wrote: .. > Try the following: > > $ gdb /path/to/crashed-program /path/to/crashed-program.core > GNU gdb (GDB) 7.5 [GDB v7.5 for FreeBSD] > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i386-portbld-freebsd10.0". > For bug reporting instructions, please see: > ... > Reading symbols from /path/to/crashed-program...(no debugging symbols found)...done. > [New process 100137] > Core was generated by `crashed-program'. > Program terminated with signal 4, Illegal instruction. > #0 0x08048632 in main () > (gdb) disassemble In fact, please use "disassemble/r", otherwise the actual opcodes won't be shown.