gdb: add upstream patches to fix musl build
Backported three patches from upstream to all four versions of gdb
that we support.
The "skipping exited and joined thread" message only exists in 7.10.1
so that hunk is removed in the earlier versions. The ChangeLog
modifications are also removed.
Fixes
http://autobuild.buildroot.net/results/e81/
e8156d0b89e7157b8f10e428fc0958b0eb29e50a/
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>