diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-10-01 09:21:52 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-10-01 09:21:52 +0000 |
commit | ceda0895037ea390baa326c7ed8d7a812289dcfd (patch) | |
tree | ca8862871359ba3f9885da6d23a7d6e5176180fa /intl | |
parent | 479b8df39e9ed7be12d44e48f93c2bf3fe909303 (diff) | |
download | gdb-ceda0895037ea390baa326c7ed8d7a812289dcfd.tar.gz |
[ELinOS] Best effort to load system libraries in case of incomplete env
So far elinos.py was assuming that the whole ELinOS environment was
around to find the system libraries; if some environment variables
were missing, the script would just abort.
This was a bit extreme. It is possible to do better than that: to get
the core system libraries, one doesn't need to have a full environment
but just the path to the CDK. The path to kernel project is only
needed for the optional Xenomai libs.
gdb/ChangeLog:
* system-gdbinit/elinos.py (get_elinos_environment): Return an
incomplete dictionnary instead of None in case of missing
environment variables.
(elinos_init): in case of an incomplete environment, best
effort to load system libraries instead of abort.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions