X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HlrQVMjLNaxkKHR053KetFrtIw78RsWh6jZVqYtSYfI=; b=RN/MzPEBFao9/PRQBRxy3fpFJ1vzNwx9Bai4eaGebmGxT9gvxv3jxnt0TdxkK5V3ao Yl/0lHkVO2Vi/smZ8zAHN/3n4KL76HemLlYKq4wZER3eK8YDc9rGhGdmZ/QUVAey3uvJ Zr/OBgL0d3gDyl1c3Ry/3tecWY8ShOEyI3C/sutJ/9X/mYcSH/SL8iSRNd7pnVvPk3Wu iiqrfU19uBXAUs6TffHerljkHqXK84YMg8JvHzSW+grb3Kc6QZm/3/uBcohPLTV0ISix WqEHg13/YHBFbdxiux7sKFH3MVcfKrfGWdFCYCWXORZCGbhe2NHUCy2TAxJ/6SapLJFX 2LOA== MIME-Version: 1.0 X-Received: by 10.180.108.44 with SMTP id hh12mr17015186wib.57.1445224719470; Sun, 18 Oct 2015 20:18:39 -0700 (PDT) Date: Sun, 18 Oct 2015 19:18:39 -0800 Message-ID: Subject: [geda-user] feature branch: home/bkerin/backtrace From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=e89a8f3ba2b5065c5905226c9abe Reply-To: geda-user AT delorie DOT com --e89a8f3ba2b5065c5905226c9abe Content-Type: text/plain; charset=UTF-8 This adds backtrace_with_line_numbers() that uses GNU libc backtrace() and addr2lines to mostly get get line numbers right, and ASSERT_BT(cond) which works like assert but you get a full backtrace. These may be useful for tracking down bugs that happen only rarely without having to use debugger all the time. --e89a8f3ba2b5065c5905226c9abe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

This adds backtrace_with_line_numbers(= ) that uses GNU libc backtrace() and addr2lines to mostly get get line numb= ers right, and ASSERT_BT(cond) which works like assert but you get a full b= acktrace.

These may be usefu= l for tracking down bugs that happen only rarely without having to use debu= gger all the time.=C2=A0
--e89a8f3ba2b5065c5905226c9abe--