aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:30:48 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:30:48 +0000
commit85e1311a3cf4df0eafe2886a29fc753054b71e37 (patch)
treee244714448eac93a8619c43a319f88427358e3b0 /gdb/gcore.h
parent152af37f7f52e0039c21eb8c4fc0309fe6678913 (diff)
downloadbinutils-85e1311a3cf4df0eafe2886a29fc753054b71e37.zip
binutils-85e1311a3cf4df0eafe2886a29fc753054b71e37.tar.gz
binutils-85e1311a3cf4df0eafe2886a29fc753054b71e37.tar.bz2
* 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.h')
-rw-r--r--gdb/gcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.h b/gdb/gcore.h
index 8d2e8b6..0f67a1e 100644
--- a/gdb/gcore.h
+++ b/gdb/gcore.h
@@ -20,7 +20,7 @@
#if !defined (GCORE_H)
#define GCORE_H 1
-extern bfd *create_gcore_bfd (char *filename);
+extern bfd *create_gcore_bfd (const char *filename);
extern void write_gcore_file (bfd *obfd);
extern bfd *load_corefile (char *filename, int from_tty);