| commit | 0e90c441629bcf1f53ba484f7d855ed8eb68f138 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Tue Apr 26 14:08:03 2022 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Fri May 13 08:21:16 2022 -0600 |
| tree | 32543d4e42dfa1873b0fca3e3a81c0e33cd67702 | |
| parent | f1025b233f6dad43981f5ad35c81481f8d3658bf [diff] |
Constify target_pid_to_exec_file This changes target_pid_to_exec_file and target_ops::pid_to_exec_file to return a "const char *". I couldn't build many of these targets, but did examine the code by hand -- also, as this only affects the return type, it's normally pretty safe. This brings gdb and gdbserver a bit closer, and allows for the removal of a const_cast as well.