This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 0/6] Conversion of gimple types to C++ inheritance (v3)
- From: Tom Tromey <tromey at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: David Malcolm <dmalcolm at redhat dot com>, Richard Biener <richard dot guenther at gmail dot com>, Bernd Schmidt <bernds at codesourcery dot com>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Andrew MacLeod <amacleod at redhat dot com>
- Date: Wed, 06 Nov 2013 11:04:24 -0700
- Subject: Re: [PATCH 0/6] Conversion of gimple types to C++ inheritance (v3)
- Authentication-results: sourceware.org; auth=none
- References: <5271CBF9 dot 2070005 at redhat dot com> <1383236801-13234-1-git-send-email-dmalcolm at redhat dot com> <527960A8 dot 7030107 at redhat dot com> <CAFiYyc2okBUaSpm61XkeNv04ps4oofRcqu5G0yFmYhAs6FYzqg at mail dot gmail dot com> <527A21DB dot 301 at codesourcery dot com> <CAFiYyc0aX4a_oO_EPogK3V_4Pyp=Et+q7+jb_wgEbt5s8yfxyA at mail dot gmail dot com> <20131106114253 dot GY27813 at tucnak dot zalov dot cz> <CAFiYyc2umm7jBgD4XjTOw3q_isMHauB5KYnphy9XhyF3+WDEdw at mail dot gmail dot com> <20131106131140 dot GA27813 at tucnak dot zalov dot cz> <1383755131 dot 2963 dot 7 dot camel at surprise> <20131106164514 dot GE27813 at tucnak dot zalov dot cz>
>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
Jakub> 1) p debug_tree (0x7ffff18b3690)
Jakub> not working anymore, typically one would use this when just
Jakub> cut'n'pasting addresses seen in backtrace, other debug_tree
Jakub> etc., one now has to add explicitly a cast p debug_tree
Jakub> ((tree)0x7ffff18b3690). Perhaps this can be cured just by
Jakub> adding extra overloads for a few most popular debug_* routines
Jakub> that weren't initially overloaded, add them an overload with
Jakub> uintptr_t type or similar that will just cast it to the right
Jakub> type and call the original routine
Last time this came up, we added the feature to gdb. You have to enable
it, though. Use "set check type off".
Tom