2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 5 Mar 2009 23:45:14 +0000 (23:45 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 5 Mar 2009 23:45:14 +0000 (23:45 +0000)
commita3247a22136e0b53cf5c40c67ee4f5e8eb92ec32
treef87264eeaaddf26d435bc7553430988fb66560de
parentd36df9c574a35b93e079b0058168474ad6872204
2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>

* printcmd.c (do_one_display): Reparse exp_string.
(display_uses_solib_p): New function.
(clear_dangling_display_expressions): New function.
(_initialize_printcmd): Add observer.
* solib.c (no_shared_libraries): Swap order of calls to
clear_solib and objfile_purge_solibs.
gdb/ChangeLog
gdb/printcmd.c
gdb/solib.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/solib-display-lib.c [new file with mode: 0644]
gdb/testsuite/gdb.base/solib-display-main.c [new file with mode: 0644]
gdb/testsuite/gdb.base/solib-display.exp [new file with mode: 0644]