SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;