binutils-gdb/gdb/gdbsupport
Christian Biesinger 5f23a08201 Don't define _FORTIFY_SOURCE on MinGW
Recent MinGW versions require -lssp when using _FORTIFY_SOURCE, which
gdb does (in common-defs.h)
https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564

To avoid all the complications with checking for -lssp and making sure it's
linked statically, just don't define it.

gdb/ChangeLog:

2020-01-09  Christian Biesinger  <cbiesinger@google.com>

	* gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.

Change-Id: Ide6870ab57198219a2ef78bc675768a789ca2b1d
2020-01-09 16:31:00 -06:00
..
agent.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
agent.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
alt-stack.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
array-view.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ax.def Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
block-signals.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
break-common.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
btrace-common.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
btrace-common.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
buffer.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
buffer.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
byte-vector.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cleanups.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cleanups.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-debug.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-debug.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-defs.h Don't define _FORTIFY_SOURCE on MinGW 2020-01-09 16:31:00 -06:00
common-exceptions.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-exceptions.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-gdbthread.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-inferior.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-inferior.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-regcache.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-regcache.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-types.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-utils.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common-utils.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common.m4 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
create-version.sh Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
def-vector.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
default-init-alloc.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
enum-flags.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
environ.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
environ.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
errors.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
errors.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
fileio.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
fileio.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filestuff.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filestuff.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filtered-iterator.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
format.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
format.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
forward-scope-exit.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
function-view.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-dlfcn.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-dlfcn.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-sigmask.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_assert.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_binary_search.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_locale.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_optional.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_proc_service.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_ref_ptr.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_setjmp.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_signals.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_splay_tree.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_string_view.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_string_view.tcc Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_sys_time.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_tilde_expand.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_tilde_expand.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_unique_ptr.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_unlinker.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_vecs.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_vecs.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb_wait.c Fix MinGW native compilation of gdb/gdbsupport/gdb_wait.c 2020-01-06 21:54:21 +02:00
gdb_wait.h Improve process exit status macros on MinGW 2020-01-06 11:51:54 +00:00
hash_enum.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
host-defs.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
job-control.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
job-control.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
netstuff.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
netstuff.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
new-op.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
next-iterator.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
observable.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
offset-type.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
parallel-for.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
pathstuff.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
pathstuff.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
poison.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
preprocessor.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
print-utils.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
print-utils.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ptid.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ptid.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
refcounted-object.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rsp-low.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rsp-low.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
run-time-clock.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
run-time-clock.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
safe-iterator.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
safe-strerror.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
scope-exit.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
scoped_fd.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
scoped_mmap.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
scoped_mmap.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
scoped_restore.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
selftest.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
selftest.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
signals-state-save-restore.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
signals-state-save-restore.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
signals.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
symbol.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tdesc.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tdesc.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
thread-pool.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
thread-pool.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
traits.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
underlying.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
valid-expr.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
version.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
x86-xstate.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
xml-utils.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
xml-utils.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00