This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Assuming malloc exists in callfwmall.exp
- To: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Subject: Re: [RFA] Assuming malloc exists in callfwmall.exp
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 14 Feb 2001 12:11:56 -0500
- CC: gdb-patches at sources dot redhat dot com, keiths at cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <200102141705.JAA28966@bosch.cygnus.com>
Michael Elizabeth Chastain wrote:
>
> Hi Keith,
>
> 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"?
>
Good point.
Thanks Michael.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9