This is the mail archive of the gdb-patches@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: [PATCH v3 2/5] btrace: allow recording to be started (and stopped) for running threads


> > I was also thinking of changing the error messages to refer to the argument
> > thread but that would make them less clear when PTID really refers to the
> > selected thread - which should be the case most of the time if not always.
> >
> > Maybe this is not an issue in practice and the "selected thread" errors are
> > understandable enough.  What do you think?
> 
> I think we may be able to sidestep deciding this.  :-)

That seems to work.  I added a few tests to cover other record commands
while threads are running.

Thanks,
Markus.

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


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