This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: error when calling debug_tree from gdb
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Per Fransson <fransson at cs dot lth dot se>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 5 Aug 2002 00:38:21 -0400
- Subject: Re: error when calling debug_tree from gdb
- References: <Pine.GSO.4.33.0208050201170.28396-100000@hagbard>
On Mon, Aug 05, 2002 at 02:09:36AM +0200, Per Fransson wrote:
> Hi,
>
> I'm trying to call debug_tree from within gdb. I use the '.gdbinit' file
> included with gcc. When I reach expand_assignment I try to call
> debug_tree with:
>
> (gdb)p debug_tree(from)
>
> but I just get:
Either:
from is corrupt
GDB's view of what the value of 'from' is is wrong; try
single-stepping a line or two and retrying.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer