aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2005-03-31 20:39:14 +0000
committerKevin Buettner <kevinb@redhat.com>2005-03-31 20:39:14 +0000
commit186993b45845f14288bdb57ea581914decd9b024 (patch)
treedc4722e39802fc8be60734d8ffb5736e9cacdb7c /gdb/frv-tdep.c
parentb27569303241f8fde83dc9f8ea6ba6193e32a419 (diff)
downloadgdb-186993b45845f14288bdb57ea581914decd9b024.zip
gdb-186993b45845f14288bdb57ea581914decd9b024.tar.gz
gdb-186993b45845f14288bdb57ea581914decd9b024.tar.bz2
Add TLS load module support for FRV.
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r--gdb/frv-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index 32eb92e..20b4427 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -1564,6 +1564,10 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Set the fallback (prologue based) frame sniffer. */
frame_unwind_append_sniffer (gdbarch, frv_frame_sniffer);
+ /* Enable TLS support. */
+ set_gdbarch_fetch_tls_load_module_address (gdbarch,
+ frv_fetch_objfile_link_map);
+
return gdbarch;
}