public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCHv2 0/4] Supply additional default gdbarch methods
  2018-03-07 22:04 ` [PATCH] gdb: Add a default_unwind_pc method for gdbarch Andrew Burgess
@ 2018-03-15 21:51 Andrew Burgess
  2018-03-07 22:04 ` [PATCH] gdb: Add a default_unwind_pc method for gdbarch Andrew Burgess
  2018-04-10 10:13 ` PING: Re: [PATCHv2 0/4] Supply additional default gdbarch methods Andrew Burgess
  4 siblings, 2 replies; 14+ messages in thread
From: Andrew Burgess @ 2018-03-15 21:51 UTC (permalink / raw)
  To: gdb-patches; +Cc: Yao Qi, Simon Marchi, Andrew Burgess

This revision follows up on Simon's feedback.

Patch #1 has been extended to cover aarch64 and sparc.

Patch #2 rewrites default_unwind_pc as suggested, and allows even more
targets to use the default.

Patch #3 adds a default_dummy_id.

Patch #4 adds a default_unwind_sp.

For testing I've built a wide range of targets, I believe that most of
the targets I've touched have been built.

I've tested on x86-64 GNU/Linux (though that target hasn't changed),
and I've also run this patch through buildbot without issue.

Is there any additional testing I should run?

All feedback appreciated.

Thanks,
Andrew

---

Andrew Burgess (4):
  gdb: Add a default_unwind_pc method for gdbarch
  gdb: Remove more targets unwind_pc methods
  gdb: Supply a default for gdbarch_dummy_id
  gdb: Supply default gdbarch_unwind_sp and use where possible

 gdb/ChangeLog        | 221 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/aarch64-tdep.c   |  38 ---------
 gdb/alpha-tdep.c     |  29 -------
 gdb/arc-tdep.c       |  14 ----
 gdb/arm-tdep.c       |  37 ---------
 gdb/bfin-tdep.c      |  18 -----
 gdb/cris-tdep.c      |  40 ----------
 gdb/dummy-frame.c    |  16 ++++
 gdb/dummy-frame.h    |   6 ++
 gdb/frame-unwind.c   |  32 ++++++++
 gdb/frame-unwind.h   |  12 +++
 gdb/frame.c          | 132 ++++++++++++++----------------
 gdb/frv-tdep.c       |  27 -------
 gdb/ft32-tdep.c      |  33 --------
 gdb/gdbarch.c        |  41 ++--------
 gdb/gdbarch.h        |   6 --
 gdb/gdbarch.sh       |   8 +-
 gdb/h8300-tdep.c     |  22 -----
 gdb/hppa-tdep.c      |   9 ---
 gdb/i386-tdep.c      |  13 ---
 gdb/iq2000-tdep.c    |  22 -----
 gdb/lm32-tdep.c      |  23 ------
 gdb/m32r-tdep.c      |  37 ---------
 gdb/m68hc11-tdep.c   |  24 ------
 gdb/m68k-tdep.c      |  10 ---
 gdb/m88k-tdep.c      |  21 -----
 gdb/mep-tdep.c       |  30 -------
 gdb/mn10300-tdep.c   |  32 +-------
 gdb/moxie-tdep.c     |  33 --------
 gdb/msp430-tdep.c    |  31 --------
 gdb/nds32-tdep.c     |  29 -------
 gdb/nios2-tdep.c     |  35 +-------
 gdb/or1k-tdep.c      |  10 ---
 gdb/riscv-tdep.c     |  30 -------
 gdb/rl78-tdep.c      |  20 -----
 gdb/rs6000-tdep.c    |  19 -----
 gdb/rx-tdep.c        |  33 --------
 gdb/s390-tdep.c      |  12 ---
 gdb/score-tdep.c     |  23 ------
 gdb/sh-tdep.c        |  25 ------
 gdb/sh64-tdep.c      |  25 ------
 gdb/sparc-tdep.c     |   9 ---
 gdb/tic6x-tdep.c     |  35 --------
 gdb/tilegx-tdep.c    |  26 ------
 gdb/v850-tdep.c      |  25 ------
 gdb/vax-tdep.c       |   8 --
 gdb/xstormy16-tdep.c |  23 ------
 47 files changed, 361 insertions(+), 1043 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-06-05 14:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 21:51 [PATCHv2 0/4] Supply additional default gdbarch methods Andrew Burgess
2018-03-07 22:04 ` [PATCH] gdb: Add a default_unwind_pc method for gdbarch Andrew Burgess
2018-03-08 22:32   ` Simon Marchi
2018-03-09 15:54     ` Yao Qi
2018-03-15 21:51   ` [PATCHv2 2/4] gdb: Remove more targets unwind_pc methods Andrew Burgess
2018-03-15 21:51   ` [PATCHv2 3/4] gdb: Supply a default for gdbarch_dummy_id Andrew Burgess
2018-03-15 21:51   ` [PATCHv2 1/4] gdb: Add a default_unwind_pc method for gdbarch Andrew Burgess
2018-03-15 21:51   ` [PATCHv2 4/4] gdb: Supply default gdbarch_unwind_sp and use where possible Andrew Burgess
2018-04-10 10:13 ` PING: Re: [PATCHv2 0/4] Supply additional default gdbarch methods Andrew Burgess
2018-06-05 14:35   ` [PATCHv3 2/4] gdb: Remove more targets unwind_pc methods Andrew Burgess
2018-06-05 14:35   ` [PATCHv3 1/4] gdb: Add a default_unwind_pc method for gdbarch Andrew Burgess
2018-06-05 14:35   ` [PATCHv3 3/4] gdb: Supply a default for gdbarch_dummy_id Andrew Burgess
2018-06-05 14:35   ` [PATCHv3 0/4] Supply additional default gdbarch methods Andrew Burgess
2018-06-05 14:35   ` [PATCHv3 4/4] gdb: Supply default gdbarch_unwind_sp and use where possible Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).