688e821f3a
remove macEnvExpandTest from epicsRunLibComTests.c
Keenan Lang2014-09-19 13:21:43 -05:00
a018720511
- use time() instead of clock_gettime(); - when comparing modification to program start time use >= instead of >
Till Straumann2014-09-19 10:17:28 -07:00
e7d186eaf8
ioc/db: use dbFindMenu() in callback.c
Ralph Lange2014-09-19 13:09:52 +02:00
1a8620f03e
documentation: add parallel callback threads to RELEASE_NOTES
Ralph Lange2014-09-19 10:13:29 +02:00
bbfb69ed8d
- implemented suggestion by Michael Davidsaver: when reading ELF files check modifification time against program start time and warn if the file was modified more recently since it could be out of date.
Till Straumann2014-09-18 12:19:47 -07:00
012ee68199
- made osdBackTrace/osdFindAddr c++ sources to be more flexible for implementations. Fixed compiler warnings (c++ more picky than cc).
Till Straumann2014-09-18 12:18:48 -07:00
6225602777
ioc/db/test: fix dbPutLinkTest.c to compile on Windows
Ralph Lange2014-09-18 10:51:09 +02:00
f1bb532307
- simplified some code - epicsStackTrace.c provides generic epicsStackTraceGetFeatures() testing the 'epicsBackTrace()' functionality. Call out to epicsFindAddrGetFeatures() to inquire about symbol lookup support.
Till Straumann2014-09-10 12:04:36 -07:00
0252dd1905
- simplified code - provide epicsFindAddrGetFeatures() instead of epicsStackTraceGetFeatures()
Till Straumann2014-09-10 12:03:50 -07:00
a2339b9219
- WIN32 can now use default osdFindAddr (until symbol lookup is implemented)
Till Straumann2014-09-10 12:03:04 -07:00
cc04994d12
- updated copyright info - let epicsFindAddr clear out returned symbol info - provide epicsFindAddrGetFeatures instead of epicsStackTraceGetFeatures
Till Straumann2014-09-10 12:01:50 -07:00
fad25a3b11
- cleanup - reduced epicsStackTraceGetFeatures to epicsFindAddrGetFeatures
Till Straumann2014-09-10 12:00:51 -07:00
278a8dac05
- solaris implementation of epicsBackTrace() via walkcontext()
Till Straumann2014-09-08 23:07:51 -07:00
0b76aa2de1
- turn off frame-pointer optimization (otherwise stack trace capture does not work).
Till Straumann2014-09-08 22:31:47 -07:00
8477dec61f
- added windows versions of osdBackTrace.c, osdFindAddr.c; the latter does not implement addr->symbol conversion yet.
Till Straumann2014-09-08 22:31:11 -07:00
8931954d28
- fixed illegal void* pointer arithmetic (by casting to char*)
Till Straumann2014-09-08 22:30:34 -07:00
954ba66027
- fixed illegal void* pointer arithmetic by casting to char* - removed more unused stuff
Till Straumann2014-09-08 22:29:46 -07:00
4e1677a38f
- (hopefully) correct usage of sharedLib.h...
Till Straumann2014-09-08 22:28:41 -07:00
e349b3ab94
- first stab at breaking stack trace facility into separate files
strauman2014-09-08 19:41:06 -07:00
3f88273d0f
Linux builds: Define _GNU_SOURCE and _DEFAULT_SOURCE
Andrew Johnson2014-09-08 17:57:18 -05:00
fa41fcbe40
- use unistd's _POSIX_MAPPED_FILES to determine if a system has mmap.
Till Straumann2014-09-08 08:10:16 -07:00
9dd130afb6
- forget about backtrace_symbols() -- always use 'dladdr'. (The former is non-standard either and AFAIK always based on the latter.) Always using dladdr allows us to precisely control the printout formatting and keep it consistent.
Till Straumann2014-09-05 15:29:32 -07:00
423709b795
- call first epicsStackTraceRecurseGbl() through function pointer -- clang (darwin) had optimized it away.
Till Straumann2014-09-05 11:17:17 -07:00
fd9fed2262
- canonicalized printout formatting - added EPICS_STACKTRACE_DYN_SYMBOL - added USE_DLADDR branch (which is a 'super' of USE_ELF, i.e., the latter depends on the former)
Till Straumann2014-09-04 10:59:39 -07:00
6d4e284ab1
Added note to fixme comment to state that a function is relying on its current setup.
Keenan Lang2014-09-02 17:21:42 -05:00
85936ff34c
Darwin's osdEnv.c was updated while I was working on this, changed my updated version to match.
Keenan Lang2014-09-02 16:55:32 -05:00
ee197893e7
removing some extra whitespace to cleanup the diff
Keenan Lang2014-09-02 16:44:47 -05:00
64a98452e3
epicsEnvSet clears macros before setting environment variable to ensure intuitive use of the function in nested iocsh calls. While adding this functionality, fixed a latent bug in macPutValue where if you tried to NULL a macro with the same name as an environment variable, you would go into an infinite loop.
Keenan Lang2014-09-02 16:35:32 -05:00
4081935904
std/filters: fix bug in Makefile (showed up on Windows, not on Linux)
Ralph Lange2014-08-29 16:33:47 -07:00
f88cc071fc
configure, ioc/db: remove clutter left by rebase, add rule for pm to html generation (include pm in ..)
Ralph Lange2014-08-29 16:33:11 -07:00
127af22c34
configure: improve log output for generated html
Ralph Lange2014-08-29 16:30:27 -07:00