This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb/s390: Fill guess_tracepoint_registers hook.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: koriakin at 0x04 dot net (Marcin KoÅcielnicki)
- Cc: arnez at linux dot vnet dot ibm dot com, gdb-patches at sourceware dot org, koriakin at 0x04 dot net (Marcin KoÅcielnicki)
- Date: Thu, 18 Feb 2016 17:48:06 +0100 (CET)
- Subject: Re: [PATCH] gdb/s390: Fill guess_tracepoint_registers hook.
- Authentication-results: sourceware.org; auth=none
Marcin KoÅ?cielnicki wrote:
> This version fills PSWM too. This causes two failures in tests when
> combined with the later patches:
>
> - gdb.trace/mi-trace-frame-collected.exp: will have to be changed to expect
> $pswa and $cc to be available.
> - gdb.trace/unavailable.exp: likewise.
>
> An unfortunate side effect is that $cc is now considered available (which
> unavailable.exp rightly complains about). There isn't a way to mark
> individual bitfields as unavailable, is there?
That's bit unfortunate. Right now there's no way to mark *parts* of
a register a unavailable (this is possible for the value subsystem,
but not for the plain regcache at this point).
It probably shouldn't matter much to show a defined $cc in those cases.
Patch is OK.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com