This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error when calling debug_tree from gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]