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
e24d4637c9
genVersionHeader: use date+time as the default version number
Michael Davidsaver2014-08-29 09:56:32 -07:00
1bb4293967
src/tools: Set right margin to 0 in style sheet used for html docs created from pod
Ralph Lange2014-08-28 15:42:46 -07:00
eb91f6701c
src/std/filters: Complete documentation for standard filters
Ralph Lange2014-08-28 15:41:40 -07:00
079357c242
- let default (no-op) version of stack trace print informative message that stack traces are not supported.
Till Straumann2014-08-28 15:10:12 -07:00
51c7dea070
ioc/db: make sure each priority gets at least one thread.
Ralph Lange2014-08-28 12:30:07 -07:00
2d3db2036b
Updated iocshBody to keep track of macro context to allow scoping of macro variables from iocshRun/Load
Keenan Lang2014-08-27 11:33:14 -05:00
1b7c161f7f
On POSIX systems, an IOC application's ability to meet timing deadlines is often dependent on its ability to lock part or all of the process's virtual address space into RAM, preventing that memory from being paged to the swap area. This patch will attempt to lock the process's virtual address space into RAM if the process has the ability to run threads with different priorities. If unsuccessful, it prints an message to stderr.
Murali Shankar2014-08-26 17:29:27 -07:00
08bf6a1081
ioc/db: fix bug in callback thread initialization
Ralph Lange2014-08-26 11:58:42 -07:00
bd0c759af3
ioc/db: change call back queue wakeup algorithm (only wake when threads are sleeping and enough work in the queue)
Ralph Lange2014-08-26 10:36:32 -07:00
15415b5590
Merge from parallel-cbthreads-2: return value for callbackRequest, add tests
Ralph Lange2014-08-25 14:40:37 -07:00
ca8eda8090
Merge (cherry-pick) original parts from parallel-cbthreads branch
Ralph Lange2014-08-25 13:40:18 -07:00
00bb3d1e67
iocshLoad now works as iocsh with no parameters
Keenan Lang2014-08-22 14:25:41 -05:00