From owner-freebsd-stable@freebsd.org Thu Dec 8 16:01:16 2016 Return-Path: Delivered-To: freebsd-stable@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 92483C6DE47 for ; Thu, 8 Dec 2016 16:01:16 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E3AC6E for ; Thu, 8 Dec 2016 16:01:16 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-qk0-f170.google.com with SMTP id q130so265998096qke.1 for ; Thu, 08 Dec 2016 08:01:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/l7tFj05siEzF/k9U0xDYwE6b9oV6ghU4i2z2uLtKbU=; b=CBreFqY2ML7FEXlwLFi+gu9uN3HpiSgdR732NlIaP8Z/pT6HuaRnS1FQ3QkRZYl2Y0 cpOP2vgrQelbPDF1kIy1PlrKGnN0qwW/wv+oJhYJE/QH3EJlyQA0qUGrKPj0TPscrZRQ rC7I0CQtJBfHyylKMZj2jdxuLtnT/yxITdKzyS/G3o/PZDW8SCwGCKTJ2NTTqmT4F/Rd d+3zy8YhM0WQ1/5xOu9Yyw1bLa5pBh0ZKZgGEj7tXhKVqrJeGrmgz/wH1H8Rh9KAEAfz KdgasBtdp/YkkKGRT8768AdweRAohf+GZoXR2Jp94d4l6g6GrEVtKdKd1PrSC1jz62kI myrw== X-Gm-Message-State: AKaTC02e18QyfKBF3Nz3RQvFc6oppP9oPIyROTmSd1sajRpTB6THvJ9r6eXORez0DDW0UoQf34LkdK7mv94IBQ== X-Received: by 10.55.161.21 with SMTP id k21mr66066744qke.149.1481212874642; Thu, 08 Dec 2016 08:01:14 -0800 (PST) MIME-Version: 1.0 References: <20161208145259.GR57876@zxy.spb.ru> In-Reply-To: <20161208145259.GR57876@zxy.spb.ru> From: "K. Macy" Date: Thu, 08 Dec 2016 16:01:04 +0000 Message-ID: Subject: Re: gdb broken on stable/11 and current? To: Slawa Olhovchenkov , freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2016 16:01:16 -0000 In tree gdb doesn't work for much of anything these days. It can't even consistently give a complete kernel backtrace. Jhb is graciously maintaining gdb in ports. It will be installed as the awkwardly named gdb7111 IIRC. On Thu, Dec 8, 2016 at 06:53 Slawa Olhovchenkov wrote: > % gdb ./edge_stat > > GNU gdb 6.1.1 [FreeBSD] > > Copyright 2004 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you > are > > welcome to change it and/or distribute copies of it under certain > conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for details. > > This GDB was configured as "amd64-marcel-freebsd"... > > (gdb) break main > > Segmentation fault (core dumped) > > > > % gdb /usr/bin/gdb /tmp/gdb.13573.core > > GNU gdb 6.1.1 [FreeBSD] > > Copyright 2004 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you > are > > welcome to change it and/or distribute copies of it under certain > conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for details. > > This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols > found)... > > Core was generated by `gdb'. > > Program terminated with signal 11, Segmentation fault. > > Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. > > Loaded symbols for /lib/libm.so.5 > > Reading symbols from /lib/libncursesw.so.8...(no debugging symbols > found)...done. > > Loaded symbols for /lib/libncursesw.so.8 > > Reading symbols from /usr/lib/libgnuregex.so.5...(no debugging symbols > found)...done. > > Loaded symbols for /usr/lib/libgnuregex.so.5 > > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. > > Loaded symbols for /lib/libc.so.7 > > Reading symbols from /usr/lib/libthread_db.so...(no debugging symbols > found)...done. > > Loaded symbols for /usr/lib/libthread_db.so > > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > found)...done. > > Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x00000000005da00b in cplus_demangle_v3_callback () > > (gdb) bt > > #0 0x00000000005da00b in cplus_demangle_v3_callback () > > #1 0x00000000005d9f9c in cplus_demangle_v3 () > > #2 0x00000000005ca13c in cplus_demangle () > > #3 0x0000000000487454 in class_name_from_physname () > > #4 0x000000000053a4f3 in dwarf2_read_section () > > #5 0x000000000053a0cc in dwarf2_read_section () > > #6 0x0000000000539bd9 in dwarf2_read_section () > > #7 0x0000000000537395 in dwarf2_read_section () > > #8 0x0000000000539c21 in dwarf2_read_section () > > #9 0x0000000000539643 in dwarf2_read_section () > > #10 0x0000000000538a6c in dwarf2_read_section () > > #11 0x00000000005352fb in dwarf2_read_section () > > #12 0x0000000000533bfd in dwarf2_read_section () > > #13 0x00000000004cfc46 in psymtab_to_symtab () > > #14 0x00000000004c9cfb in lookup_symbol_global () > > #15 0x0000000000482273 in cp_lookup_symbol_namespace () > > #16 0x0000000000482059 in cp_lookup_symbol_nonlocal () > > #17 0x0000000000481f63 in cp_lookup_symbol_nonlocal () > > #18 0x00000000004c9780 in lookup_symbol () > > #19 0x00000000005035cf in find_imps () > > #20 0x0000000000514df9 in decode_line_1 () > > #21 0x0000000000514589 in decode_line_1 () > > #22 0x000000000046eff9 in _initialize_breakpoint () > > #23 0x000000000046f48b in _initialize_breakpoint () > > #24 0x00000000004ab289 in catch_exceptions () > > #25 0x00000000004ab368 in catch_exceptions_with_msg () > > #26 0x000000000046b169 in break_command () > > #27 0x00000000004ab996 in execute_command () > > #28 0x0000000000465293 in gdb_disable_readline () > > #29 0x0000000000465182 in gdb_setup_readline () > > #30 0x00000000005e266f in rl_callback_read_char () > > #31 0x0000000000464c79 in gdb_setup_readline () > > #32 0x0000000000465a46 in gdb_do_one_event () > > #33 0x00000000004ab289 in catch_exceptions () > > #34 0x00000000004ab42a in catch_errors () > > #35 0x0000000000551168 in _initialize_tui_interp () > > #36 0x0000000000448689 in gdb_main () > > #37 0x00000000004ab289 in catch_exceptions () > > #38 0x00000000004ab42a in catch_errors () > > #39 0x0000000000448526 in gdb_main () > > #40 0x00000000004ab289 in catch_exceptions () > > #41 0x00000000004ab42a in catch_errors () > > #42 0x0000000000447977 in gdb_main () > > #43 0x0000000000447931 in main () > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >