stop memory (idb mode only)

Set a breakpoint on a region in memory.

Syntax

stop [quiet] memory start-addr [, end-addr| :size] [access] [within funcname] [thread ID {,...}][if cond] [commands]

Parameters

ID

A thread ID.

cond

A conditional expression.

commands

A list of debugger commands.

start-addr

The address at the start of the memory region.

end-addr

The address at the end of the memory region starting from start-addr.

size

The size of the memory region starting from start-addr.

funcname

The name of a function.

access

Possible values are:

write

read

changed  This mode detects writes that change the contents of the memory.

any  This mode detects both read and write.

Default value: write

Description

This command sets a breakpoint on a region in memory that you specify. If you specify within funcname, program execution breaks only when the access occurs in the specified function.

start-addr is the address at the beginning of a memory region. This memory region is 8-bytes in size when you do not specify end-addr or size.

If you specify size, the memory region starts with start-addr and is size-bytes long.

If you specify end-addr, the memory region is from start-addr through end-addr, inclusive.

To suppress status reporting messages when the debugger hits a breakpoint, specify quiet.

To set a breakpoint such that the debugger stops when it hits one or more specific threads, specify thread and one or more comma-separated thread IDs.

To set a breakpoint based on a conditional expression, specify if cond.

To run one or more commands upon hitting a breakpoint, specify commands.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.