* buildsym.c (record_producer): Do nothing if no producer is provided.
This commit is contained in:
parent
6d28409d4a
commit
05279ca074
@ -1,3 +1,7 @@
|
||||
2007-02-26 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* buildsym.c (record_producer): Do nothing if no producer is provided.
|
||||
|
||||
2007-02-28 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* varobj.c (varobj_update): Remove unused local. Use gdb_assert
|
||||
|
@ -1139,6 +1139,11 @@ record_debugformat (char *format)
|
||||
void
|
||||
record_producer (const char *producer)
|
||||
{
|
||||
/* The producer is not always provided in the debugging info.
|
||||
Do nothing if PRODUCER is NULL. */
|
||||
if (producer == NULL)
|
||||
return;
|
||||
|
||||
current_subfile->producer = savestring (producer, strlen (producer));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user