[RFC] qfThreadExtraInfo -> qThreadExtraInfo
Andrew Cagney
ac131313@cygnus.com
Tue Mar 28 17:17:00 GMT 2000
This is just part one of the cleanups to the thread code. It brings
this specific query into line with the spec. Given it isn't deployed in
the field the change is ok.
I've other fixes but they aren't as urgent.
Andrew
Index: gdb/ChangeLog
Tue Mar 28 18:28:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
with qThreadInfo.
Index: gdb/doc/ChangeLog
Tue Mar 28 18:28:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.texinfo (Protocol): Replace ``qfThreadExtraInfo'' with
qThreadInfo.
Index: gdb/remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.6
diff -p -r1.6 remote.c
*** remote.c 2000/03/21 01:22:05 1.6
--- remote.c 2000/03/28 23:57:53
*************** remote_threads_extra_info (struct thread
*** 1654,1660 ****
if (use_threadextra_query)
{
! sprintf (bufp, "qfThreadExtraInfo,%x", tp->pid);
putpkt (bufp);
getpkt (bufp, PBUFSIZ, 0);
if (bufp[0] != 0)
--- 1654,1660 ----
if (use_threadextra_query)
{
! sprintf (bufp, "qThreadExtraInfo,%x", tp->pid);
putpkt (bufp);
getpkt (bufp, PBUFSIZ, 0);
if (bufp[0] != 0)
Index: gdb/doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.9
diff -p -r1.9 gdb.texinfo
*** gdb.texinfo 2000/03/28 16:46:24 1.9
--- gdb.texinfo 2000/03/28 23:58:40
*************** respond to each reply with a request for
*** 9461,9467 ****
(lower-case el, for @code{'last'}).
@item extra thread info
! @tab @code{qfThreadExtraInfo,}@var{<id>}
@tab
@item
@tab
--- 9461,9467 ----
(lower-case el, for @code{'last'}).
@item extra thread info
! @tab @code{q}@code{ThreadExtraInfo}@code{,}@var{id}
@tab
@item
@tab
More information about the Gdb-patches
mailing list