public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug breakpoints/26544] linespec.c:3233: internal-error: void decode_line_full (): Assertion `result.size () == 1 || canonical->pre_expanded' failed. Date: Thu, 27 Aug 2020 08:11:43 +0000 [thread overview] Message-ID: <bug-26544-4717-kncXatsJEN@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26544-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26544 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Minimal reproducer: ... $ cat test.c int main (void) { return 0; L1: (void)0; } ... Compile with debug info: ... $ gcc test.c -g ... Run like this: ... $ gdb -batch a.out -ex "b main:L1" linespec.c:3244: internal-error: void decode_line_full(const event_location*, int, program_space*, symtab*, int, linespec_result*, const char*, const char*): Assertion `result.size () == 1 || canonical->pre_expanded' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ... Same result with: ... $ gdb -batch a.out -ex start -ex "b L1" ... The problem seems to be a DW_TAG_label without address: ... <1><f4>: Abbrev Number: 2 (DW_TAG_subprogram) <f5> DW_AT_name : main <2><115>: Abbrev Number: 3 (DW_TAG_label) <116> DW_AT_name : L1 <119> DW_AT_decl_file : 1 <11a> DW_AT_decl_line : 5 <2><11b>: Abbrev Number: 0 ... -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-08-27 8:11 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-27 7:26 [Bug breakpoints/26544] New: " vries at gcc dot gnu.org 2020-08-27 8:11 ` vries at gcc dot gnu.org [this message] 2020-08-27 8:14 ` [Bug breakpoints/26544] " vries at gcc dot gnu.org 2020-08-27 8:33 ` vries at gcc dot gnu.org 2020-08-27 9:10 ` vries at gcc dot gnu.org 2020-08-27 11:52 ` vries at gcc dot gnu.org 2020-08-27 11:54 ` vries at gcc dot gnu.org 2020-08-27 12:01 ` vries at gcc dot gnu.org 2020-08-28 10:02 ` cvs-commit at gcc dot gnu.org 2020-08-28 10:03 ` vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26544-4717-kncXatsJEN@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).