diff options
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r-- | gdb/exceptions.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c index 32db6fe..5245b7c 100644 --- a/gdb/exceptions.c +++ b/gdb/exceptions.c @@ -133,17 +133,3 @@ exception_fprintf (struct ui_file *file, const struct gdb_exception &e, print_exception (file, e); } } - -/* See exceptions.h. */ - -int -exception_print_same (const struct gdb_exception &e1, - const struct gdb_exception &e2) -{ - const char *msg1 = e1.message == nullptr ? "" : e1.what (); - const char *msg2 = e2.message == nullptr ? "" : e2.what (); - - return (e1.reason == e2.reason - && e1.error == e2.error - && strcmp (msg1, msg2) == 0); -} |