2010-03-29 Stan Shebs <stan@codesourcery.com>

* tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
	expression handler.
This commit is contained in:
Stan Shebs 2010-03-29 17:58:17 +00:00
parent 76a2b9588c
commit a040585484
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2010-03-29 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
expression handler.
* tracepoint.c (start_tracing): Check tracepoints before sending
commands to target, don't start if all tracepoints disabled.

View File

@ -922,10 +922,11 @@ collect_symbol (struct collection_list *collect,
}
add_memrange (collect, reg, offset, len);
break;
case LOC_UNRESOLVED:
printf_filtered ("Don't know LOC_UNRESOLVED %s\n",
SYMBOL_PRINT_NAME (sym));
treat_as_expr = 1;
break;
case LOC_OPTIMIZED_OUT:
printf_filtered ("%s has been optimized out of existence.\n",
SYMBOL_PRINT_NAME (sym));