aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-03-10 11:29:54 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-03-10 11:29:54 +0000
commit6d6c6b1f5589004c390d66c18647656d87c9ae22 (patch)
tree979249530200a991fad774f641380e32dd04727e /gdb/fbsd-nat.c
parent10be1b6abecee852928787c0f92356ec3eb38dce (diff)
downloadgdb-6d6c6b1f5589004c390d66c18647656d87c9ae22.zip
gdb-6d6c6b1f5589004c390d66c18647656d87c9ae22.tar.gz
gdb-6d6c6b1f5589004c390d66c18647656d87c9ae22.tar.bz2
gdb/
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r--gdb/fbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 6b775a9..406ac37 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -202,7 +202,7 @@ fbsd_make_corefile_notes (bfd *obfd, int *note_size)
if (get_exec_file (0))
{
- char *fname = lbasename (get_exec_file (0));
+ const char *fname = lbasename (get_exec_file (0));
char *psargs = xstrdup (fname);
if (get_inferior_args ())