public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28797] New: Aborted (core dumped) when `l ,,`
@ 2022-01-20 10:00 wuzy01 at qq dot com
  2022-01-20 15:53 ` [Bug gdb/28797] " wuzy01 at qq dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wuzy01 at qq dot com @ 2022-01-20 10:00 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28797

            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 `list
,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 <stdio.h>
int main(int argc, char *argv[])
{
        int a = 1;
        int b = 2;
        a = a + b;
        printf("%s\n");
        return 0;
}
```

```
gcc -g main.c -o main
gdb main
```

Then press `l ,,`. gdb will `Aborted (core dumped)`

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-02 16:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 10:00 [Bug gdb/28797] New: Aborted (core dumped) when `l ,,` wuzy01 at qq dot com
2022-01-20 15:53 ` [Bug gdb/28797] " wuzy01 at qq dot com
2022-01-27 10:50 ` aburgess at redhat dot com
2022-02-02 16:27 ` cvs-commit at gcc dot gnu.org
2022-02-02 16:28 ` cvs-commit at gcc dot gnu.org
2022-02-02 16:31 ` aburgess at redhat dot com

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).