From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [commit] fix build failure in aix-thread.c:aix_thread_wait
Date: Thu, 21 May 2009 22:35:00 -0000 [thread overview]
Message-ID: <20090521223532.GK16152@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Just an oversight from a patch that added an extra "options" parameter
for the "to_wait" target_ops method. Fixed thusly.
2009-05-21 Joel Brobecker <brobecker@adacore.com>
* aix-thread.c (aix_thread_wait): Add options parameter. Use it
to call the to_wait method in the target_beneath.
Checked in.
--
Joel
[-- Attachment #2: aix-thread.diff --]
[-- Type: text/x-diff, Size: 792 bytes --]
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 35103f5..8af0571 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1012,7 +1012,7 @@ aix_thread_resume (struct target_ops *ops,
static ptid_t
aix_thread_wait (struct target_ops *ops,
- ptid_t ptid, struct target_waitstatus *status)
+ ptid_t ptid, struct target_waitstatus *status, int options)
{
struct cleanup *cleanup = save_inferior_ptid ();
struct target_ops *beneath = find_target_beneath (ops);
@@ -1020,7 +1020,7 @@ aix_thread_wait (struct target_ops *ops,
pid_to_prc (&ptid);
inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid));
- ptid = beneath->to_wait (beneath, ptid, status);
+ ptid = beneath->to_wait (beneath, ptid, status, options);
do_cleanups (cleanup);
if (PIDGET (ptid) == -1)
next reply other threads:[~2009-05-21 22:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-21 22:35 Joel Brobecker [this message]
2009-05-21 23:00 ` Pedro Alves
2009-05-21 23:09 ` Joel Brobecker
2009-05-21 23:25 ` 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=20090521223532.GK16152@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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