This is the mail archive of the gdb-prs@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]

[Bug server/17302] gdbserver function call + detach crashes inferior process


https://sourceware.org/bugzilla/show_bug.cgi?id=17302

--- Comment #3 from Simon Marchi <simon.marchi at ericsson dot com> ---
Ah, this is what gdb is doing when executing natively:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/infrun.c;h=c18267f779dcbf523d3a01a422d154faae55183b;hb=HEAD#l3321

It considers the segfault as a sigtrap, exactly for this reason.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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