"finish" command leads to SIGTRAP

Pedro Alves palves@redhat.com
Thu Feb 21 11:24:00 GMT 2019

On 02/21/2019 11:21 AM, David Griffiths wrote:
> I need it to work because I'm trying to automate something via gdb/MI. Any
> suggestions as to how to debug this would be very welcome.

Start with "set debug infrun 1".

And then "set debug lin-lwp 1" if debugging natively, or
"set debug remote 1" if using the remote serial protocol.

Pedro Alves

More information about the Gdb mailing list