Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172481336
D11119.id29495.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11119.id29495.diff
View Options
Index: contrib/gdb/gdb/breakpoint.c
===================================================================
--- contrib/gdb/gdb/breakpoint.c
+++ contrib/gdb/gdb/breakpoint.c
@@ -7619,7 +7619,7 @@
int mem_cnt = can_use_hardware_watchpoint (bpt->val);
/* Hack around 'unused var' error for some targets here */
- (void) mem_cnt;
+ (void) mem_cnt, i;
target_resources_ok = TARGET_CAN_USE_HARDWARE_WATCHPOINT (
bpt->type, i + mem_cnt, other_type_used);
/* we can consider of type is bp_hardware_watchpoint, convert to
Index: contrib/gdb/gdb/c-typeprint.c
===================================================================
--- contrib/gdb/gdb/c-typeprint.c
+++ contrib/gdb/gdb/c-typeprint.c
@@ -540,7 +540,7 @@
fprintf_filtered (stream, ")");
fprintf_filtered (stream, "[");
- if ((int)(TYPE_LENGTH (type)) >= 0 && TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0
+ if (TYPE_LENGTH (type) >= 0 && TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0
&& TYPE_ARRAY_UPPER_BOUND_TYPE (type) != BOUND_CANNOT_BE_DETERMINED)
fprintf_filtered (stream, "%d",
(TYPE_LENGTH (type)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 19, 6:44 PM (9 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39238254
Default Alt Text
D11119.id29495.diff (1 KB)
Attached To
Mode
D11119: gnu/usr.bin/gdb build warning fixes
Attached
Detach File
Event Timeline
Log In to Comment