summaryrefslogtreecommitdiff
path: root/gdb/exceptions.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2005-03-18 21:03:39 +0000
committerKevin Buettner <kevinb@redhat.com>2005-03-18 21:03:39 +0000
commit696015a4df20c74c1d6cda67705513722e0e0928 (patch)
treec1b4eec3ec1c1d4ce5813c25edb1d505abc591ed /gdb/exceptions.h
parent1bb0ac8608538619450e871c561a731e5e73a522 (diff)
downloadgdb-696015a4df20c74c1d6cda67705513722e0e0928.tar.gz
Move printing of TLS related error messages to dwarf2loc.c.
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r--gdb/exceptions.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index c07289bf179..ea4f3a20dd5 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -56,6 +56,22 @@ enum errors {
exception.message. */
GENERIC_ERROR,
NOT_FOUND_ERROR,
+
+ /* Thread library lacks support necessary for finding thread local
+ storage. */
+ TLS_NO_LIBRARY_SUPPORT_ERROR,
+
+ /* Load module not found while attempting to find thread local storage. */
+ TLS_LOAD_MODULE_NOT_FOUND_ERROR,
+
+ /* Thread local storage has not been allocated yet. */
+ TLS_NOT_ALLOCATED_YET_ERROR,
+
+ /* Something else went wrong while attempting to find thread local
+ storage. The ``struct exception'' message field provides more
+ detail. */
+ TLS_GENERIC_ERROR,
+
/* Add more errors here. */
NR_ERRORS
};