public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-15297-4717-6wht6E94l1@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15297-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=15297

--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
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.


  parent reply	other threads:[~2013-06-25 11:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 18:08 [Bug remote/15297] New: CTRl-C " jan.kratochvil at redhat dot com
2013-03-25 16:10 ` [Bug remote/15297] " tromey at redhat dot com
2013-03-27 16:36 ` [Bug remote/15297] CTRL-C " jan.kratochvil at redhat dot com
2013-04-12  8:35 ` jan.kratochvil at redhat dot com
2013-04-12  8:36 ` jan.kratochvil at redhat dot com
2013-06-25  7:31 ` jan.kratochvil at redhat dot com
2013-06-25 11:45 ` jan.kratochvil at redhat dot com [this message]
2013-07-01 20:37 ` jan.kratochvil at redhat dot com
2013-07-03  5:31 ` jan.kratochvil at redhat dot com
2023-02-15 21:34 ` pedro at palves dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15297-4717-6wht6E94l1@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).