From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3144 invoked by alias); 25 Jun 2013 11:45:55 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 3117 invoked by uid 48); 25 Jun 2013 11:45:55 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug remote/15297] CTRL-C with set debug remote often crashes GDB Date: Tue, 25 Jun 2013 11:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00487.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15297 --- Comment #4 from Jan Kratochvil --- http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration DEJAGNU=$HOME/src/runtest-gdbserver/site.exp runtest --target_board native-gdbserver gdb.base/random-signal.exp But that is correct, making remote.c+gdbserver correctly breakable is what the pending patches of mine + Pedro are about. http://sourceware.org/ml/gdb-patches/2013-06/msg00363.html http://sourceware.org/ml/gdb-patches/2013-05/msg00933.html Just so far there was no testcase affected by this remote.c+gdbserver bug. You have implemented first testcase affected by it. FYI I get randomly the following three cases: ----------------------------------------------------------------- continue^M Continuing.^M PASS: gdb.base/random-signal.exp: continue ^C^M Program received signal SIGINT, Interrupt.^M main () at ./gdb.base/random-signal.c:28^M 28 ;^M (gdb) PASS: gdb.base/random-signal.exp: stop with control-c ----------------------------------------------------------------- continue^M Continuing.^M PASS: gdb.base/random-signal.exp: continue ^Cmain () at ./gdb.base/random-signal.c:28^M 28 ;^M Quit^M (gdb) FAIL: gdb.base/random-signal.exp: stop with control-c ----------------------------------------------------------------- continue^M Continuing.^M PASS: gdb.base/random-signal.exp: continue ^CFAIL: gdb.base/random-signal.exp: stop with control-c (timeout) ----------------------------------------------------------------- -- You are receiving this mail because: You are on the CC list for the bug.