summaryrefslogtreecommitdiff
path: root/packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-01-16 23:16:42 -0500
committerTom Rini <trini@embeddedalley.com>2009-01-16 23:16:42 -0500
commitc90263a63faaa67a1ceadaa70c130191bfdf6076 (patch)
treeff4cf5184338d8c73f8149bd4816f298edbb9c7b /packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch
parent2378bfca9bbb2cd7cf488a4e74c780ff6ea1f010 (diff)
gdb-canadian-sdk: Add a version of gdb 6.8 for building Canadian SDKs.
With this, add some patches specific to fixing up MinGW issues on some targets
Diffstat (limited to 'packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch')
-rw-r--r--packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch b/packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch
new file mode 100644
index 0000000000..2a31e29174
--- /dev/null
+++ b/packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch
@@ -0,0 +1,17 @@
+---
+ sim/common/sim-signal.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: gdb-6.8/sim/common/sim-signal.c
+===================================================================
+--- gdb-6.8.orig/sim/common/sim-signal.c
++++ gdb-6.8/sim/common/sim-signal.c
+@@ -26,7 +26,7 @@ along with this program. If not, see <h
+ to not think the process has died (so it can be debugged at the point of
+ failure). */
+
+-#ifdef _MSC_VER
++#ifdef __WIN32
+ #ifndef SIGTRAP
+ #define SIGTRAP 5
+ #endif