"finish" command leads to SIGTRAP

David Griffiths dgriffiths@undo.io
Thu Feb 21 18:22:00 GMT 2019


On Thu, 21 Feb 2019 at 17:50, Pedro Alves <palves@redhat.com> wrote:

>
> Same as <https://sourceware.org/bugzilla/show_bug.cgi?id=13508> ?
>
>
Yes, that's exactly it! I'd just written a simple test also to reproduce:

#include <stdio.h>

int main()
{
    asm("pushf\n\t"
        "popf\n\t");
    printf("after popfq\n");
}

(please avoid top posting)
>
>

Sorry, gmail default!

Cheers,

David

-- 

David Griffiths, Senior Software Engineer

Undo <https://undo.io> | Resolve even the most challenging software defects
with software flight recorder technology

Software reliability report: optimizing the software supplier and customer
relationship
<https://info.undo.io/software-reliability-report-optimizing-supplier-and-customer-relationship>



More information about the Gdb mailing list