Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161110078
D26115.id75973.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D26115.id75973.diff
View Options
Index: head/sys/gdb/gdb_main.c
===================================================================
--- head/sys/gdb/gdb_main.c
+++ head/sys/gdb/gdb_main.c
@@ -204,8 +204,14 @@
/* Parse supported host features */
*feat = 0;
- if (gdb_rx_char() != ':')
+ switch (gdb_rx_char()) {
+ case ':':
+ break;
+ case EOF:
+ goto nofeatures;
+ default:
goto error;
+ }
while (gdb_rxsz > 0) {
tok = gdb_rxp;
@@ -250,6 +256,7 @@
*feat |= BIT(i);
}
+nofeatures:
/* Send a supported feature list back */
gdb_tx_begin(0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 1, 3:29 PM (8 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34567306
Default Alt Text
D26115.id75973.diff (536 B)
Attached To
Mode
D26115: gdb(4): Support empty qSupported queries
Attached
Detach File
Event Timeline
Log In to Comment