From owner-freebsd-questions@freebsd.org Wed Jul 26 10:10:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 663D3DB6AD4 for ; Wed, 26 Jul 2017 10:10:18 +0000 (UTC) (envelope-from srs0=ikpd=65=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 542FF8198C for ; Wed, 26 Jul 2017 10:10:18 +0000 (UTC) (envelope-from srs0=ikpd=65=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3xHW7s1DV3z2fjQ4 for ; Wed, 26 Jul 2017 03:10:17 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Debugger issues Date: Wed, 26 Jul 2017 03:10:16 -0700 References: To: "freebsd-questions@freebsd.org Questions" In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 10:10:18 -0000 Followup: lldb seems to be working now. I suspect something didn't = compile properly and I missed an error message. gdb still fails with = those messages. I guess I'll have to switch to lldb now. -- Doug > On 26 July 2017, at 02:13, Doug Hardie wrote: >=20 > FreeBSD 11.1 installed today. I am trying to debug several programs = with lldb or gdb and get the same type of output after a few lines of = next: >=20 > 54 if (sock < 0) > (gdb)=20 > 0x000000080082efbb 90 } > (gdb)=20 >=20 >=20 > Then I am at some seemingly random point in the code. Everything was = compiled after the upgrade (freebsd-update). All of this code was built = with a compile similar to: >=20 > cc -g -o program program.c=20 >=20 > -- Doug >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"