aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rust-lang.h')
-rw-r--r--gdb/rust-lang.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gdb/rust-lang.h b/gdb/rust-lang.h
index a1d1026..4e5f39c 100644
--- a/gdb/rust-lang.h
+++ b/gdb/rust-lang.h
@@ -148,14 +148,10 @@ public:
{
struct block_symbol result = {};
- if (symbol_lookup_debug)
- {
- gdb_printf (gdb_stdlog,
- "rust_lookup_symbol_non_local"
- " (%s, %s (scope %s), %s)\n",
- name, host_address_to_string (block),
- block_scope (block), domain_name (domain));
- }
+ symbol_lookup_debug_printf
+ ("rust_lookup_symbol_non_local (%s, %s (scope %s), %s)",
+ name, host_address_to_string (block), block_scope (block),
+ domain_name (domain));
/* Look up bare names in the block's scope. */
std::string scopedname;