* qXfer:spu:read
@ 2007-06-12 20:02 Daniel Jacobowitz
2007-06-13 14:18 ` qXfer:spu:read Ulrich Weigand
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-06-12 20:02 UTC (permalink / raw)
To: Ulrich Weigand, gdb-patches
You added these to the manual:
@item @samp{qXfer:spu:read}
@tab No
@tab @samp{-}
@tab Yes
@item @samp{qXfer:spu:write}
@tab No
@tab @samp{-}
@tab Yes
But there's no qSupported support for these packets - you probably
need to update remote_protocol_features also.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: qXfer:spu:read 2007-06-12 20:02 qXfer:spu:read Daniel Jacobowitz @ 2007-06-13 14:18 ` Ulrich Weigand 2007-06-13 14:25 ` qXfer:spu:read Daniel Jacobowitz 0 siblings, 1 reply; 4+ messages in thread From: Ulrich Weigand @ 2007-06-13 14:18 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb-patches Daniel Jacobowitz wrote: > But there's no qSupported support for these packets - you probably > need to update remote_protocol_features also. Right - that part appears to have gotten lost. Note that the corresponding qSupported support in gdbserver is already there ... Here's the missing part. Tested on spu-elf against gdbserver. OK for mainline? Bye, Ulrich ChangeLog: * remote.c (remote_protocol_features): Add qXfer:spu:read and qXfer:spu:write packet types. diff -urNp gdb-orig/gdb/remote.c gdb-head/gdb/remote.c --- gdb-orig/gdb/remote.c 2007-06-12 16:35:54.000000000 +0200 +++ gdb-head/gdb/remote.c 2007-06-13 15:19:44.375181482 +0200 @@ -2314,6 +2314,10 @@ static struct protocol_feature remote_pr PACKET_qXfer_features }, { "qXfer:memory-map:read", PACKET_DISABLE, remote_supported_packet, PACKET_qXfer_memory_map }, + { "qXfer:spu:read", PACKET_DISABLE, remote_supported_packet, + PACKET_qXfer_spu_read }, + { "qXfer:spu:write", PACKET_DISABLE, remote_supported_packet, + PACKET_qXfer_spu_write }, { "QPassSignals", PACKET_DISABLE, remote_supported_packet, PACKET_QPassSignals }, }; -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: qXfer:spu:read 2007-06-13 14:18 ` qXfer:spu:read Ulrich Weigand @ 2007-06-13 14:25 ` Daniel Jacobowitz 2007-06-13 14:36 ` qXfer:spu:read Ulrich Weigand 0 siblings, 1 reply; 4+ messages in thread From: Daniel Jacobowitz @ 2007-06-13 14:25 UTC (permalink / raw) To: Ulrich Weigand; +Cc: gdb-patches On Wed, Jun 13, 2007 at 04:17:56PM +0200, Ulrich Weigand wrote: > Daniel Jacobowitz wrote: > > > But there's no qSupported support for these packets - you probably > > need to update remote_protocol_features also. > > Right - that part appears to have gotten lost. Note that the > corresponding qSupported support in gdbserver is already there ... > > Here's the missing part. Tested on spu-elf against gdbserver. > OK for mainline? Yes, thanks for fixing it! -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: qXfer:spu:read 2007-06-13 14:25 ` qXfer:spu:read Daniel Jacobowitz @ 2007-06-13 14:36 ` Ulrich Weigand 0 siblings, 0 replies; 4+ messages in thread From: Ulrich Weigand @ 2007-06-13 14:36 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb-patches Daniel Jacobowitz wrote: > On Wed, Jun 13, 2007 at 04:17:56PM +0200, Ulrich Weigand wrote: > > Daniel Jacobowitz wrote: > > > > > But there's no qSupported support for these packets - you probably > > > need to update remote_protocol_features also. > > > > Right - that part appears to have gotten lost. Note that the > > corresponding qSupported support in gdbserver is already there ... > > > > Here's the missing part. Tested on spu-elf against gdbserver. > > OK for mainline? > > Yes, thanks for fixing it! Committed, thanks. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-13 14:36 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-06-12 20:02 qXfer:spu:read Daniel Jacobowitz 2007-06-13 14:18 ` qXfer:spu:read Ulrich Weigand 2007-06-13 14:25 ` qXfer:spu:read Daniel Jacobowitz 2007-06-13 14:36 ` qXfer:spu:read Ulrich Weigand
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox