public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Enze Li via Gdb-patches <gdb-patches@sourceware.org>
Cc: Enze Li <enze.li@hotmail.com>,
	 aburgess@redhat.com,  pedro@palves.net, enze.li@gmx.com
Subject: Re: [PATCH v2 2/2] gdb/testsuite: add a clear test to py-breakpoint.exp
Date: Fri, 15 Jul 2022 10:27:41 -0600	[thread overview]
Message-ID: <8735f2qr2a.fsf@tromey.com> (raw)
In-Reply-To: <OS3P286MB215225F76594CCF8890BEE9DF0B49@OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM> (Enze Li via Gdb-patches's message of "Fri, 24 Jun 2022 22:16:01 +0800")

>>>>> "Enze" == Enze Li via Gdb-patches <gdb-patches@sourceware.org> writes:

Enze> This patch adds a test case to try to clear an internal python
Enze> breakpoint using the clear command.

Enze> +    gdb_test "python gdb.execute(\'clear *$bp_addr\')" \

It seems weird to do this via gdb.execute rather than directly, but also
harmless I suppose.  So I think this is ok either way.

Tom

  reply	other threads:[~2022-07-15 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 14:13 [PATCH v2 1/2] gdb/testsuite: rename get_maint_bp_addr and move it to gdb-utils.exp Enze Li
2022-06-24 14:16 ` [PATCH v2 2/2] gdb/testsuite: add a clear test to py-breakpoint.exp Enze Li
2022-07-15 16:27   ` Tom Tromey [this message]
2022-07-15 16:25 ` [PATCH v2 1/2] gdb/testsuite: rename get_maint_bp_addr and move it to gdb-utils.exp Tom Tromey
2022-07-24  4:10   ` Enze Li

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=8735f2qr2a.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=aburgess@redhat.com \
    --cc=enze.li@gmx.com \
    --cc=enze.li@hotmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    /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).