[0/7] Implement per-type architecture

Ulrich Weigand uweigand@de.ibm.com
Thu Jul 2 12:59:00 GMT 2009


> this set of 7 patches implements per-type architecture.  The series applies
> on top of the various patches I posted earlier today.
> 
> After all patches are applied, every type in GDB's type system is either:
>  - an objfile-related type allocated on the objfile obstack
>    (these are indirectly associated with the objfile architecture)
> or
>  - an architecture-related type allocated on the heap
> 
> A new routine get_type_arch () will retrieve the associated architecure
> for each type.
> 
> The first five patches in this series remove the remaining global types
> and replace them by architecture-related types.
> 
> The sixth patch introduces new APIs to create per-gdbarch types and
> updates all users.
> 
> The last patch then uses the new get_type_arch call in various places
> to remove references to current_gdbarch.

I've checked those seven patches in now.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list