Commit Graph

8 Commits

Author SHA1 Message Date
Tamas TEVESZ be0f7b4576 Facelift MSPDEBUG_TILIB_PATH handling
Yes, I primarily just want to get rid of strcat (which is checked and
appears to be OK, but still, it's 2018).

Also bring behaviour in line with manual and common expectations:

- In absence of MSPDEBUG_TILIB_PATH, the dynamic linker search
  path is processed
- If MSPDEBUG_TILIB_PATH is specified, that directory is searched
- The original behaviour in case of an error is graceful fall-through
  to letting the dynamic linker do its deed
- The behaviour is changed such that if MSPDEBUG_TILIB_PATH is specified,
  only that path is being considered.

This is in line with both manual and common sense (otherwise one
could have just used LD_LIBRARY_PATH).
2018-09-16 10:36:23 +02:00
Daniel O'Connor 97e5cb63aa Change name of variable to MSPDEBUG_TILIB_PATH to match existing style. 2018-08-24 14:04:52 +09:30
Daniel O'Connor a2c48ed345 Don't use asprintf as it may not be available on all platforms. 2018-08-24 14:02:50 +09:30
Daniel O'Connor 65c0e5a440 Look for an env var to help find the MSP430 library 2018-08-15 13:42:21 +09:30
Tadashi G. Takaoka c9af50666d Fix MSP Debug Stack dynamic library name on macOS
On macOS, a dynamic loadable library has .dylib suffix.
2018-04-03 23:00:32 +09:00
Jan Pohanka 721a012e81 Support for slac460s (loadDeviceDb) 2017-02-17 08:44:19 +01:00
Daniel Beer f1f513e013 tilib_api: add support for SLAC460L API. 2015-06-10 12:31:08 +12:00
Daniel Beer 4ea3856202 tilib_api: indirection layer for TI library dynamic loading. 2015-06-08 11:37:25 +12:00