diff options
author | Tom Tromey <tom@tromey.com> | 2023-03-05 10:23:04 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-28 10:58:16 -0700 |
commit | d4bf9040be06250a0ee07d5bd6dc8a1e42590415 (patch) | |
tree | 66f950fb8d2003d53e2e44de3b48b1f8ca71718a /gdb/mi | |
parent | 0ff2d66b1f1f3125ff59a97539b97a61bc0d6bf3 (diff) | |
download | fsf-binutils-gdb-d4bf9040be06250a0ee07d5bd6dc8a1e42590415.zip fsf-binutils-gdb-d4bf9040be06250a0ee07d5bd6dc8a1e42590415.tar.gz fsf-binutils-gdb-d4bf9040be06250a0ee07d5bd6dc8a1e42590415.tar.bz2 |
Simplify symbol_to_info_string
Thi simplifies symbol_to_info_string, removing the 'kind' parameter
and instead having it use the symbol's domain.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-symbol-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-symbol-cmds.c b/gdb/mi/mi-symbol-cmds.c index d3ec16f..758f597 100644 --- a/gdb/mi/mi-symbol-cmds.c +++ b/gdb/mi/mi-symbol-cmds.c @@ -87,7 +87,7 @@ output_debug_symbol (ui_out *uiout, enum search_domain kind, type_print (sym->type (), "", &tmp_stream, -1); uiout->field_string ("type", tmp_stream.string ()); - std::string str = symbol_to_info_string (sym, block, kind); + std::string str = symbol_to_info_string (sym, block); uiout->field_string ("description", str); } } |