aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-target.c
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2015-08-27 01:49:05 -0300
committerLuis Machado <lgustavo@codesourcery.com>2015-08-27 01:49:05 -0300
commit8ce74153537add5e364865518a72194ab58b3dbc (patch)
tree7895b85e5be6fdcbbee2bc5cffbe1371653578ce /gdb/solib-target.c
parenta40d44c44ec0a7ee8feeaccdb8e838c5338df6c9 (diff)
downloadgdb-8ce74153537add5e364865518a72194ab58b3dbc.zip
gdb-8ce74153537add5e364865518a72194ab58b3dbc.tar.gz
gdb-8ce74153537add5e364865518a72194ab58b3dbc.tar.bz2
Force language to C in gdb.compile/compile-ifunc.exp
Due to the lack of debug information in the binary, GDB is unable to figure out what language is being used. This may be a problem when doing remote debugging and the binary stops at the entry point containing asm code. In this case GDB will switch to asm as current language and will not switch back to C when it reaches main, which in turn causes the compile feature check to malfunction. This is solved by forcing the language to C after reaching main. gdb/testsuite/ChangeLog: 2015-08-26 Luis Machado <lgustavo@codesourcery.com> * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language to C.
Diffstat (limited to 'gdb/solib-target.c')
0 files changed, 0 insertions, 0 deletions