[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    another bug in remote.c
From:       Quality Quorum <qqi () world ! std ! com>
Date:       1999-12-11 3:29:21
Message-ID: Pine.SGI.3.95.991210221737.22433A-100000 () world ! std ! com
[Download RAW message or body]



Hi, 

I got another bug. This time I do not know how to fix it. 
It is possible to get into following sequence of of events:



gdb:       $m4000ab70,c8#22        -- asks for 200 bytes of memory
stub:      $<400 chars>#XX         -- stub responds correctly, packet 
                                      length 404 bytes
gdb:       Remote packet too long  -- gdb unhappy


I suspect that PBUFSIZ should not be used to determine
max_buf_size in remote_read_bytes(). It seems like there are
more places where similar problem may occur.


Thanks,

Aleksey





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic