This is the mail archive of the 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]

[0/3] Remove deprecated_register_gdbarch_swap


assuming that the following patch sets are applied:

Eliminate read_register:
Eliminate current_regcache:
Clean up built-in types:

there are only two gdbarch-swapped data variables remaining:
- remote_address_masked in remote.c
- stop_registers in infrun.c

Fortunately those two seem relatively straightforward to eliminate,
so this is what the following small patch set does:

[1/3] Remove gdbarch-swapping of remote_address_masked
[2/3] Remove gdbarch-swapping of stop_registers
[3/3] Remove deprecated_register_gdbarch_swap infrastructure

Once this patch set is in place, it will finally be safe to
maintain multiple active gdbarch structures at the same time.

I've tested the combination of this patch set on top of all
the patches referred to above on i386-linux, powerpc64-linux,
s390-ibm-linux, s390x-ibm-linux, and spu-elf.

I'd appreciate any comments on this patch set.


  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE

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