X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdarwin-nat.h;h=7a174764f89584c278aa63f0ee3c79e51c5a630c;hb=35fd2deb6916e972248d52b1bc1d584fa9059f8f;hp=307f616e67927000fc83b5a2c4a0d0d5dda2b55e;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/darwin-nat.h b/gdb/darwin-nat.h index 307f616e67..7a174764f8 100644 --- a/gdb/darwin-nat.h +++ b/gdb/darwin-nat.h @@ -1,5 +1,5 @@ /* Common things used by the various darwin files - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2016 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -12,14 +12,12 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ + along with this program. If not, see . */ #ifndef __DARWIN_NAT_H__ #define __DARWIN_NAT_H__ #include -#include "gdb_assert.h" /* Describe the mach exception handling state for a task. This state is saved before being changed and restored when a process is detached. @@ -137,10 +135,10 @@ extern mach_port_t darwin_port_set; /* A copy of mach_host_self (). */ extern mach_port_t darwin_host_self; -/* ASSERT_FUNCTION is defined in gdb_assert.h (or not). */ -#ifdef ASSERT_FUNCTION +/* FUNCTION_NAME is defined in common-utils.h (or not). */ +#ifdef FUNCTION_NAME #define MACH_CHECK_ERROR(ret) \ - mach_check_error (ret, __FILE__, __LINE__, ASSERT_FUNCTION) + mach_check_error (ret, __FILE__, __LINE__, FUNCTION_NAME) #else #define MACH_CHECK_ERROR(ret) \ mach_check_error (ret, __FILE__, __LINE__, "??")