From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: "André Pönitz" <andre.poenitz@mathematik.tu-chemnitz.de>,
gdb-patches@sourceware.org
Subject: Re: RFC: implement "catch signal"
Date: Tue, 18 Dec 2012 16:39:00 -0000 [thread overview]
Message-ID: <20121218163837.GA23234@host2.jankratochvil.net> (raw)
In-Reply-To: <87d2y8v0b1.fsf@fleche.redhat.com>
On Mon, 17 Dec 2012 22:25:06 +0100, Tom Tromey wrote:
> I went through all the catchpoints and added a new "catch-type" field
> that lists the type of catchpoint.
Therefore it looks this way?
body=[bkpt={number="1",type="catchpoint",disp="keep",enabled="y",catch-type="signal",what=[signal="SIGINT",signal="SIGTRAP"],times="0"}]
I believe it still may break existing MI clients according to André.
This one would be safer:
body=[bkpt={number="1",type="catchpoint",disp="keep",enabled="y",catch-type="signal",what="<signal>",signal=["SIGINT","SIGTRAP"],times="0"}]
Although it is becoming very "unusual".
> Let me know what you think of this.
I find more safe the latter choice but I would prefer to leave the choice on
André with better MI real world experience.
Thanks,
Jan
next prev parent reply other threads:[~2012-12-18 16:39 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 19:07 Tom Tromey
2012-11-16 19:49 ` Eli Zaretskii
2012-11-17 2:22 ` Yao Qi
2012-12-02 9:38 ` Jan Kratochvil
2012-12-03 18:59 ` Tom Tromey
2012-12-03 19:37 ` Jan Kratochvil
2012-12-03 19:39 ` Tom Tromey
2012-12-03 20:22 ` André Pönitz
2012-12-03 20:31 ` Jan Kratochvil
2012-12-07 18:42 ` Tom Tromey
2012-12-07 19:28 ` Jan Kratochvil
2012-12-07 19:47 ` Tom Tromey
2012-12-07 20:04 ` Jan Kratochvil
2012-12-17 21:43 ` Tom Tromey
2012-12-18 16:39 ` Jan Kratochvil [this message]
2012-12-18 16:45 ` Tom Tromey
2012-12-18 16:50 ` Jan Kratochvil
2012-12-19 19:32 ` Tom Tromey
2012-12-19 20:11 ` Marc Khouzam
2012-12-20 8:58 ` Dodji Seketeli
2013-01-03 18:06 ` Tom Tromey
2012-12-07 18:41 ` Tom Tromey
2013-01-03 18:16 ` RFA: [1/2] add "catch-type" to all catchpoints Tom Tromey
2013-01-03 18:39 ` Eli Zaretskii
2013-01-16 17:23 ` Tom Tromey
2013-01-03 18:23 ` RFA: [2/2] catch signal Tom Tromey
2013-01-16 17:28 ` 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=20121218163837.GA23234@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=andre.poenitz@mathematik.tu-chemnitz.de \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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