diff options
author | Tom Tromey <tom@tromey.com> | 2021-01-09 10:06:25 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-01-09 10:06:25 -0700 |
commit | bc167b6b3eb81de168c54aed4a8f0d1fdaa065e2 (patch) | |
tree | 591a934ffe792f7efe7b3b28db7e838257bbda36 /gdb/i386-windows-tdep.c | |
parent | 66beed0227b1a9c29bcf22c47bd2803b5d595509 (diff) | |
download | gdb-bc167b6b3eb81de168c54aed4a8f0d1fdaa065e2.zip gdb-bc167b6b3eb81de168c54aed4a8f0d1fdaa065e2.tar.gz gdb-bc167b6b3eb81de168c54aed4a8f0d1fdaa065e2.tar.bz2 |
Remove a use of print_expression
The tracepoint code uses print_expression to reconstruct an expression
string. However, the original expression is already available -- it
was just parsed a bit earlier in the same function. This patch
changes this code to simply save the already-parsed expression, rather
than attempt to reconstruct it.
gdb/ChangeLog
2021-01-09 Tom Tromey <tom@tromey.com>
* tracepoint.h (class collection_list) <append_exp>: Take a
std::string.
* tracepoint.c (collection_list::append_exp): Take a std::string.
(encode_actions_1): Update.
Diffstat (limited to 'gdb/i386-windows-tdep.c')
0 files changed, 0 insertions, 0 deletions