aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-11-06 13:28:03 -0700
committerJeff Law <law@gcc.gnu.org>2013-11-06 13:28:03 -0700
commit2a9369590c5fa9c587defeb1ab8701cbdc349811 (patch)
treeccf7e525ab8102463220a434542d743254c656ae
parent73afb55da8065bd2b9ce1ad9c3db2c2ffd5a657d (diff)
downloadgcc-2a9369590c5fa9c587defeb1ab8701cbdc349811.zip
gcc-2a9369590c5fa9c587defeb1ab8701cbdc349811.tar.gz
gcc-2a9369590c5fa9c587defeb1ab8701cbdc349811.tar.bz2
gdbinit.in: Disable strict type checking.
* gdbinit.in: Disable strict type checking. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r204474
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gdbinit.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dfaf4e3..43ebbda 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-06 Jeff Law <law@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * gdbinit.in: Disable strict type checking.
+
2013-11-06 Vladimir Makarov <vmakarov@redhat.com>
* tree-pass.h (make_pass_live_range_shrinkage): New external.
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 503ef24..c60cab1 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -205,6 +205,11 @@ set complaints 0
b exit
b abort
+# Disable strict type checking. This allows developers to (for example)
+# make inferior calls without casting absolute address to a suitable
+# pointer type.
+set check type off
+
# Skip all inline functions in tree.h.
# These are used in accessor macros.
# Note that this is added at the end because older gdb versions