This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "finish" command leads to SIGTRAP
- From: Pedro Alves <palves at redhat dot com>
- To: David Griffiths <dgriffiths at undo dot io>, gdb at sourceware dot org
- Date: Thu, 21 Feb 2019 11:24:30 +0000
- Subject: Re: "finish" command leads to SIGTRAP
- References: <CA++j6c7bhP7=AWWdzBajC7KUah1gwj25-Bpoqd1-Xs_67z5kVw@mail.gmail.com>
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.
Thanks,
Pedro Alves