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]

[PATCH v1.99 0/6] Make register fetch/store implementations use ptid from regcache


This is almost a v2 of:

  Pass ptid to target_ops register methods
  https://sourceware.org/ml/gdb-patches/2017-03/msg00100.html

but since the work can be done incrementally (unlike the original version), I'd
like to make sure that the idea is good before proceeding with all the changes.
I've only done changes to a few target files for the moment and will do the
others if these look good..

Simon Marchi (6):
  Introduce regcache_get_ptid
  Add asserts in target_fetch/store_registers
  amd64-linux-nat: Use ptid from regcache instead of inferior_ptid
  aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid
  aix-thread: Use ptid from regcache instead of inferior_ptid
  alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid

 gdb/aarch64-linux-nat.c |  8 ++++----
 gdb/aix-thread.c        | 14 +++++++-------
 gdb/alpha-bsd-nat.c     | 12 ++++++------
 gdb/amd64-linux-nat.c   |  8 ++++----
 gdb/regcache.c          | 10 ++++++++++
 gdb/regcache.h          |  4 ++++
 gdb/target.c            |  4 ++++
 7 files changed, 39 insertions(+), 21 deletions(-)

-- 
2.12.0


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