Move ASSERT_FUNCTION to FUNCTION_NAME.
authorDoug Evans <dje@google.com>
Fri, 17 Jan 2014 18:00:07 +0000 (10:00 -0800)
committerDoug Evans <dje@google.com>
Fri, 17 Jan 2014 18:00:07 +0000 (10:00 -0800)
commitdf049a5831c7c573698b98bfd4bc0ec8dc854c1f
tree61be8d087595fb6b54328f8db7e9e0f950cb28f6
parentea38d2a92e349df1f6438c1bd7b899f4cd951321
Move ASSERT_FUNCTION to FUNCTION_NAME.

* common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
and moved here ...
* common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
#include "common-utils.h".
(gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
* common/vec.h (VEC_ASSERT_PASS): Update.
* darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
(MACH_CHECK_ERROR): Update.
gdb/ChangeLog
gdb/common/common-utils.h
gdb/common/gdb_assert.h
gdb/common/vec.h
gdb/darwin-nat.h