old-cross-binutils/gdb/testsuite/gdb.trace/Makefile.in
Antoine Tremblay b05ec7a53f 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.
2015-02-10 13:49:41 -05:00

19 lines
633 B
Makefile

VPATH = @srcdir@
srcdir = @srcdir@
.PHONY: all clean mostlyclean distclean realclean
PROGS = actions-changed ax backtrace deltrace disconnected-tracing \
infotrace no-attach-trace packetlen passc-dyn passcount report \
save-trace tfile tfind tracecmd tsv unavailable while-dyn while-stepping
all info install-info dvi install uninstall installcheck check:
@echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f actions circ collection
-rm -f *.o *.diff *~ *.bad core sh3 hppa mn10300 $(PROGS)
-rm -f *.dwo *.dwp
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log gdb.log gdb.sum