Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Shrinand Javadekar <shrinand@gmail.com>
To: Pedro Alves <pedro@codesourcery.com>,
	gdb@sourceware.org,  	Michael Snyder <msnyder@vmware.com>
Subject: Re: About "process 42000"
Date: Fri, 03 Apr 2009 22:00:00 -0000	[thread overview]
Message-ID: <fe51cfa60904031446w776e4abbk7a0efeb79d5a45de@mail.gmail.com> (raw)
In-Reply-To: <200904031915.47714.pedro@codesourcery.com>

Ooops... I think this was because of my mistake. I have my own gdb
server. In the list of processes being returned for "info threads", I
was returning a process with pid 0. Gdb would then give this a process
id of 42000.

Sending packet: $qsThreadInfo#c8...Ack
Packet received: m0
[New process 42000]

Gdb then shows "process 42000" in the output. However, from here on,
it does not try to find out if this process is alive. It will always
show "process 42000" in the output. So every "info threads" command
after this one will have "process 42000" in the output.

Thank you everyone.
-Shri

On Fri, Apr 3, 2009 at 11:15 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Friday 03 April 2009 18:58:50, Michael Snyder wrote:
>> Shrinand Javadekar wrote:
>> > Hi,
>> >
>> > I see "process 42000" in the output of an "info threads" command.
>> >
>> > What exactly is this process with id 42000? And what is its significance?
>>
>> In the past, 42000 was a magic thread id that was supplied by remote.c
>> in the case where we did not have any actual thread ids.
>>
>> Now, however, I am seeing it even in cases where we do have
>> a list of real thread ids from the remote target.
>>
>> Seems like a bug to me...
>
> Can you be a bit more specific?  A gdb log showing what you're talking
> about would be helpful.  A debug remote log would probably also help.
> Since there are a bunch of optional packets, I may have
> missed some combination.
>
> --
> Pedro Alves
>



-- 
Discover the 'web' of videos
www.videonym.com


  reply	other threads:[~2009-04-03 21:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fe51cfa60904021742w99c2a16he506e10a01d1bb67@mail.gmail.com>
2009-04-03  1:10 ` Shrinand Javadekar
2009-04-03  2:58   ` Hui Zhu
2009-04-03 18:15   ` Michael Snyder
2009-04-03 19:30     ` Pedro Alves
2009-04-03 22:00       ` Shrinand Javadekar [this message]
2009-04-03 22:03         ` Michael Snyder
2009-04-04  6:52         ` 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=fe51cfa60904031446w776e4abbk7a0efeb79d5a45de@mail.gmail.com \
    --to=shrinand@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=pedro@codesourcery.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