Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109657443
D32486.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
D32486.diff
View Options
diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile
--- a/devel/gdb/Makefile
+++ b/devel/gdb/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gdb
DISTVERSION= 11.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU
diff --git a/devel/gdb/files/kgdb/fbsd-kvm.c b/devel/gdb/files/kgdb/fbsd-kvm.c
--- a/devel/gdb/files/kgdb/fbsd-kvm.c
+++ b/devel/gdb/files/kgdb/fbsd-kvm.c
@@ -144,6 +144,8 @@
} catch (const gdb_exception_error &e) {
return;
}
+ if (size == 0)
+ return;
rseq = MSGBUF_SEQ_TO_POS(size, rseq);
wseq = MSGBUF_SEQ_TO_POS(size, wseq);
if (rseq == wseq)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 9, 12:56 AM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16538416
Default Alt Text
D32486.diff (574 B)
Attached To
Mode
D32486: devel/gdb: Avoid a divide by zero in kgdb.
Attached
Detach File
Event Timeline
Log In to Comment