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: [SH] regs command


> This means you registered "regs" before the thing it aliases was
> registered.  This can happen because _initialize_xxx order is not
> defined.
> 
> There's no easy fix :(.  You could move "regs" initialization to a
> better spot but then it will be visible in all builds of gdb, not just
> those with this target compiled in.

It seems better in that case to just go with what Thomas had initially,
maybe just adding a comment why we don't use an alias?  It's only for
a few weeks...

-- 
Joel


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