bx
Arguments
[%bp_label] [@bp_count] [address_expression] [{cmds}]
%bp_label
See "Breakpoint label".
@bp_count
See "@bp_count".
address_expression
See "Address expressions".
{cmds}
See "Command list".

If no arguments are specified, sets a (temporary for bX, permanent for bx) breakpoint at the exit point of the current function. This is at a point which ALL returns of any kind will go through.

If a call stack trace level is specified, sets a breakpoint at the exit point of the function at specified stack level. See "Stack trace commands". If a procedure name is specified, sets a breakpoint at the exit point of the procedure. Note that both a stack level and a procedure are address expressions. See "Address expressions".

If cmds is specified, then the commands will be executed like those for any other breakpoint.

For example:

bx foo

bx "foo.c"#a_routine

The first command sets a breakpoint at the exit point of procedure foo. The second command sets a breakpoint at the exit point of the procedure a_routine, which is located in file foo.c.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.