Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: remote packet size for memory read
       [not found] ` <51D292E7.9040900@groessler.org>
@ 2013-07-05 14:26   ` Pedro Alves
  2013-07-24 23:00     ` Philippe Waroquiers
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2013-07-05 14:26 UTC (permalink / raw)
  To: Christian Groessler; +Cc: gdb

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.

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

Thanks,
-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: remote packet size for memory read
  2013-07-05 14:26   ` remote packet size for memory read Pedro Alves
@ 2013-07-24 23:00     ` Philippe Waroquiers
  2013-07-25  7:07       ` Christian Groessler
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Waroquiers @ 2013-07-24 23:00 UTC (permalink / raw)
  To: Pedro Alves; +Cc: Christian Groessler, gdb

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 ...
> 
> Thanks,



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: remote packet size for memory read
  2013-07-24 23:00     ` Philippe Waroquiers
@ 2013-07-25  7:07       ` Christian Groessler
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Groessler @ 2013-07-25  7:07 UTC (permalink / raw)
  To: Philippe Waroquiers; +Cc: Pedro Alves, gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-25  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <51D29213.2050801@groessler.org>
     [not found] ` <51D292E7.9040900@groessler.org>
2013-07-05 14:26   ` remote packet size for memory read Pedro Alves
2013-07-24 23:00     ` Philippe Waroquiers
2013-07-25  7:07       ` Christian Groessler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox