diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:30:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:30:48 +0000 |
commit | 85e1311a3cf4df0eafe2886a29fc753054b71e37 (patch) | |
tree | e244714448eac93a8619c43a319f88427358e3b0 /gdb/gcore.c | |
parent | 152af37f7f52e0039c21eb8c4fc0309fe6678913 (diff) | |
download | binutils-gdb-85e1311a3cf4df0eafe2886a29fc753054b71e37.tar.gz |
* gcore.c (create_gcore_bfd): Make 'filename' const.
* gcore.h (create_gcore_bfd): Make 'filename' const.
* record-full.c (record_full_save): Make 'recfilename' const.
* target.c (target_save_record): Make 'filename' const.
* target.h (struct target_ops) <to_save_record>: Make 'filename'
const.
(target_save_record): Likewise.
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r-- | gdb/gcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c index 1d1c20fef8e..620be54dd99 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -49,7 +49,7 @@ static int gcore_memory_sections (bfd *); Open a new bfd core file for output, and return the handle. */ bfd * -create_gcore_bfd (char *filename) +create_gcore_bfd (const char *filename) { bfd *obfd = gdb_bfd_openw (filename, default_gcore_target ()); |