diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/aarch64-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/aarch64-tdep.c | 4 | ||||
-rw-r--r-- | gdb/addrmap.c | 2 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 | ||||
-rw-r--r-- | gdb/break-cond-parse.c | 2 | ||||
-rw-r--r-- | gdb/complaints.c | 2 | ||||
-rw-r--r-- | gdb/cp-support.c | 2 | ||||
-rw-r--r-- | gdb/disasm-selftests.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/frame.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/read-gdb-index.c | 2 | ||||
-rw-r--r-- | gdb/extract-store-integer.c | 2 | ||||
-rw-r--r-- | gdb/gdbarch-selftests.c | 2 | ||||
-rw-r--r-- | gdb/python/python.c | 2 | ||||
-rw-r--r-- | gdb/regcache.c | 2 | ||||
-rw-r--r-- | gdb/remote.c | 2 | ||||
-rw-r--r-- | gdb/scoped-mock-context.h | 2 | ||||
-rw-r--r-- | gdb/selftest-arch.c | 2 | ||||
-rw-r--r-- | gdb/test-target.h | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-xmethods.cc | 2 | ||||
-rw-r--r-- | gdb/unittests/lookup_name_info-selftests.c | 2 |
21 files changed, 23 insertions, 23 deletions
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 2d156ad..5e59941 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -2972,7 +2972,7 @@ aarch64_linux_ltag_tests (void) } } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_aarch64_linux_tdep (); diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 6e712b1..f8c9faf 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -949,7 +949,7 @@ aarch64_analyze_prologue_test (void) } } } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ /* Implement the "skip_prologue" gdbarch method. */ @@ -5946,7 +5946,7 @@ aarch64_process_record_test (void) deallocate_reg_mem (&aarch64_record); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ /* Parse the current instruction and record the values of the registers and diff --git a/gdb/addrmap.c b/gdb/addrmap.c index bd5601b..9eb330b 100644 --- a/gdb/addrmap.c +++ b/gdb/addrmap.c @@ -480,7 +480,7 @@ test_addrmap () CHECK_ADDRMAP_FIND (map, array, 14, 19, nullptr); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_addrmap (); diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 0c15215..bdad077 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -14846,7 +14846,7 @@ arm_analyze_prologue_test () } } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ /* Cleans up local record registers and memory allocations. */ diff --git a/gdb/break-cond-parse.c b/gdb/break-cond-parse.c index 0428cdf..65615af 100644 --- a/gdb/break-cond-parse.c +++ b/gdb/break-cond-parse.c @@ -684,7 +684,7 @@ create_breakpoint_parse_arg_string_tests () test_error ("task 1xxx", "Junk 'xxx' after task keyword."); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_break_cond_parse (); diff --git a/gdb/complaints.c b/gdb/complaints.c index 07c0f7e..b50bea8 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -185,7 +185,7 @@ test_complaints () } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_complaints (); diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 3621d68..6dd364d 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -2267,7 +2267,7 @@ test_cp_remove_params () #undef CHECK_INCOMPL } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_CHECK */ diff --git a/gdb/disasm-selftests.c b/gdb/disasm-selftests.c index 221b94f..ffacf8b 100644 --- a/gdb/disasm-selftests.c +++ b/gdb/disasm-selftests.c @@ -329,7 +329,7 @@ memory_error_test (struct gdbarch *gdbarch) SELF_CHECK (saw_memory_error); } -} // namespace selftests +} /* namespace selftests */ void _initialize_disasm_selftests (); void diff --git a/gdb/dwarf2/frame.c b/gdb/dwarf2/frame.c index c11e45b..67dc534 100644 --- a/gdb/dwarf2/frame.c +++ b/gdb/dwarf2/frame.c @@ -574,7 +574,7 @@ execute_cfa_program_test (struct gdbarch *gdbarch) SELF_CHECK (fs.regs.prev == NULL); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ diff --git a/gdb/dwarf2/read-gdb-index.c b/gdb/dwarf2/read-gdb-index.c index 80b2931..baa5493 100644 --- a/gdb/dwarf2/read-gdb-index.c +++ b/gdb/dwarf2/read-gdb-index.c @@ -985,7 +985,7 @@ run_test () test_dw2_expand_symtabs_matching_symbol (); } -}} // namespace selftests::dw2_expand_symtabs_matching +}} /* namespace selftests::dw2_expand_symtabs_matching */ #endif /* GDB_SELF_TEST */ diff --git a/gdb/extract-store-integer.c b/gdb/extract-store-integer.c index 644273c..8987cf5 100644 --- a/gdb/extract-store-integer.c +++ b/gdb/extract-store-integer.c @@ -333,7 +333,7 @@ extract_integer_test () do_extract_tests<int8_t> (0x00, 0x00, 0x00); } -} // namespace selftests +} /* namespace selftests */ #endif diff --git a/gdb/gdbarch-selftests.c b/gdb/gdbarch-selftests.c index dbb9341..56ecc38 100644 --- a/gdb/gdbarch-selftests.c +++ b/gdb/gdbarch-selftests.c @@ -179,7 +179,7 @@ check_stack_growth (struct gdbarch *gdbarch) SELF_CHECK (stack_grows_up != stack_grows_down); } -} // namespace selftests +} /* namespace selftests */ void _initialize_gdbarch_selftests (); void diff --git a/gdb/python/python.c b/gdb/python/python.c index 94b1fc9..3fb5fbc 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -2634,7 +2634,7 @@ test_python () #undef CHECK_OUTPUT -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ #endif /* HAVE_PYTHON */ diff --git a/gdb/regcache.c b/gdb/regcache.c index c980b6f..65e69d2 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -2228,7 +2228,7 @@ regcache_thread_ptid_changed () gdb_assert (regcaches.empty ()); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_regcache (); diff --git a/gdb/remote.c b/gdb/remote.c index 8794649..173f4c9 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -16159,7 +16159,7 @@ test_packet_check_result () SELF_CHECK (packet_check_result ("").status () == PACKET_UNKNOWN); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ void _initialize_remote (); diff --git a/gdb/scoped-mock-context.h b/gdb/scoped-mock-context.h index 6fd83da..9173ecb 100644 --- a/gdb/scoped-mock-context.h +++ b/gdb/scoped-mock-context.h @@ -75,7 +75,7 @@ struct scoped_mock_context } }; -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ #endif /* GDB_SCOPED_MOCK_CONTEXT_H */ diff --git a/gdb/selftest-arch.c b/gdb/selftest-arch.c index a337f76..17eeba8 100644 --- a/gdb/selftest-arch.c +++ b/gdb/selftest-arch.c @@ -108,5 +108,5 @@ reset () registers_changed (); reinit_frame_cache (); } -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ diff --git a/gdb/test-target.h b/gdb/test-target.h index b88c154..e29d659 100644 --- a/gdb/test-target.h +++ b/gdb/test-target.h @@ -59,7 +59,7 @@ public: } }; -} // namespace selftests +} /* namespace selftests */ #endif /* GDB_SELF_TEST */ #endif /* GDB_TEST_TARGET_H */ diff --git a/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc b/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc index 2ec402b..af2e583 100644 --- a/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc +++ b/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc @@ -70,9 +70,9 @@ int_Templ1_t_func (int_Templ1_t *) { } -} // namespace NS2 +} /* namespace NS2 */ -} // namespace NS1 +} /* namespace NS1 */ /* These typedefs have the same name as some of the components within NS1 that they alias to, on purpose, to try to confuse GDB and cause diff --git a/gdb/testsuite/gdb.python/py-xmethods.cc b/gdb/testsuite/gdb.python/py-xmethods.cc index 52fa2ff..99753dc 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.cc +++ b/gdb/testsuite/gdb.python/py-xmethods.cc @@ -137,7 +137,7 @@ G<T>::mul (const T1 t1) return t1 * t; } -} // namespace dop +} /* namespace dop */ using namespace dop; diff --git a/gdb/unittests/lookup_name_info-selftests.c b/gdb/unittests/lookup_name_info-selftests.c index fe87bed..a6b5085 100644 --- a/gdb/unittests/lookup_name_info-selftests.c +++ b/gdb/unittests/lookup_name_info-selftests.c @@ -100,7 +100,7 @@ run_tests () #undef CHECK_INCOMPL } -}} // namespace selftests::lookup_name +}} /* namespace selftests::lookup_name */ void _initialize_lookup_name_info_selftests (); void |