[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack trace



Hi, Dilog!

On Mon, Jun 05, 2000 at 01:04:16PM +0300, you wrote the following:

> Does anyone know how to persuade a recalcitrant C or C++ programme to
> terminate with a civilised stacktrace instead of a laconic "Segment
> violation"?

You can run it inside GDB, and then after it segfaults type "bt" to
get the stack trace.


-- 
Alex Shnitman                            | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il   +-----------------------
http://alexsh.hectic.net    UIN 188956    PGP key on web page
       E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

 - mutt is a text-based client; this is a huge advantage for me, as
   I tend to type emails, not click them
	-- Lars Hecking on the mutt-users list, on comparing mutt to some
	   graphical e-mail client

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il