diff options
author | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-01-26 13:08:53 -0500 |
---|---|---|
committer | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-02-10 13:49:41 -0500 |
commit | b05ec7a53f8a3b0cbcb2b42772ca0e70a319d2ab (patch) | |
tree | 59d02c32bbdaa17f002443a254268ac7e987a580 /opcodes/ChangeLog-0203 | |
parent | 3ac240d438dceeaa5bd8ec65dafc4619b9295b09 (diff) | |
download | gdb-b05ec7a53f8a3b0cbcb2b42772ca0e70a319d2ab.zip gdb-b05ec7a53f8a3b0cbcb2b42772ca0e70a319d2ab.tar.gz gdb-b05ec7a53f8a3b0cbcb2b42772ca0e70a319d2ab.tar.bz2 |
gdbserver: Fix crash when QTinit is handled with no inferior process attached
When gdbserver is called with --multi and attach has not been called yet
and tstart is called on the gdb client, gdbserver would crash.
This patch fixes gdbserver so that it returns E01 to the gdb client.
Also this patch adds a testcase to verify this bug named no-attach-trace.exp
gdb/gdbserver/ChangeLog:
PR breakpoints/15956
* tracepoint.c (cmd_qtinit): Add check for current_thread.
gdb/testsuite/ChangeLog:
* gdb.trace/no-attach-trace.c: New file.
* gdb.trace/no-attach-trace.exp: New file.
Diffstat (limited to 'opcodes/ChangeLog-0203')
0 files changed, 0 insertions, 0 deletions