diff options
author | Tom Tromey <tom@tromey.com> | 2019-10-16 18:46:43 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-10-16 20:44:21 -0600 |
commit | befcd486f467deb3a6a7576dc03bd40db3939ab6 (patch) | |
tree | 4c87daffc3b8b1f225c0cf37c2440155edcf99f6 /gdb/ChangeLog | |
parent | 611fa2f46c4ea0ca2f4153b6cf7ec31b8486eb28 (diff) | |
download | gdb-befcd486f467deb3a6a7576dc03bd40db3939ab6.zip gdb-befcd486f467deb3a6a7576dc03bd40db3939ab6.tar.gz gdb-befcd486f467deb3a6a7576dc03bd40db3939ab6.tar.bz2 |
Constify objfile::original_name
I noticed that objfile::original_name could be a "const char *" rather
than a plain "char *". This patch implements this change. Tested by
rebuilding.
gdb/ChangeLog
2019-10-16 Tom Tromey <tom@tromey.com>
* objfiles.h (struct objfile) <original_name>: Now const.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ba028ed..ced508f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-10-16 Tom Tromey <tom@tromey.com> + + * objfiles.h (struct objfile) <original_name>: Now const. + 2019-10-16 Christian Biesinger <cbiesinger@google.com> * gdbsupport/gdb_setjmp.h (SIGSETJMP): Allow passing in the value to |