This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "finish" command leads to SIGTRAP


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]