From: Sergio Durigan Junior <sergiodj@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] Share target_wait prototype between GDB and gdbserver
Date: Thu, 01 Sep 2016 18:58:00 -0000 [thread overview]
Message-ID: <87eg5330sp.fsf@redhat.com> (raw)
In-Reply-To: <49223e65-a30b-7e0e-d545-35799d73b6f7@redhat.com> (Pedro Alves's message of "Wed, 31 Aug 2016 11:29:43 +0100")
On Wednesday, August 31 2016, Pedro Alves wrote:
> On 08/29/2016 05:11 AM, Sergio Durigan Junior wrote:
>
>> --- a/gdb/target.h
>> +++ b/gdb/target.h
>> @@ -1341,18 +1341,6 @@ extern void target_disconnect (const char *, int);
>>
>> extern void target_resume (ptid_t ptid, int step, enum gdb_signal signal);
>>
>> -/* Wait for process pid to do something. PTID = -1 to wait for any
>> - pid to do something. Return pid of child, or -1 in case of error;
>> - store status through argument pointer STATUS. Note that it is
>> - _NOT_ OK to throw_exception() out of target_wait() without popping
>> - the debugging target from the stack; GDB isn't prepared to get back
>> - to the prompt with a debugging target but without the frame cache,
>> - stop_pc, etc., set up. OPTIONS is a bitwise OR of TARGET_W*
>> - options. */
>> -
>> -extern ptid_t target_wait (ptid_t ptid, struct target_waitstatus *status,
>> - int options);
>> -
>
> Please leave a breadcrumb comment here, like was done for
> target_read_memory, for example:
>
> /* For target_read_memory see target/target.h. */
Fixed and pushed:
f2b9e3dfd4bc3c5149496fdbeaa5f0907220685f
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
prev parent reply other threads:[~2016-09-01 18:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-29 4:12 [PATCH 0/2] Consolidate target_{wait,resume} calls " Sergio Durigan Junior
2016-08-29 4:12 ` [PATCH 1/2] Use target_continue{,_no_signal} instead of target_resume Sergio Durigan Junior
2016-08-31 10:25 ` Pedro Alves
2016-09-01 18:57 ` Sergio Durigan Junior
2016-08-29 4:12 ` [PATCH 2/2] Share target_wait prototype between GDB and gdbserver Sergio Durigan Junior
2016-08-31 10:29 ` Pedro Alves
2016-08-31 10:30 ` Pedro Alves
2016-09-01 18:58 ` Sergio Durigan Junior [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=87eg5330sp.fsf@redhat.com \
--to=sergiodj@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).