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 | 0aebdefa32dd85acb39c05c5c1039bfe4304148f (patch) | |
tree | 9e071231587f15ecc36eb7f778749f1a96e9a92f /gdb/gdbserver | |
parent | 1c8e84b0827ace271c460abcc13df9414304cc09 (diff) | |
download | gdb-0aebdefa32dd85acb39c05c5c1039bfe4304148f.zip gdb-0aebdefa32dd85acb39c05c5c1039bfe4304148f.tar.gz gdb-0aebdefa32dd85acb39c05c5c1039bfe4304148f.tar.bz2 |
[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 'gdb/gdbserver')
0 files changed, 0 insertions, 0 deletions