about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_gdb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 17fd01237..cb3b5e78d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-17  Mikael Magnusson  <mikachu@gmail.com>
+
+	* 35477: Completion/Unix/Command/_gdb: _gdb: Allow 'core' to
+	occur anywhere in a coredump filename
+
 2015-06-14  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 35469: Functions/Zle/smart-insert-last-word: test UNDO_CHANGE_NO
diff --git a/Completion/Unix/Command/_gdb b/Completion/Unix/Command/_gdb
index f387c878a..e9c333925 100644
--- a/Completion/Unix/Command/_gdb
+++ b/Completion/Unix/Command/_gdb
@@ -49,7 +49,7 @@ else
   done
 
   if [[ $#w -gt 1 ]]; then
-    _alternative "files:: _files -g '*core(-.)'" "processes:: _pids -m ${w[1]:t}"
+    _alternative "files:: _files -g '*core*(-.)'" "processes:: _pids -m ${w[1]:t}"
   else
     _description files expl executable
     _files "$expl[@]" -g '*(-*)'