diff options
author | Keith Seitz <keiths@redhat.com> | 2017-05-03 12:40:01 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2017-05-03 12:40:01 -0700 |
commit | c2449d01b73b19acaf5add85b64c584fca9da366 (patch) | |
tree | df7d11908ad2e66d3e216aeb2235ee1179e5dd4a /gdb/macrotab.c | |
parent | 05e4d878596aafa3bdabb3108ce09e3d91a8492d (diff) | |
download | gdb-c2449d01b73b19acaf5add85b64c584fca9da366.zip gdb-c2449d01b73b19acaf5add85b64c584fca9da366.tar.gz gdb-c2449d01b73b19acaf5add85b64c584fca9da366.tar.bz2 |
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.
Diffstat (limited to 'gdb/macrotab.c')
0 files changed, 0 insertions, 0 deletions