From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Michael Elizabeth Chastain Cc: ac131313@cygnus.com, fnasser@redhat.com, gdb-patches@sources.redhat.com, keiths@cygnus.com Subject: Re: [RFA] Assuming malloc exists in callfwmall.exp Date: Fri, 16 Feb 2001 08:36:00 -0000 Message-id: References: <200102160305.TAA28093@bosch.cygnus.com> X-SW-Source: 2001-02/msg00287.html This is irrelevant. The GDB test suite exists to verify that GDB behaves as documented. If a test checks for behavior which is not guaranteed, the test is in error, and should simply be removed. GDB does not, and should not, promise to make array literals work on every target. GDB should promise to make them work when: - GDB has the ability to invoke functions on this architecture, - the inferior is running, and - malloc is available and working. If these conditions are not met, the inability to evaluate array literals is not a failure. The only reason to hedge on this question at all is that HP seemed to think, a while back, that GDB should guarantee to make array literals work on HP-UX. I don't know the reasoning. They may simply have been misled.