mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-19 16:53:34 +08:00
* gdb_locale.h: New file.
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR. (defs_h): Added gdb_locale.h. * configure, config.in: Rebuilt. * configure.in (PACKAGE): Define. * defs.h: Include gdb_locale.h. * main.c (captured_main): Call setlocale, bindtextdomain,
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user