Update copyright year range in all GDB files.
[deliverable/binutils-gdb.git] / gdb / rust-lang.c
index b872a2dbf1c47d9d85a0caa93dc5269eece3cef2..9123bf2146d516dabb72f9d9caff728dced98ef0 100644 (file)
@@ -1,6 +1,6 @@
 /* Rust language support routines for GDB, the GNU debugger.
 
-   Copyright (C) 2016-2019 Free Software Foundation, Inc.
+   Copyright (C) 2016-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -829,7 +829,7 @@ rust_print_typedef (struct type *type,
                    struct ui_file *stream)
 {
   type = check_typedef (type);
-  fprintf_filtered (stream, "type %s = ", SYMBOL_PRINT_NAME (new_symbol));
+  fprintf_filtered (stream, "type %s = ", new_symbol->print_name ());
   type_print (type, "", stream, 0);
   fprintf_filtered (stream, ";");
 }
This page took 0.023774 seconds and 4 git commands to generate.