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] Fix for QTro remote packet


On 05/01/2013 06:38 PM, David Taylor wrote:
> In function remote_trace_set_readonly_regions in gdb/remote.c, the local
> variable 'offset' does not account for "QTro" at the start of the packet
> with the result that if there are any read-only regions, the packet is
> sent -- but without the "QTro" -- causing the remote stub to report that
> the packet is unsupported.

Sigh.  Clearly the Jun 2011 change to this function wasn't
properly tested.  :-/

> 2013-05-01  David Taylor  <dtaylor@emc.com>
> 
> 	* remote.c (remote_trace_set_readonly_regions): Do not overwrite
> 	"QTro" at start of packet.

OK, thanks.

-- 
Pedro Alves


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