mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-19 06:23:36 +08:00
gdb/
* fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as sentinel.
This commit is contained in:
parent
94b0dee141
commit
3f1f688424
@ -1,3 +1,8 @@
|
||||
2010-05-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as
|
||||
sentinel.
|
||||
|
||||
2010-05-07 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* remote.c (remote_query_supported_append): Use reconcat.
|
||||
|
@ -208,7 +208,8 @@ fbsd_make_corefile_notes (bfd *obfd, int *note_size)
|
||||
char *psargs = xstrdup (fname);
|
||||
|
||||
if (get_inferior_args ())
|
||||
psargs = reconcat (psargs, psargs, " ", get_inferior_args (), NULL);
|
||||
psargs = reconcat (psargs, psargs, " ", get_inferior_args (),
|
||||
(char *) NULL);
|
||||
|
||||
note_data = elfcore_write_prpsinfo (obfd, note_data, note_size,
|
||||
fname, psargs);
|
||||
|
Loading…
Reference in New Issue
Block a user