]> granicus.if.org Git - gc/commit
Fix GC_caller_func_offset and GC_DBG_RA names
authorIvan Maidanski <ivmai@mail.ru>
Sun, 21 Jul 2013 14:27:07 +0000 (18:27 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 21 Jul 2013 14:43:07 +0000 (18:43 +0400)
commit28e6e4fdb5fe4166a6f5a9c3a23472c5f597e138
tree89308cf8588353baba3aa4abd508b64aa1be882b
parent8666ba2a170962a40017e6452d0cbd66ded8f561
Fix GC_caller_func_offset and GC_DBG_RA names

* dbg_mlc.c (GC_caller_func_offset): Test FREEBSD macro instead of
__FreeBSD__ (since the former is always defined in gcconfig.h included
from this file indirectly).
* dyn_load.c (ElfW): Likewise.
* dbg_mlc.c (GC_caller_func): Fix name to GC_caller_func_offset.
* dbg_mlc.c (GC_debug_realloc): Invoke GC_caller_func_offset if
GC_ADD_CALLER (same as in GC_debug_malloc and commit 2cdf7ec).
* include/private/gc_priv.h (RA): Fix name to GC_DBG_RA.
* include/private/gcconfig.h (X86_64): Test __x86_64__ in addition to
__amd64__ for FreeBSD (proposed in commit b54833a).
dbg_mlc.c
dyn_load.c
include/private/gc_priv.h
include/private/gcconfig.h