This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFA] Assuming malloc exists in callfwmall.exp


I was going to drop this, but ...

> 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.

callfwmalls.exp checks that "call foo(10)" works in a target program
that does not call malloc.  That check is useful.

It also checks that "call foo("bar")" works in a target program that
does not call malloc.  That check is useless.

Michael


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