mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
Constify breakpoint::print_one
This constifies breakpoint::print_one.
This commit is contained in:
@ -42,7 +42,7 @@ struct fork_catchpoint : public breakpoint
|
||||
CORE_ADDR bp_addr,
|
||||
const target_waitstatus &ws) override;
|
||||
enum print_stop_action print_it (const bpstat *bs) const override;
|
||||
bool print_one (struct bp_location **) override;
|
||||
bool print_one (bp_location **) const override;
|
||||
void print_mention () override;
|
||||
void print_recreate (struct ui_file *fp) override;
|
||||
|
||||
@ -129,7 +129,7 @@ fork_catchpoint::print_it (const bpstat *bs) const
|
||||
/* Implement the "print_one" method for fork catchpoints. */
|
||||
|
||||
bool
|
||||
fork_catchpoint::print_one (struct bp_location **last_loc)
|
||||
fork_catchpoint::print_one (bp_location **last_loc) const
|
||||
{
|
||||
struct value_print_options opts;
|
||||
struct ui_out *uiout = current_uiout;
|
||||
|
Reference in New Issue
Block a user