binutils-gdb/gdbsupport
Tom Tromey 6c51cf513d Move include block to pathstuff.h
A recent commit caused pathstuff.cc to fail to compile on mingw, like:

../../binutils-gdb/gdbsupport/pathstuff.cc:324:1: error: no previous declaration for 'std::string find_gdb_home_config_file(const char*, _stati64*)' [-Werror=missing-declarations]

Some newly-added #includes were changing which "stat" was being seen
by the compiler.  This patch moves the includes to the header, so that
the declaration and definition now agree.

2020-11-10  Tom Tromey  <tromey@adacore.com>

	PR build/26848:
	* pathstuff.h: Move include block here...
	* pathstuff.cc: ... from here.
2020-11-10 13:12:59 -07:00
..
.dir-locals.el
.gitattributes
acinclude.m4 gdb: move ptrace.m4 to gdbsupport 2020-10-25 21:08:49 -04:00
aclocal.m4 gdb: use AC_PROG_CC_STDC instead of AM_PROG_CC_STDC 2020-10-31 08:30:57 -04:00
agent.cc Preinitialize the sockaddr_un variable to zero 2020-10-02 00:38:12 +02:00
agent.h
alt-stack.h
array-view.h
ax.def
block-signals.h
break-common.h
btrace-common.cc
btrace-common.h Disable record btrace bts support for AMD processors 2020-05-14 17:56:33 -07:00
buffer.cc
buffer.h
byte-vector.h
ChangeLog Move include block to pathstuff.h 2020-11-10 13:12:59 -07:00
check-defines.el
cleanups.cc
cleanups.h
common-debug.cc gdb, gdbsupport: add debug_prefixed_printf, remove boilerplate functions 2020-10-31 09:15:13 -04:00
common-debug.h gdb, gdbsupport: add debug_prefixed_printf, remove boilerplate functions 2020-10-31 09:15:13 -04:00
common-defs.h gdbsupport: include cstdlib in common-defs.h 2020-04-27 09:28:03 -04:00
common-exceptions.cc
common-exceptions.h gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
common-gdbthread.h
common-inferior.cc gdbsupport: Let construct_inferior_arguments take gdb::array_view param 2020-05-25 11:38:45 -04:00
common-inferior.h gdbsupport: Let construct_inferior_arguments take gdb::array_view param 2020-05-25 11:38:45 -04:00
common-regcache.cc
common-regcache.h gdb: protect some 'regcache_read_pc' calls 2020-05-14 13:59:53 +02:00
common-types.h
common-utils.cc gdbsupport: Drop now unused function 'stringify_argv' 2020-05-25 11:40:35 -04:00
common-utils.h gdbsupport: Drop now unused function 'stringify_argv' 2020-05-25 11:40:35 -04:00
common.m4 gdbsupport: replace AC_TRY_COMPILE in common.m4 2020-10-31 08:31:00 -04:00
config.in Require kinfo_get_file and kinfo_get_vmmap for FreeBSD hosts. 2020-09-16 11:40:05 -07:00
configure gdbsupport: replace AC_TRY_COMPILE in common.m4 2020-10-31 08:31:00 -04:00
configure.ac gdb: use AC_PROG_CC_STDC instead of AM_PROG_CC_STDC 2020-10-31 08:30:57 -04:00
create-version.sh
def-vector.h
default-init-alloc.h
eintr.h gdb::handle_eintr, remove need to specify return type 2020-10-26 18:57:40 +00:00
enum-flags.h Rewrite enum_flags, add unit tests, fix problems 2020-09-14 22:21:07 +01:00
environ.cc
environ.h
errors.cc
errors.h Introduce and use flush_streams 2020-04-13 14:10:04 -06:00
event-loop.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
event-loop.h gdb, gdbsupport: add debug_prefixed_printf, remove boilerplate functions 2020-10-31 09:15:13 -04:00
fileio.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
fileio.h
filestuff.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
filestuff.h
filtered-iterator.h
format.cc
format.h
forward-scope-exit.h
function-view.h
gdb_assert.h
gdb_binary_search.h
gdb_locale.h
gdb_optional.h [gdb/build] Fix Wmaybe-uninitialized in gdb_optional.h 2020-07-28 15:07:44 +02:00
gdb_proc_service.h
gdb_ref_ptr.h Mark move constructors as "noexcept" 2020-04-20 11:45:06 -06:00
gdb_select.h Move gdb_select.h to gdbsupport/ 2020-04-13 14:10:03 -06:00
gdb_setjmp.h
gdb_signals.h
gdb_splay_tree.h
gdb_string_view.h gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
gdb_string_view.tcc
gdb_sys_time.h
gdb_tilde_expand.cc
gdb_tilde_expand.h
gdb_unique_ptr.h
gdb_unlinker.h
gdb_vecs.cc
gdb_vecs.h
gdb_wait.cc
gdb_wait.h
gdb-dlfcn.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
gdb-dlfcn.h
gdb-safe-ctype.h Use safe-ctype.h (ISSPACE etc.) in symbol parsing & comparison 2020-05-23 12:46:37 +01:00
gdb-sigmask.h Fix typo (thead -> thread) 2020-04-28 11:38:26 +02:00
hash_enum.h
host-defs.h
job-control.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
job-control.h
Makefile.am Move simple_search_memory to gdbsupport/search.cc 2020-10-07 12:07:55 -06:00
Makefile.in gdb: move ptrace.m4 to gdbsupport 2020-10-25 21:08:49 -04:00
netstuff.cc
netstuff.h
new-op.cc
next-iterator.h
observable.h
offset-type.h
parallel-for.h
pathstuff.cc Move include block to pathstuff.h 2020-11-10 13:12:59 -07:00
pathstuff.h Move include block to pathstuff.h 2020-11-10 13:12:59 -07:00
poison.h
preprocessor.h
print-utils.cc
print-utils.h
ptid.cc
ptid.h gdb: change regcache list to be a map 2020-08-07 11:29:00 -04:00
ptrace.m4 gdbsupport: replace AC_TRY_COMPILE in ptrace.m4 2020-10-31 08:30:59 -04:00
README
refcounted-object.h
rsp-low.cc
rsp-low.h
run-time-clock.cc
run-time-clock.h
safe-iterator.h
safe-strerror.cc
scope-exit.h
scoped_fd.h Mark move constructors as "noexcept" 2020-04-20 11:45:06 -06:00
scoped_mmap.cc
scoped_mmap.h Mark move constructors as "noexcept" 2020-04-20 11:45:06 -06:00
scoped_restore.h
search.cc Move simple_search_memory to gdbsupport/search.cc 2020-10-07 12:07:55 -06:00
search.h Move simple_search_memory to gdbsupport/search.cc 2020-10-07 12:07:55 -06:00
selftest.cc gdb: allow specifying multiple filters when running selftests 2020-08-13 07:55:48 -04:00
selftest.h gdb: allow specifying multiple filters when running selftests 2020-08-13 07:55:48 -04:00
selftest.m4
signals-state-save-restore.cc
signals-state-save-restore.h
signals.cc gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
symbol.h
tdesc.cc Add bfloat16 support for AVX512 register view. 2020-09-11 11:42:47 -07:00
tdesc.h gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
thread-pool.cc
thread-pool.h
traits.h Rewrite valid-expr.h's internals in terms of the detection idiom (C++17/N4502) 2020-09-14 22:19:31 +01:00
underlying.h
valid-expr.h Tweak gdbsupport/valid-expr.h for GCC 6, fix build 2020-09-29 23:48:04 +01:00
version.h
warning.m4 gdbsupport: replace AC_TRY_COMPILE in warning.m4 2020-10-31 08:30:59 -04:00
x86-xstate.h
xml-utils.cc
xml-utils.h

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.