aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-11-22 21:28:31 +0800
committerYao Qi <yao@codesourcery.com>2014-11-22 21:28:31 +0800
commit84429e27c826c74b99791b8f1efe8dce03cfa6ca (patch)
treef2befb0d9dc9af35ef8e49366eb78a8bf2bd2c8a /gdb/cp-namespace.c
parent267418593cfb3986a924024a28e3283626399301 (diff)
downloadbinutils-84429e27c826c74b99791b8f1efe8dce03cfa6ca.zip
binutils-84429e27c826c74b99791b8f1efe8dce03cfa6ca.tar.gz
binutils-84429e27c826c74b99791b8f1efe8dce03cfa6ca.tar.bz2
Use MACRO_AT_func in entry-values.exp
MACRO_AT_func can be used in gdb.trace/entry-values.exp to correctly get function's address in generated debug info. As a result, the test is more friendly to clang. Currently, there are some fails in entry-values.exp when the test is compiled by clang. With this patch applied, all fails go away. gdb/testsuite: 2014-11-22 Yao Qi <yao@codesourcery.com> * gdb.trace/entry-values.c: Remove asms. (foo): Add foo_label. (bar): Add bar_label. * gdb.trace/entry-values.exp: Remove code computing foo's length and bar's length. (Dwarf::assemble): Invoke function_range for bar and use MACRO_AT_func for foo.
Diffstat (limited to 'gdb/cp-namespace.c')
0 files changed, 0 insertions, 0 deletions