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
|
@ -1,3 +1,10 @@
|
|||
2019-07-02 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* 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.
|
||||
|
||||
2019-07-02 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* NEWS (Completion improvements): Mention "info threads".
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1390,7 +1390,9 @@ extern void insert_breakpoints (void);
|
|||
|
||||
extern int remove_breakpoints (void);
|
||||
|
||||
extern int remove_breakpoints_inf (inferior *inf);
|
||||
/* Remove breakpoints of inferior INF. */
|
||||
|
||||
extern void remove_breakpoints_inf (inferior *inf);
|
||||
|
||||
/* This function can be used to update the breakpoint package's state
|
||||
after an exec() system call has been executed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue