etm_context::image is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

etm_context::image field

Syntax

struct image *image;

References

LocationReferrerText
etm.h:161
struct image *image; /* source for target opcodes */
etm.c:639etm_read_instruction()
if (!ctx->image)
etm.c:643etm_read_instruction()
for (unsigned int i = 0; i < ctx->image->num_sections; i++) {
etm.c:644etm_read_instruction()
if ((ctx->image->sections[i].base_address <= ctx->current_pc) &&
etm.c:645etm_read_instruction()
(ctx->image->sections[i].base_address + ctx->image->sections[i].size >
etm.c:659etm_read_instruction()
retval = image_read_section(ctx->image, section,
etm.c:661etm_read_instruction()
ctx->image->sections[section].base_address,
etm.c:671etm_read_instruction()
retval = image_read_section(ctx->image, section,
etm.c:673etm_read_instruction()
ctx->image->sections[section].base_address,
etm.c:1658handle_etm_image_command()
if (etm_ctx->image) {
etm.c:1659handle_etm_image_command()
image_close(etm_ctx->image);
etm.c:1660handle_etm_image_command()
free(etm_ctx->image);
etm.c:1664handle_etm_image_command()
etm_ctx->image = malloc(sizeof(struct image));
etm.c:1665handle_etm_image_command()
etm_ctx->image->base_address_set = false;
etm.c:1666handle_etm_image_command()
etm_ctx->image->start_address_set = false;
etm.c:1670handle_etm_image_command()
etm_ctx->image->base_address_set = true;
etm.c:1671handle_etm_image_command()
COMMAND_PARSE_NUMBER(llong, CMD_ARGV[1], etm_ctx->image->base_address);
etm.c:1673handle_etm_image_command()
etm_ctx->image->base_address_set = false;
etm.c:1675handle_etm_image_command()
if (image_open(etm_ctx->image, CMD_ARGV[0],
etm.c:1677handle_etm_image_command()
free(etm_ctx->image);
etm.c:1678handle_etm_image_command()
etm_ctx->image = NULL;

Data Use

Functions writing etm_context::image
Functions reading etm_context::image
all items filtered out
etm_context::image
Type of etm_context::image
etm_context::image
all items filtered out