diff options
author | Pedro Alves <palves@redhat.com> | 2014-01-13 14:56:29 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-01-13 14:56:29 +0000 |
commit | f8de51293246a17166da9a2744c1eb5ab956d67b (patch) | |
tree | 81ce1b2648d836c4369f3f43f34dab4b15841ef4 /opcodes | |
parent | fc270c357a3301fec8cc161199242bb934203cf6 (diff) | |
download | gdb-f8de51293246a17166da9a2744c1eb5ab956d67b.zip gdb-f8de51293246a17166da9a2744c1eb5ab956d67b.tar.gz gdb-f8de51293246a17166da9a2744c1eb5ab956d67b.tar.bz2 |
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.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions