aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-03-16 17:19:23 -0700
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-03-19 18:03:58 -0700
commitde8e70596896cc9f85498a9981196ebc4465172e (patch)
tree2bac4cf6bb0fd153bc943a18fc0f4deef1e921a2 /sim
parent2f5dea45584c09f23702f887b1ecbe16cf16ba05 (diff)
downloadgdb-de8e70596896cc9f85498a9981196ebc4465172e.zip
gdb-de8e70596896cc9f85498a9981196ebc4465172e.tar.gz
gdb-de8e70596896cc9f85498a9981196ebc4465172e.tar.bz2
gprofng: Use prototype to call libc functions
libcollector may not link against libC. We use dlsym() to get a function from libc. In some files, pointers to these functions do not have prototypes. I also moved the shared definitions to libcollector/collect.h. gprofng/ChangeLog 2023-03-15 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> libcollector/collector.c: Add prototypes. libcollector/dispatcher.c: Likewise. libcollector/heaptrace.c: Likewise. libcollector/iotrace.c: Likewise. libcollector/linetrace.c: Likewise. libcollector/mmaptrace.c: Likewise. libcollector/synctrace.c: Likewise. libcollector/collector.h: Add CALL_REAL(), NULL_PTR(), and DBG_LT.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions