[PATCH v2 0/1] Notify observers that directories have changed when using "directory" CLI command

Jan Vrany jan.vrany@labware.com
Tue Oct 6 11:08:08 GMT 2020


## Changes from v1: 

Addressed Andrew's comments:

* handle the case of "directory" with no arguments,
* added test for this case to. 

This patch also changes existing behavior in that now it does
not show directories when user answers no to when asked
"Reinitialize source path to empty?" (as Andrew also suggested). 

Jan Vrany (1):
  Notify observers that directories have changed when using "directory"
    CLI command

 gdb/ChangeLog                                 |  5 +++++
 gdb/source.c                                  | 11 +++++++++--
 gdb/testsuite/ChangeLog                       |  5 +++++
 gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 13 +++++++++++++
 4 files changed, 32 insertions(+), 2 deletions(-)

-- 
2.28.0



More information about the Gdb-patches mailing list