mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
mi/mi-interp.c: Add missing braces
gdb/ChangeLog: * mi/mi-interp.c (mi_record_changed): Add missing braces.
This commit is contained in:
parent
1133012c60
commit
1aec0b6ad6
@ -1,3 +1,7 @@
|
||||
2016-06-07 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* mi/mi-interp.c (mi_record_changed): Add missing braces.
|
||||
|
||||
2016-06-07 Bernhard Heckel <bernhard.heckel@intel.com>
|
||||
|
||||
* findvar.c (follow_static_link): Check for valid pointer.
|
||||
|
@ -412,19 +412,25 @@ mi_record_changed (struct inferior *inferior, int started, const char *method,
|
||||
if (started)
|
||||
{
|
||||
if (format != NULL)
|
||||
fprintf_unfiltered (
|
||||
mi->event_channel,
|
||||
"record-started,thread-group=\"i%d\",method=\"%s\",format=\"%s\"",
|
||||
inferior->num, method, format);
|
||||
{
|
||||
fprintf_unfiltered (
|
||||
mi->event_channel,
|
||||
"record-started,thread-group=\"i%d\",method=\"%s\",format=\"%s\"",
|
||||
inferior->num, method, format);
|
||||
}
|
||||
else
|
||||
fprintf_unfiltered (
|
||||
mi->event_channel,
|
||||
"record-started,thread-group=\"i%d\",method=\"%s\"",
|
||||
inferior->num, method);
|
||||
{
|
||||
fprintf_unfiltered (
|
||||
mi->event_channel,
|
||||
"record-started,thread-group=\"i%d\",method=\"%s\"",
|
||||
inferior->num, method);
|
||||
}
|
||||
}
|
||||
else
|
||||
fprintf_unfiltered (mi->event_channel,
|
||||
"record-stopped,thread-group=\"i%d\"", inferior->num);
|
||||
{
|
||||
fprintf_unfiltered (mi->event_channel,
|
||||
"record-stopped,thread-group=\"i%d\"", inferior->num);
|
||||
}
|
||||
|
||||
|
||||
gdb_flush (mi->event_channel);
|
||||
|
Loading…
Reference in New Issue
Block a user