Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] regcache misc cleanup and refactor
@ 2017-10-27  9:31 Yao Qi
  2017-10-27  9:31 ` [PATCH 3/8] New method regcache::assert_regnum Yao Qi
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Yao Qi @ 2017-10-27  9:31 UTC (permalink / raw)
  To: gdb-patches

During the work of regcache rewriting, I find there are some minor
cleanups and refactors can go upstream first.  Each patch is quite
self-contained, but they may be dependent to previous patches in
this series, so I put all of them in one patch set.

Rebuild GDB with every patch applied accumulatively, and regress
tested on x86_64-linux.

*** BLURB HERE ***

Yao Qi (8):
  Remove regcache_descr fields sizeof_raw_register_status and
    sizeof_cooked_register_status
  Remove code wrapped by "#if 0"
  New method regcache::assert_regnum
  Remove regcache_descr::nr_raw_registers
  s/get_regcache_aspace (regcache)/regcache->aspace ()/g
  const-fy regcache::m_aspace
  const-fy regcache::m_readonly_p
  Construct readonly regcache without address space

 gdb/darwin-nat.c     |  2 +-
 gdb/frame.c          |  5 ++-
 gdb/infrun.c         | 42 ++++++++++++-------------
 gdb/jit.c            |  4 +--
 gdb/linux-nat.c      |  8 ++---
 gdb/ppc-linux-tdep.c |  5 ++-
 gdb/record-full.c    |  7 ++---
 gdb/regcache.c       | 88 +++++++++++++++++++---------------------------------
 gdb/regcache.h       | 20 ++++++------
 9 files changed, 75 insertions(+), 106 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-11-02 15:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27  9:31 [PATCH 0/8] regcache misc cleanup and refactor Yao Qi
2017-10-27  9:31 ` [PATCH 3/8] New method regcache::assert_regnum Yao Qi
2017-10-27  9:31 ` [PATCH 4/8] Remove regcache_descr::nr_raw_registers Yao Qi
2017-10-31 14:27   ` Simon Marchi
2017-11-02 15:20     ` Yao Qi
2017-10-27  9:31 ` [PATCH 1/8] Remove regcache_descr fields sizeof_raw_register_status and sizeof_cooked_register_status Yao Qi
2017-10-27  9:32 ` [PATCH 7/8] const-fy regcache::m_readonly_p Yao Qi
2017-10-27  9:32 ` [PATCH 6/8] const-fy regcache::m_aspace Yao Qi
2017-10-31 14:19   ` Simon Marchi
2017-11-01  9:43     ` Yao Qi
2017-11-01 14:00       ` Simon Marchi
2017-11-01 14:35         ` Yao Qi
2017-10-27  9:32 ` [PATCH 8/8] Construct readonly regcache without address space Yao Qi
2017-10-31 14:35   ` Simon Marchi
     [not found]     ` <CAH=s-PMFXtwS-3J9et_onyEOCUL9P-AgO9V=pBt60neQn67g9g@mail.gmail.com>
2017-10-31 18:04       ` Simon Marchi
2017-10-27  9:32 ` [PATCH 5/8] s/get_regcache_aspace (regcache)/regcache->aspace ()/g Yao Qi
2017-10-27  9:32 ` [PATCH 2/8] Remove code wrapped by "#if 0" Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox