From 4c664b8d0ac4c98faac11fd247688fdeae5cea86 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sat, 17 Sep 1994 11:35:51 +0000 Subject: * cp-valprint.c (static_field_print): New variable, controls printing of static members. (_initialize_cp_valprint): New print set subcommand "static-members". Turn on printing of static members by default. (cp_print_value_fields): Print static members if necessary. * solib.c: Remove inclusion of libelf.h and elf/mips.h. (elf_locate_base): Use only standard BFD functions to collect information about the .dynamic section. Check for DT_MIPS_RLD_MAP tag only if it got defined via the inclusion of . * f-exp.y: Write block for OP_VAR_VALUE. * f-valprint.c (info_common_command): Handle `info common' without an argument correctly. * c-typeprint.c (c_type_print_base): Handle template constructors. * symtab.c (gdb_mangle_name): Handle template method mangling, get rid of GCC_MANGLE_BUG code, which only applied to gcc-2.2.2. --- gdb/f-valprint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/f-valprint.c') diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 57d8ec1..73d0f15 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -786,10 +786,10 @@ info_common_command (comname, from_tty) funname = SYMBOL_NAME (msymbol); } - /* If comnname is NULL, we assume the user wishes to see the + /* If comname is NULL, we assume the user wishes to see the which COMMON blocks are visible here and then return */ - if (strlen (comname) == 0) + if (comname == 0) { list_all_visible_commons (funname); return; -- cgit v1.1