clear (gdb mode only)

Delete a breakpoint at the specified location.

Syntax

clear [{func | line | *addr}] [if cond] [thread thread]

Parameters

func

The name of a function.

line

A line number in a source code file.

addr

An address.

cond

A conditional expression. Execution stops when the debugger hits the specified location and this condition evaluates to TRUE.

thread

A thread ID.

Description

This command removes any breakpoints at the specified line number or function entry. If you do not specify any parameter, it removes the breakpoints from the next instruction to be executed.

Example

(idb) clear main

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.