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 1c5b78098..9f2ccbe9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-01  Clint Adams  <clint@zsh.org>
+
+	* 14635: Completion/Unix/Command/_gdb: presume
+	'*core' glob for coredump files.
+
 2001-06-01  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 14630: Src/Zle/computil.c: fix for exclusion of normal
diff --git a/Completion/Unix/Command/_gdb b/Completion/Unix/Command/_gdb
index f7dbb0a10..f13a897a3 100644
--- a/Completion/Unix/Command/_gdb
+++ b/Completion/Unix/Command/_gdb
@@ -47,7 +47,7 @@ else
   done
 
   if [[ $#w -gt 1 ]]; then
-    _alternative 'files:: _files' "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 '*(-*)'