tfile: Don't infer the PC from the tracepoint if the PC is a pseudo-register.
authorPedro Alves <palves@redhat.com>
Mon, 13 Jan 2014 14:56:29 +0000 (14:56 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 13 Jan 2014 14:56:29 +0000 (14:56 +0000)
commitf8de51293246a17166da9a2744c1eb5ab956d67b
tree81ce1b2648d836c4369f3f43f34dab4b15841ef4
parentfc270c357a3301fec8cc161199242bb934203cf6
tfile: Don't infer the PC from the tracepoint if the PC is a pseudo-register.

This PC guessing can't work when the PC is a pseudo-register.
Pseudo-register values don't end up stored in the regcache, they're
always recomputed.  And, it's actually wrong to try to write a
pseudo-register with regcache_raw_supply.  Skip it and add a comment.

gdb/
2014-01-13  Pedro Alves  <palves@redhat.com>

* tracepoint.c (tfile_fetch_registers): Don't infer the PC from
the tracepoint if the PC is a pseudo-register.
gdb/ChangeLog
gdb/tracepoint.c
This page took 0.024581 seconds and 4 git commands to generate.