On Thu, Aug 25, 2016 at 06:40:47PM +0100, Ben Harris wrote:
> Package: gdb
> Version: 7.11.1-2
> Severity: normal
> 
> Dear Maintainer,
> 
> When I use "gdb --write" on a trivial executable and immediately type
> "quit", GDB segfaults:
> 
> wraith:/tmp/hello$ cat > hello.c
> #include <stdio.h>
> 
> int main(int argc, char **argv)
> {
> 
>         printf("hello, world\n");
>         return 0;
> }
> wraith:/tmp/hello$ gcc -o hello hello.c
> wraith:/tmp/hello$ gdb --quiet --write hello
> Reading symbols from hello...(no debugging symbols found)...done.
> (gdb) quit
> Segmentation fault

Thanks for the report, I am able to reproduce it with the upcoming 7.12 package.
Could you please forward this one upstream to the GNU GDB community and keep 
this one up to date.

Regards,
-- 
  Hector Oron

Attachment: signature.asc
Description: PGP signature

Reply via email to