public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/15 v2] Common code cleanups
@ 2014-07-16 16:19 Gary Benson
  2014-07-16 16:19 ` [PATCH 15/15 v2] Finally remove GDBSERVER (mostly) from linux-btrace.c Gary Benson
                   ` (14 more replies)
  0 siblings, 15 replies; 34+ messages in thread
From: Gary Benson @ 2014-07-16 16:19 UTC (permalink / raw)
  To: gdb-patches

Hi all,

This series is version 2 of the common code cleanups patch I posted
last Wednesday.  I'll repeat the description of the series from the
previous [PATCH 00/15] email:

  The directories "common", "nat" and "target" contain code shared
  between GDB and gdbserver.  Each C file is built at least twice,
  once for GDB and once for gdbserver, and many of the files use
  "#ifdef GDBSERVER" to source headers from GDB or gdbserver as
  appropriate.  This means that while the code is shared, the
  supporting definitions are not, and in some cases these are
  different in non-trivial ways.  In other places, GDBSERVER checks
  are used to cope where GDB and gdbserver do the same thing in
  different ways.

  This series reduces the number of GDBSERVER checks from 34 to 11.
  Tom Tromey started this work back in January, and I've updated it
  and extended it a little.  Most of the remaining checks are to
  select the correct gnulib config header.

I've mailed details of changes I've made to the individual patches to
this list and to the reviewers who suggested them already, so I won't
go over them again.

Built and regtested on x86-64 RHEL6.5.  mips-linux-watch.h changes
checked by cross-building gdbserver with the Sourcery CodeBench for
MIPS GNU/Linux toolchain.

Ok to commit?

Thanks,
Gary

--
http://gbenson.net/

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

end of thread, other threads:[~2014-07-18 11:23 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 16:19 [PATCH 00/15 v2] Common code cleanups Gary Benson
2014-07-16 16:19 ` [PATCH 15/15 v2] Finally remove GDBSERVER (mostly) from linux-btrace.c Gary Benson
2014-07-16 16:19 ` [PATCH 04/15 v2] Introduce common-types.h Gary Benson
2014-07-17 11:21   ` Doug Evans
2014-07-16 16:32 ` [PATCH 09/15 v2] Mostly remove GDBSERVER from linux-waitpid.c Gary Benson
2014-07-16 16:33 ` [PATCH 14/15 v2] Introduce get_thread_regcache_for_ptid Gary Benson
2014-07-16 16:45 ` [PATCH 02/15 v2] Remove some GDBSERVER checks from linux-ptrace Gary Benson
2014-07-17  8:37   ` Doug Evans
2014-07-17 16:40   ` Pedro Alves
2014-07-16 16:45 ` [PATCH 05/15 v2] Introduce and use debug_printf and debug_vprintf Gary Benson
2014-07-16 16:45 ` [PATCH 01/15 v2] Introduce common/errors.h Gary Benson
2014-07-16 18:36   ` Doug Evans
2014-07-17 13:41     ` [PATCH] " Gary Benson
2014-07-17 13:47       ` Gary Benson
2014-07-17 14:05     ` [PATCH 01/15 v3] " Gary Benson
2014-07-17 15:40       ` Pedro Alves
2014-07-17 16:03         ` Gary Benson
2014-07-17 16:19           ` Pedro Alves
2014-07-18  9:20             ` Gary Benson
2014-07-18 10:42               ` Doug Evans
2014-07-18 11:23                 ` Gary Benson
2014-07-18 12:31                   ` Doug Evans
2014-07-18 10:44               ` Pedro Alves
2014-07-16 16:48 ` [PATCH 03/15 v2] Make gdbserver CORE_ADDR unsigned Gary Benson
2014-07-17  9:02   ` Doug Evans
2014-07-17 16:42   ` Pedro Alves
2014-07-18  8:07     ` Maciej W. Rozycki
2014-07-16 16:48 ` [PATCH 06/15 v2] Remove simple GDBSERVER uses from common, nat and target Gary Benson
2014-07-16 17:03 ` [PATCH 11/15 v2] More target unification Gary Benson
2014-07-16 17:03 ` [PATCH 13/15 v2] Finally remove GDBSERVER (mostly) from agent.c Gary Benson
2014-07-16 17:03 ` [PATCH 08/15 v2] Make btrace-common.h not use GDBSERVER Gary Benson
2014-07-16 17:04 ` [PATCH 10/15 v2] Add target/target.h Gary Benson
2014-07-16 17:20 ` [PATCH 12/15 v2] Add target/symbol.h, update users Gary Benson
2014-07-16 17:24 ` [PATCH 07/15 v2] Remove GDBSERVER use from nat/i386-dregs.c Gary Benson

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).