aboutsummaryrefslogtreecommitdiff
path: root/cpu/iq2000.opc
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-06-14 11:40:23 +0100
committerPedro Alves <palves@redhat.com>2018-06-14 11:40:23 +0100
commit1d39de443a38448226ffc408290c17c54c598c39 (patch)
treeece52ad869b666ce79bb2209fc80a8410083b293 /cpu/iq2000.opc
parent70ee000084aa4fdfc00bd5284a024b65023dad35 (diff)
downloadgdb-1d39de443a38448226ffc408290c17c54c598c39.zip
gdb-1d39de443a38448226ffc408290c17c54c598c39.tar.gz
gdb-1d39de443a38448226ffc408290c17c54c598c39.tar.bz2
Remove stale inline function handling from selftest_setup
Before commit 70ee000084aa ("[gdb] Allow function arguments in bp print match in selftest_setup"), this pattern in selftest_setup: -re "Starting program.*Breakpoint \[0-9\]+,.* at .*main.c:.*$function.*$gdb_prompt $" { # $function may be inlined, so the program stops at the line # calling $function. pass "$description" } happened to match if captured_main_1 was inlined and captured_main was not, because captured_main calls captured_main_1 first thing, which coincidentally matches "$function.*": Breakpoint 1, captured_main (data=<optimized out>) at src/gdb/main.c:1147 1147 captured_main_1 (context); That would probably be better "$function .*", with a space, but I think that even better is to remove the "may be inlined" case too now, because since ddfe970e6bec ("Don't elide all inlined frames") GDB presents the stop at the inline function instead of at the caller. gdb/testsuite/ChangeLog: 2018-06-14 Pedro Alves <palves@redhat.com> * lib/selftest-support.exp (selftest_setup): Remove inlined function handling.
Diffstat (limited to 'cpu/iq2000.opc')
0 files changed, 0 insertions, 0 deletions