GNU Binutils with patches for OS216
リビジョン | 1aec0b6ad6eae1fa97bb1a4a47959ff204aa15a2 (tree) |
---|---|
日時 | 2016-06-08 00:46:25 |
作者 | Simon Marchi <simon.marchi@eric...> |
コミッター | Simon Marchi |
mi/mi-interp.c: Add missing braces
gdb/ChangeLog:
* mi/mi-interp.c (mi_record_changed): Add missing braces.
@@ -1,3 +1,7 @@ | ||
1 | +2016-06-07 Simon Marchi <simon.marchi@ericsson.com> | |
2 | + | |
3 | + * mi/mi-interp.c (mi_record_changed): Add missing braces. | |
4 | + | |
1 | 5 | 2016-06-07 Bernhard Heckel <bernhard.heckel@intel.com> |
2 | 6 | |
3 | 7 | * findvar.c (follow_static_link): Check for valid pointer. |
@@ -412,19 +412,25 @@ mi_record_changed (struct inferior *inferior, int started, const char *method, | ||
412 | 412 | if (started) |
413 | 413 | { |
414 | 414 | if (format != NULL) |
415 | - fprintf_unfiltered ( | |
416 | - mi->event_channel, | |
417 | - "record-started,thread-group=\"i%d\",method=\"%s\",format=\"%s\"", | |
418 | - inferior->num, method, format); | |
415 | + { | |
416 | + fprintf_unfiltered ( | |
417 | + mi->event_channel, | |
418 | + "record-started,thread-group=\"i%d\",method=\"%s\",format=\"%s\"", | |
419 | + inferior->num, method, format); | |
420 | + } | |
419 | 421 | else |
420 | - fprintf_unfiltered ( | |
421 | - mi->event_channel, | |
422 | - "record-started,thread-group=\"i%d\",method=\"%s\"", | |
423 | - inferior->num, method); | |
422 | + { | |
423 | + fprintf_unfiltered ( | |
424 | + mi->event_channel, | |
425 | + "record-started,thread-group=\"i%d\",method=\"%s\"", | |
426 | + inferior->num, method); | |
427 | + } | |
424 | 428 | } |
425 | 429 | else |
426 | - fprintf_unfiltered (mi->event_channel, | |
427 | - "record-stopped,thread-group=\"i%d\"", inferior->num); | |
430 | + { | |
431 | + fprintf_unfiltered (mi->event_channel, | |
432 | + "record-stopped,thread-group=\"i%d\"", inferior->num); | |
433 | + } | |
428 | 434 | |
429 | 435 | |
430 | 436 | gdb_flush (mi->event_channel); |