This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: disable break-interp.exp for Arm buildbot
On 8/12/19 4:53 PM, Alan Hayward wrote:
> Agreed. It’s not quite that simple - the failures happen in cases where there
> is no debug (eg BINprelinkNOdebugNOpieNO), so there is nowhere I can place
> a breakpoint.
Even if you have no debug info, you should still be able to put a breakpoint
on functions. GDB knows the functions exist from the ELF symbol tables (minsyms):
Reading symbols from testsuite/outputs/gdb.base/break-interp/break-interp-BINprelinkNOdebugNOpieNO...
(No debugging symbols found in testsuite/outputs/gdb.base/break-interp/break-interp-BINprelinkNOdebugNOpieNO)
(gdb) b main
Breakpoint 1 at 0x40074b
(gdb)
Thanks,
Pedro Alves