This is the mail archive of the gdb@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: remote packet size for memory read


On 07/25/13 01:00, Philippe Waroquiers wrote:
On Fri, 2013-07-05 at 15:25 +0100, Pedro Alves wrote:
On 07/02/2013 09:44 AM, Christian Groessler wrote:

I haven't analyzed the issue thoroughly, but it's quite plausible
you're right.
Problem of GDB asking to read packetsize/2 has also be detected  with
the Valgrind gdbserver, which expects that
    nr_bytes_requested_in_m_packet*2 + 4 <= packetsize
but GDB only guarantees
     nr_bytes_requested_in_m_packet*2 <= packetsize


If you don't plan on contributing fixes, could you file (separate) bug
reports for these, so they don't get lost?
Have these been filed ? Not seen ...

Haven't come around to do it yet, sorry.
I also wanted to check with valgrind before....

regards,
chris


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