• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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.

変更サマリ

差分

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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+
15 2016-06-07 Bernhard Heckel <bernhard.heckel@intel.com>
26
37 * findvar.c (follow_static_link): Check for valid pointer.
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -412,19 +412,25 @@ mi_record_changed (struct inferior *inferior, int started, const char *method,
412412 if (started)
413413 {
414414 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+ }
419421 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+ }
424428 }
425429 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+ }
428434
429435
430436 gdb_flush (mi->event_channel);