summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-03-10 11:29:52 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-03-10 11:29:52 +0000
commiteaef522a1517032273ecb900de3e39a7fe9058d3 (patch)
tree9b4aede5c3ff48ba55f4324c33d51f3b41e43179 /gdb
parent4e7de6e6217c63924cca11d1d6f3238fb2d950f3 (diff)
downloadgdb-eaef522a1517032273ecb900de3e39a7fe9058d3.tar.gz
gdb/
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/fbsd-nat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e695210853f..d965660f3f6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-10 Andreas Tobler <andreast-list@fgznet.ch>
+
+ * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
+
2011-03-09 Maxim Grigoriev <maxim2405@gmail.com>
* xtensa-tdep.c (xtensa_read_register: Add comment.
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 6b775a9651c..406ac372331 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 ())