This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: Fix gdb.base/define.exp


On Thu, Nov 23, 2006 at 07:45:50AM +0000, Nathan Sidwell wrote:
> the define.exp test requires malloc to be in the target executable
> 
> whilenospace
> evaluation of this expression requires the program to have a function 
> "malloc".
> (gdb) FAIL: gdb.base/define.exp: test whilenospace is parsed correctly
> 
> This patch forces malloc to be there. ok?

OK.  If you want, actually call the function somewhere; some compilers
(like ARM's I think?) default to the equivalent of --gc-sections.

-- 
Daniel Jacobowitz
CodeSourcery


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