Copy string_view files from libstdc++
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 9 Apr 2018 17:31:04 +0000 (13:31 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 9 Apr 2018 18:10:10 +0000 (14:10 -0400)
commit7adcdf08e792dc30e09af4eecbf1e479a2f56612
treee238bf85def4aededefbf04296ea5b24dbfb663c
parent41260ac25d541d9bdd039a0ce82c9ad31fceed35
Copy string_view files from libstdc++

This patch copies the following files from libstdc++ (commit
02a4441f002c):

  ${gcc}/libstdc++-v3/include/experimental/string_view
    -> ${binutils-gdb}/gdb/common/gdb_string_view.h

  ${gcc}/libstdc++-v3/include/experimental/bits/string_view.tcc
    -> ${binutils-gdb}/gdb/common/gdb_string_view.tcc

The local modifications are done in the following patch in order to make
it easier to review them.

gdb/ChangeLog:

* common/gdb_string_view.h: New file.
* common/gdb_string_view.tcc: New file.
gdb/ChangeLog
gdb/common/gdb_string_view.h [new file with mode: 0644]
gdb/common/gdb_string_view.tcc [new file with mode: 0644]