gdb/
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
This commit is contained in:
parent
10be1b6abe
commit
6d6c6b1f55
|
@ -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.
|
||||
|
|
|
@ -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 ())
|
||||
|
|
Loading…
Reference in New Issue