Tom Tromey
b5a9bfbebe
Add "const" to a few locals in gdb
...
I noticed that some code in gdb was doing:
char *mumble = getenv (...)
However, using "const char *" here would be clearer.
This patch fixes the instances I could readily build.
Tested by rebuilding.
gdb/ChangeLog
2018-09-24 Tom Tromey <tom@tromey.com>
* common/pathstuff.c (get_standard_cache_dir): Make
"xdg_cache_home" and "home" const.
* top.c (init_history): Make "tmpenv" const.
* main.c (get_init_files): Make "homedir" const.
2018-09-24 06:17:13 -06:00
..
2018-08-28 17:23:16 -04:00
2018-08-28 17:23:16 -04:00
2018-04-09 15:47:12 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-06-08 07:05:49 -06:00
2018-06-08 07:05:49 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-07 13:19:12 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-08-13 10:02:00 -06:00
2018-01-02 07:38:06 +04:00
2018-05-30 14:18:47 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-06-11 10:09:30 +01:00
2018-08-27 12:00:10 -06:00
2018-09-12 13:58:30 -04:00
2018-09-12 13:58:30 -04:00
2018-02-19 09:37:24 +00:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-06-05 18:22:25 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-09-12 13:58:30 -04:00
2018-09-12 13:58:30 -04:00
2018-05-17 13:06:11 -04:00
2018-05-17 13:06:11 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-30 11:33:11 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-09 14:20:46 -04:00
2018-04-09 14:20:46 -04:00
2018-01-02 07:38:06 +04:00
2018-02-28 11:34:39 -05:00
2018-02-28 11:34:39 -05:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-02 23:22:10 -05:00
2018-05-29 08:52:55 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-07-11 19:41:31 -04:00
2018-07-11 19:41:31 -04:00
2018-01-02 07:38:06 +04:00
2018-03-19 09:37:49 -06:00
2018-01-02 07:38:06 +04:00
2018-09-24 06:17:13 -06:00
2018-09-17 08:43:12 -06:00
2018-05-20 21:06:36 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-07-03 11:36:46 -06:00
2018-07-03 11:36:46 -06:00
2018-01-02 07:38:06 +04:00
2018-06-21 17:09:31 +01:00
2018-03-22 00:27:19 -04:00
2018-03-22 00:27:19 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-02-09 14:03:18 +01:00
2018-09-23 12:11:16 -06:00
2018-08-07 18:10:29 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-15 20:03:20 +00:00
2018-01-05 18:26:18 +00:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-07-22 13:20:01 -06:00
2018-04-18 20:49:37 +01:00
2018-05-20 23:19:35 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-08 18:03:46 +01:00
2018-03-08 18:04:46 -05:00
2018-03-08 18:04:46 -05:00