Remove return value from remove_breakpoints_inf
... since nobody uses it. gdb/ChangeLog: * breakpoint.h (remove_breakpoints_inf): Change return type to void, move function documentation here. * breakpoint.c (remove_breakpoints_inf): Change return type to void, move function documentation to header.
This commit is contained in:
parent
9be796f35b
commit
f3869b1a41
3 changed files with 13 additions and 5 deletions
|
@ -3049,9 +3049,9 @@ Thread-specific breakpoint %d deleted - thread %s no longer in the thread list.\
|
|||
}
|
||||
}
|
||||
|
||||
/* Remove breakpoints of inferior INF. */
|
||||
/* See breakpoint.h. */
|
||||
|
||||
int
|
||||
void
|
||||
remove_breakpoints_inf (inferior *inf)
|
||||
{
|
||||
struct bp_location *bl, **blp_tmp;
|
||||
|
@ -3066,10 +3066,9 @@ remove_breakpoints_inf (inferior *inf)
|
|||
{
|
||||
val = remove_breakpoint (bl);
|
||||
if (val != 0)
|
||||
return val;
|
||||
return;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int internal_breakpoint_number = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue