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 don't get it.  malloc is not used at all when the argument is not a
> string.  So, what malloc() being available or not has to do with this
> situation?

The point is that use case #3 should keep working, even if
someone changes gdb.

Suppose I check in a patch tomorrow to allocate the call dummy in malloc'd
memory instead of the target's stack.

Would that be a problem?
If it is a problem, what test case can catch it?

Michael


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