From: Pedro Alves <palves@redhat.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@ericsson.com>
Subject: Re: [PATCH] Fix execution_direction's type
Date: Tue, 13 Oct 2015 18:44:00 -0000 [thread overview]
Message-ID: <561D5106.5030003@redhat.com> (raw)
In-Reply-To: <1444404887-10192-1-git-send-email-palves@redhat.com>
On 10/09/2015 04:34 PM, Pedro Alves wrote:
> This fixes a few build errors like these in C++ mode:
>
> src/gdb/reverse.c: In function âvoid exec_reverse_once(char*, char*, int)â:
> src/gdb/reverse.c:49:34: error: invalid conversion from âintâ to âexec_direction_kindâ [-fpermissive]
> enum exec_direction_kind dir = execution_direction;
> ^
> make: *** [reverse.o] Error 1
>
> 2015-10-09 Pedro Alves <palves@redhat.com>
>
> * infrun.c (restore_execution_direction): New function.
> (fetch_inferior_event): Use it instead of
> make_cleanup_restore_integer.
> (execution_direction): Change type to enum
> exec_direction_kind.
> * infrun.h (execution_direction): Likewise.
Now pushed.
Thanks,
Pedro Alves
prev parent reply other threads:[~2015-10-13 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-09 15:34 Pedro Alves
2015-10-09 17:15 ` Simon Marchi
2015-10-09 17:26 ` Pedro Alves
2015-10-13 18:44 ` Pedro Alves [this message]
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=561D5106.5030003@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--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