From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Assuming malloc exists in callfwmall.exp Date: Wed, 14 Feb 2001 09:07:00 -0000 Message-id: References: <200102141705.JAA28966@bosch.cygnus.com> X-SW-Source: 2001-02/msg00215.html On Wed, 14 Feb 2001, Michael Elizabeth Chastain wrote: > The idea looks good, but I see an implementation bug. On a native > platform with shared libraries, "p malloc" fails because shared library > symbols are not available until the program starts running. > > I'm seeing this on Red Hat Linux 7 native, FSF cvs gcc dated 2001-02-12, > FSF cvs gdb dated 2001-02-12 with some patches applied. > > Can you move your "p malloc" test after the call to "runto_main"? Doh! Good catch. Keith