diff options
author | Stan Shebs <shebs@codesourcery.com> | 2010-03-29 17:58:17 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2010-03-29 17:58:17 +0000 |
commit | a040585484dfbff0ff6eaa413b5db33d6c1477ed (patch) | |
tree | dce58c3985eb73cb2bd7199acf541131fa8ebe34 /gdb/tracepoint.c | |
parent | 76a2b9588c3dd301f12d5e7d071c3a0dc11047c0 (diff) | |
download | gdb-a040585484dfbff0ff6eaa413b5db33d6c1477ed.zip gdb-a040585484dfbff0ff6eaa413b5db33d6c1477ed.tar.gz gdb-a040585484dfbff0ff6eaa413b5db33d6c1477ed.tar.bz2 |
2010-03-29 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
expression handler.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 498c18e..44b8c2b 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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)); |