This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [2/10] Remove &builtin_type_ from tdep code (amd64/s390/sparc64)


On Wed, Jun 13, 2007 at 03:17:09PM +0200, Ulrich Weigand wrote:
> Daniel Jacobowitz wrote:
> > On Wed, Jun 13, 2007 at 03:06:11PM +0200, Ulrich Weigand wrote:
> > > However, this macro is not fully equivalent; in particular it
> > > is no longer possible to use &builtin_type_double.
> > 
> > You keep saying this, but is it true? :-)
> 
> Well, you can take the address, but you won't get the gdbarch-swap
> effect any more.  So if you were relying on that, it'll break ...

Right.  Fortunately here we don't need the swap effect, since we have
the right gdbarch - but I'd forgotten about post_init.

-- 
Daniel Jacobowitz
CodeSourcery


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