From: Nick Roberts Date: Sun, 10 Sep 2006 13:05:34 +0000 (+0000) Subject: (gdb_process_pending_event): Include lwp no X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fef95f4860d72447bf059dfe57f2d9de09570f1;p=thirdparty%2Fbinutils-gdb.git (gdb_process_pending_event): Include lwp no in return value. --- diff --git a/gdb/async-nat-inferior.c b/gdb/async-nat-inferior.c index 361003a5ffc..0a49606b131 100644 --- a/gdb/async-nat-inferior.c +++ b/gdb/async-nat-inferior.c @@ -390,7 +390,7 @@ gdb_process_pending_event (struct gdb_inferior_status *ns, //inferior_debug (1, "Processing pending event type: %d\n", event->type); gdb_service_event (event->type, (unsigned char *) event->buf, status); - return pid_to_ptid (gdb_status->pid); + return ptid_build (gdb_status->pid, gdb_status->pid, 0); } void