delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/10/18/23:18:59

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: <CAC4O8c-AAhFuhKH-1_4_4Sr9Tb6G7yiVyvevMR9ThiqBHM_+tA@mail.gmail.com>
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]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
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

<div dir=3D"ltr"><br><div style=3D"">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.</div><div style=3D""><br></div><div style=3D"">These may be usefu=
l for tracking down bugs that happen only rarely without having to use debu=
gger all the time.=C2=A0</div></div>

--e89a8f3ba2b5065c5905226c9abe--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019