gdb: Convert language la_iterate_over_symbols field to a method
[deliverable/binutils-gdb.git] / gdb / exceptions.h
index 083313b9fa90bb4fa609f99fd964e43d93972b69..b982fa51ee35893625864604b64b8d9a080fe343 100644 (file)
@@ -1,6 +1,6 @@
 /* Exception (throw catch) mechanism, for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2019 Free Software Foundation, Inc.
+   Copyright (C) 1986-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
 /* If E is an exception, print it's error message on the specified
    stream.  For _fprintf, prefix the message with PREFIX...  */
-extern void exception_print (struct ui_file *file, struct gdb_exception e);
-extern void exception_fprintf (struct ui_file *file, struct gdb_exception e,
+extern void exception_print (struct ui_file *file,
+                            const struct gdb_exception &e);
+extern void exception_fprintf (struct ui_file *file,
+                              const struct gdb_exception &e,
                               const char *prefix,
                               ...) ATTRIBUTE_PRINTF (3, 4);
 
 /* Compare two exception objects for print equality.  */
-extern int exception_print_same (struct gdb_exception e1,
-                                struct gdb_exception e2);
+extern int exception_print_same (const struct gdb_exception &e1,
+                                const struct gdb_exception &e2);
 #endif
This page took 0.030555 seconds and 4 git commands to generate.