From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7EB5B3857811; Thu, 20 Jan 2022 10:00:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7EB5B3857811 From: "wuzy01 at qq dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/28797] New: Aborted (core dumped) when `l ,,` Date: Thu, 20 Jan 2022 10:00:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wuzy01 at qq dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 10:00:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28797 Bug ID: 28797 Summary: Aborted (core dumped) when `l ,,` Product: gdb Version: 11.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: wuzy01 at qq dot com Target Milestone: --- I found when I press `list ,,` by mistake (the correct command should be `l= ist ,N`, and N is a line number), gdb will `Aborted (core dumped)`. So I would like to create a bug for gdb. Environment information is as following: ```shell $ uname -r 5.15.11-arch2-1 $ pacman -Qi gdb|rg Version Version : 11.1-4 ``` This C file can be a test file. ```c #include int main(int argc, char *argv[]) { int a =3D 1; int b =3D 2; a =3D a + b; printf("%s\n"); return 0; } ``` ``` gcc -g main.c -o main gdb main ``` Then press `l ,,`. gdb will `Aborted (core dumped)` Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.=