From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andreas Tobler <andreast-list@fgznet.ch>
Subject: [obv] Fix fbsd-nat.c build regression
Date: Thu, 10 Mar 2011 12:31:00 -0000 [thread overview]
Message-ID: <20110310115114.GA5081@host1.jankratochvil.net> (raw)
Hi,
from a discussion on IRC, it seems obvious to me, suggested by Andreas Tobler,
therefore only "installed" it into CVS, the fix seems OK to me.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2011-03/msg00141.html
--- src/gdb/ChangeLog 2011/03/10 00:15:19 1.12781
+++ src/gdb/ChangeLog 2011/03/10 11:29:52 1.12782
@@ -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.
--- src/gdb/fbsd-nat.c 2011/03/09 12:48:55 1.22
+++ src/gdb/fbsd-nat.c 2011/03/10 11:29:54 1.23
@@ -202,7 +202,7 @@
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 ())
next reply other threads:[~2011-03-10 11:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 12:31 Jan Kratochvil [this message]
2011-03-10 16:02 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110310115114.GA5081@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=andreast-list@fgznet.ch \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox