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 2/2] mi: Add launch-type={run,attach} in =thread-group-started


> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: Simon Marchi <simon.marchi@ericsson.com>
> Date: Mon, 1 Aug 2016 17:14:01 -0400
> 
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -26437,12 +26437,14 @@ group is added, it generally might not be associated with a running
>  process.  When a thread group is removed, its id becomes invalid and
>  cannot be used in any way.
>  
> -@item =thread-group-started,id="@var{id}",pid="@var{pid}"
> +@item =thread-group-started,id="@var{id}",pid="@var{pid}",launch-type="@var{launch-type}"
>  A thread group became associated with a running program,
>  either because the program was just started or the thread group
>  was attached to a program.  The @var{id} field contains the
>  @value{GDBN} identifier of the thread group.  The @var{pid} field
> -contains process identifier, specific to the operating system.
> +contains process identifier, specific to the operating system.  The
> +@var{launch-type} field has the value @code{"run"} if the program was started
> +by gdb and @code{"attach"} if it was attached.
      ^^^
@value{GDBN}

Also, @code{"foo"} looks bad in Info due to too many quotes.  Suggest
to use just @code{foo} instead.

The documentation parts are okay with these fixed.

Thanks.


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