commit | a45575b0356d671df2c55fcfc66de719b6b2e5e5 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Fri May 17 08:41:12 2019 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Fri May 17 10:16:40 2019 -0600 |
tree | 4d61f0beb1337c2b88c4a59f3ae215fb3be06142 | |
parent | 87781e8475f8ec80463937130cde48540ff87149 [diff] |
Constify annotate_source I noticed that annotate_source takes a "char *", but really should take a "const char *". This patch fixes this. gdb/ChangeLog 2019-05-17 Tom Tromey <tromey@adacore.com> * annotate.c (annotate_source): Make "filename" const. * annotate.h (annotate_source): Use const.