aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 7ef8647..21a81c6 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -157,6 +157,15 @@ captured_main (void *data)
long time_at_startup = get_run_time ();
+#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
+ setlocale (LC_MESSAGES, "");
+#endif
+#if defined (HAVE_SETLOCALE)
+ setlocale (LC_CTYPE, "");
+#endif
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
START_PROGRESS (argv[0], 0);
#ifdef MPW