aboutsummaryrefslogtreecommitdiff
path: root/gdb/exceptions.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-07-31 15:44:52 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-07-31 15:44:52 +0000
commit16f92dd4d4a4e637f7910c32cd6fd4b0ff78149a (patch)
tree8d75e7f2f353475e8639d0259a1b4183044ea428 /gdb/exceptions.c
parent13f78033fc9765b1ab92f50ebfbf2d2c5975d93a (diff)
downloadgdb-16f92dd4d4a4e637f7910c32cd6fd4b0ff78149a.zip
gdb-16f92dd4d4a4e637f7910c32cd6fd4b0ff78149a.tar.gz
gdb-16f92dd4d4a4e637f7910c32cd6fd4b0ff78149a.tar.bz2
Remove deprecated_throw_reason.
http://sourceware.org/ml/gdb-patches/2013-07/msg00779.html gdb/ChangeLog * exceptions.c (deprecated_throw_reason): Remove. * exceptions.h (deprecated_throw_reason): Remove.
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r--gdb/exceptions.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 416d81d..c4c1e57 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -234,28 +234,6 @@ throw_exception (struct gdb_exception exception)
EXCEPTIONS_SIGLONGJMP (current_catcher->buf, exception.reason);
}
-void
-deprecated_throw_reason (enum return_reason reason)
-{
- struct gdb_exception exception;
-
- memset (&exception, 0, sizeof exception);
-
- exception.reason = reason;
- switch (reason)
- {
- case RETURN_QUIT:
- break;
- case RETURN_ERROR:
- exception.error = GENERIC_ERROR;
- break;
- default:
- internal_error (__FILE__, __LINE__, _("bad switch"));
- }
-
- throw_exception (exception);
-}
-
static void
print_flush (void)
{