This is the mail archive of the gdb@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: Is there a configure time way of overriding the default architecture (instance)?


Anmol P. Paralkar wrote:

Hello,


 Is it possible (via specification at configure time)
 to make GDB "set architecture" to an architecture
 instance of one's choice without actually having do a:
 "set architecture <architecture-instance>" /after/ GDB
 has been invoked?

 e.g. GDB (6.6.50) configured with target
 --target=powerpc-unknown-linux-gnu will default to
 rs6000:6000. Is there a configure time way of
 specification so that in the built GDB, the
 architecture would be set to (say) powerpc:e500
 automatically, when invoked?


I don't know about a configure time option that would do that, but you could add the 'set architecture...' to your .gdbinit file so that you don't have to manually type it each time you start.


David Daney


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