SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/avr/gdb/patches/patch-gdb_remote_c
Normal file
14
devel/avr/gdb/patches/patch-gdb_remote_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- gdb/remote.c.orig Mon Feb 25 02:59:06 2008
|
||||
+++ gdb/remote.c Sat Jun 26 15:31:40 2010
|
||||
@@ -6102,8 +6102,9 @@ remote_xfer_partial (struct target_ops *ops, enum targ
|
||||
[PACKET_qXfer_spu_write]);
|
||||
}
|
||||
|
||||
- /* Only handle flash writes. */
|
||||
- if (writebuf != NULL)
|
||||
+ /* Only handle flash writes. Zero OFFSET and LENGTH is just a size
|
||||
+ * query only, so proceed anyway. */
|
||||
+ if (writebuf != NULL && !(offset == 0 && len == 0))
|
||||
{
|
||||
LONGEST xfered;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue