Move make_temp_filename to common/pathstuff.c
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 17:28:45 +0000 (11:28 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 27 Oct 2018 17:58:40 +0000 (11:58 -0600)
commit29be4d9dee1263b36e33421dd8ea69b9b7308391
tree17db04186271dfff6b2816d044bf23672687a66f
parent974e68446388769f023c6c9bfb1e67ed75199618
Move make_temp_filename to common/pathstuff.c

Currently make_temp_filename is a function local to
write_psymtabs_to_index.  This patch moves it to pathstuff.c so that
it can be used from other places in gdb.

gdb/ChangeLog
2018-10-27  Tom Tromey  <tom@tromey.com>

* dwarf-index-write.c (write_psymtabs_to_index): Move
make_temp_filename to common/pathstuff.c.
* common/pathstuff.h (make_temp_filename): Declare.
* common/pathstuff.c (make_temp_filename): New function, moved
from dwarf-index-write.c.
gdb/ChangeLog
gdb/common/pathstuff.c
gdb/common/pathstuff.h
gdb/dwarf-index-write.c
This page took 0.039407 seconds and 4 git commands to generate.