This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make sure malloc is linked into gdb.cp/oranking.cc.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 03 May 2017 16:23:46 -0400
- Subject: [binutils-gdb] Make sure malloc is linked into gdb.cp/oranking.cc.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 90cef2edd256c48d2ff9a03d4a6c1bcb575db07c ***
Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 90cef2edd256c48d2ff9a03d4a6c1bcb575db07c
Make sure malloc is linked into gdb.cp/oranking.cc.
On some platforms, e.g., arm-eabi-none, we need to make certain that
malloc is linked into the program because the test suite uses function
calls requiring malloc:
(gdb) p foo101("abc")
evaluation of this expression requires the program to have a function "malloc".
gdb/testsuite/ChangeLog
* gdb.cp/oranking.cc (dummy): New function to grab malloc.
(main): Call it.