gcore: expand tilde in filename.
authorPedro Alves <palves@redhat.com>
Thu, 8 Aug 2013 17:00:42 +0000 (17:00 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 8 Aug 2013 17:00:42 +0000 (17:00 +0000)
commit47ecca85db40d34820d94fbc5fb79babaa95b725
tree57904cdb8f5ec1d1ecfdf86340b40726788d10d2
parent82a0a75ff005db5ff174768120dddb13a6392c5c
gcore: expand tilde in filename.

Before this patch, this fails:

 (gdb) generate-core-file ~/core
 Failed to open '~/core' for output.

After the patch:

 (gdb) generate-core-file ~/core
 Saved corefile ~/core

gdb/
2013-08-08  Azat Khuzhin  <a3at.mail@gmail.com>  (tiny change)

* gcore.c (create_gcore_bfd): Use tilde_expand.
gdb/ChangeLog
gdb/gcore.c
This page took 0.043914 seconds and 4 git commands to generate.