Date: Wed, 26 Jul 2017 03:10:16 -0700 From: Doug Hardie <bc979@lafn.org> To: "freebsd-questions@freebsd.org Questions" <freebsd-questions@freebsd.org> Subject: Re: Debugger issues Message-ID: <FF3FF54F-ADD8-456C-9BEF-A76F32FDA5C1@mail.sermon-archive.info> In-Reply-To: <F6042A7B-989D-4B99-8E94-B2DDC191C844@mail.sermon-archive.info> References: <F6042A7B-989D-4B99-8E94-B2DDC191C844@mail.sermon-archive.info>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bc979@lafn.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FF3FF54F-ADD8-456C-9BEF-A76F32FDA5C1>