From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patchv2 2/2] Fix CTRL-C for remote.c (PR remote/15297)
Date: Thu, 25 Jul 2013 15:20:00 -0000 [thread overview]
Message-ID: <8738r2wtsy.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20130630181110.GB29548@host2.jankratochvil.net> (Jan Kratochvil's message of "Sun, 30 Jun 2013 20:11:10 +0200")
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> Primarily this patch removes some heavy functions from the signal
Jan> handlers as signal handlers can call only few signal-safe functions
Jan> according to POSIX. Currently with "set debug remote 1" CTRL-C
Jan> typically locks up on malloc where SIGINT handler interrupted also
Jan> malloc.
I read through this patch and it made sense, at least as far as I could
understand it. It's a tricky area and without redoing the research you
did I think it is reasonably hard to critique.
Jan> The testcase does not work perfectly for target-async + all-stop,
Jan> it is not being tested. I did not find it a commonly used mode and
Jan> it may be fixed in a different/additional patch. It works in
Jan> general but not in 100% cases.
Can you characterize the failure modes? Or will I see it if I add a
target-async+non-stop case to your new .exp?
I have a series here to always enable target-async, which I plan to
submit soon. I'd like to understand this more so I can fix up my
series.
Tom
next parent reply other threads:[~2013-07-25 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130630181110.GB29548@host2.jankratochvil.net>
2013-07-25 15:20 ` Tom Tromey [this message]
2013-07-25 15:25 ` Jan Kratochvil
2013-07-25 15:29 ` Tom Tromey
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=8738r2wtsy.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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