diff options
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 2956ad9..b4e0360 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -811,8 +811,8 @@ maintenance_info_symtabs (const char *regexp, int from_tty) gdb_printf ("((struct symtab *) %s)\n", host_address_to_string (symtab)); gdb_printf ("\t fullname %s\n", - symtab->fullname != NULL - ? symtab->fullname + symtab->fullname () != nullptr + ? symtab->fullname () : "(null)"); gdb_printf ("\t " "linetable ((struct linetable *) %s)\n", |