Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2012 13:07:16 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: wine, gcc and clang with CPUTYPE
Message-ID:  <5087CBE4.5040002@andric.com>
In-Reply-To: <5087CA5D.2090407@FreeBSD.org>
References:  <50879F62.2010004@gmail.com> <5087BD71.9090002@FreeBSD.org> <5087C428.2020908@gmail.com> <5087CA5D.2090407@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://gnu.org/licenses/gpl.html>;
>     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:
>     <http://www.gnu.org/software/gdb/bugs/>...
>     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.



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