public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Simon Marchi <simark@simark.ca>,
	Simon Marchi <simon.marchi@ericsson.com>,
	       gdb-patches@sourceware.org
Subject: Re: [PATCH master+7.12 v2 1/3] Introduce cleanup to restore current_uiout
Date: Fri, 16 Sep 2016 18:18:00 -0000	[thread overview]
Message-ID: <e5835c4d-2838-bc16-e087-c6e9d45cc952@redhat.com> (raw)
In-Reply-To: <ad1c4e89-6207-bb6a-77fd-2f9d41a2f0f4@simark.ca>

On 09/15/2016 04:23 AM, Simon Marchi wrote:
> On 14/09/16 01:56 PM, Pedro Alves wrote:
>> On 09/14/2016 06:45 PM, Simon Marchi wrote:
>>> Make a globally available cleanup from a pre-existing one in infrun.c.
>>> This is used in the following patch.
>>>
>>> gdb/ChangeLog:
>>>
>>> 	* infrun.c (restore_current_uiout_cleanup): Move to ui-out.c.
>>> 	(print_stop_event): Use make_cleanup_restore_current_uiout.
>>> 	* ui-out.c (restore_current_uiout_cleanup): Move from infrun.c.
>>> 	(make_cleanup_restore_current_uiout): New function definition.
>>> 	* ui-out.h (make_cleanup_restore_current_uiout): New function
>>> 	definition.
>>
>> OK.
>>
>> Thanks,
>> Pedro Alves
> 
> A little addition, I replace the usage of make_cleanup_restore_ui_out in python.c
> by this new make_cleanup_restore_current_uiout, and remove
> make_cleanupt_restore_ui_out.

OK.

Thanks,
Pedro Alves

  reply	other threads:[~2016-09-16 18:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 17:46 [PATCH master+7.12 v2 0/3] Emit user selection change notifications on all UIs Simon Marchi
2016-09-14 17:46 ` [PATCH master+7.12 v2 1/3] Introduce cleanup to restore current_uiout Simon Marchi
2016-09-14 17:56   ` Pedro Alves
2016-09-15  3:24     ` Simon Marchi
2016-09-16 18:18       ` Pedro Alves [this message]
     [not found]         ` <0c9914b2-f012-3b59-f127-04e70a7f867a@ericsson.com>
2016-10-03 21:25           ` Simon Marchi
2016-09-14 18:11   ` Tom Tromey
2016-09-14 18:18     ` Simon Marchi
2016-09-14 18:32       ` Pedro Alves
2016-09-14 19:12         ` Tom Tromey
2016-09-15  3:17           ` Simon Marchi
2016-09-14 17:46 ` [PATCH master+7.12 v2 3/3] Add test for user context selection sync Simon Marchi
2016-09-14 19:31   ` Pedro Alves
2016-09-16  2:02     ` Simon Marchi
2016-09-21 16:43       ` Pedro Alves
2016-09-21 21:38         ` Simon Marchi
2016-09-22  1:56           ` Simon Marchi
2016-09-14 17:46 ` [PATCH master+7.12 v2 2/3] Emit inferior, thread and frame selection events to all UIs Simon Marchi
2016-09-14 18:30   ` Pedro Alves
2016-09-15 16:21     ` Simon Marchi
2016-09-16 18:26       ` Pedro Alves

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=e5835c4d-2838-bc16-e087-c6e9d45cc952@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simark@simark.ca \
    --cc=simon.marchi@ericsson.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).