This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 10/18] Remote thread create/exit events


Pedro Alves <palves@redhat.com> writes:

Hi Pedro,

> @@ -6417,6 +6425,11 @@ Packet: '%s'\n"),
>  		 one used by the original program.  */
>  	      skipregs = 1;
>  	    }
> +	  else if (strprefix (p, p1, "create"))
> +	    {
> +	      event->ws.kind = TARGET_WAITKIND_THREAD_CREATED;
> +	      p = skip_to_semicolon (p1 + 1);
> +	    }
>  	  else
>  	    {
>  	      ULONGEST pnum;

Looks you add thread create/exit events on current stop notification.
I am wondering why don't we add a new notification for thread
create/exit.  It should straightforward to add a new notification under
current remote notification infrastructure.

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]