This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/21218] New: Regression: GDB dumps core when escaping newline in multi line command


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

            Bug ID: 21218
           Summary: Regression: GDB dumps core when escaping newline in
                    multi line command
           Product: gdb
           Version: 7.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
  Target Milestone: ---

https://bugzilla.redhat.com/show_bug.cgi?id=1429172
by Georg Sauthoff

$ gdb ls
Reading symbols from ls...Reading symbols from
/usr/lib/debug/usr/bin/ls.debug...done.
done.
(gdb) b main
Breakpoint 1 at 0x3990: file ../src/ls.c, line 1347.
(gdb) commands 
Type commands for breakpoint(s) 1, one per line.
End with a line saying just "end".
>silent
>print \
(gdb) argc
>end

readline: readline_callback_read_char() called with no handler!
zsh: abort (core dumped)  gdb -q ls

regressed by:
commit 3b12939dfc2399200f243851fd55d0e392b64165
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Jun 21 01:11:51 2016 +0100
    Replace the sync_execution global with a new enum prompt_state tristate

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]