aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-descriptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r--gdb/target-descriptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c
index 20a79d5..13cc9e4 100644
--- a/gdb/target-descriptions.c
+++ b/gdb/target-descriptions.c
@@ -1370,7 +1370,7 @@ public:
gdb_printf ("#include \"target-descriptions.h\"\n");
gdb_printf ("\n");
- gdb_printf ("struct target_desc *tdesc_%s;\n", m_function);
+ gdb_printf ("const struct target_desc *tdesc_%s;\n", m_function);
gdb_printf ("static void\n");
gdb_printf ("initialize_tdesc_%s (void)\n", m_function);
gdb_printf ("{\n");