]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gdbinit.in: Disable strict type checking.
authorJeff Law <law@redhat.com>
Wed, 6 Nov 2013 20:28:03 +0000 (13:28 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 6 Nov 2013 20:28:03 +0000 (13:28 -0700)
       * gdbinit.in: Disable strict type checking.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r204474

gcc/ChangeLog
gcc/gdbinit.in

index dfaf4e38d143989b15152469031ec8b065d9b913..43ebbdad62115795f6453e106e3b83f726053ee7 100644 (file)
@@ -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.
index 503ef24e3016bf2967bbb0f1d0a383260eee02cc..c60cab1df2dfc911197d242aa1bae4fa879236d1 100644 (file)
@@ -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