Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: gdb@sourceware.org
Subject: Potential problem between non-stop and linux-thread-db
Date: Tue, 06 Oct 2009 00:46:00 -0000	[thread overview]
Message-ID: <4ACA9270.3020205@vmware.com> (raw)

Just something I noticed just now...

linux-thread-db depends on callback functions provided by 
gdb_proc_service.c.  Some of those callbacks are for instance

/* Stop the lightweight process LWPID within the target process PH.  */

ps_err_e
ps_lstop (gdb_ps_prochandle_t ph, lwpid_t lwpid)
{
   /* All lightweight processes are stopped when under control of GDB.  */
   return PS_OK;
}

/* Resume the lightweight process (LWP) LWPID within the target
    process PH.  */

ps_err_e
ps_lcontinue (gdb_ps_prochandle_t ph, lwpid_t lwpid)
{
   /* Pretend we did successfully continue LWPID.  GDB will take care
      of it later on.  */
   return PS_OK;
}

These were written under the "all-stop" convention, but the comments
are no longer true, is it not so?

So, async/nonstop guys -- do we need to do anything about this?

Michael



             reply	other threads:[~2009-10-06  0:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06  0:46 Michael Snyder [this message]
2009-10-06  0:49 ` Pedro Alves
2009-10-06 17:34   ` Michael Snyder
2009-10-06 17:44     ` 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=4ACA9270.3020205@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@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