* Is there a configure time way of overriding the default architecture (instance)?
@ 2007-10-16 22:32 Anmol P. Paralkar
2007-10-16 22:36 ` David Daney
2007-10-16 23:50 ` Daniel Jacobowitz
0 siblings, 2 replies; 3+ messages in thread
From: Anmol P. Paralkar @ 2007-10-16 22:32 UTC (permalink / raw)
To: gdb
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?
Thanks,
Anmol.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there a configure time way of overriding the default architecture (instance)?
2007-10-16 22:32 Is there a configure time way of overriding the default architecture (instance)? Anmol P. Paralkar
@ 2007-10-16 22:36 ` David Daney
2007-10-16 23:50 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: David Daney @ 2007-10-16 22:36 UTC (permalink / raw)
To: Anmol P. Paralkar; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there a configure time way of overriding the default architecture (instance)?
2007-10-16 22:32 Is there a configure time way of overriding the default architecture (instance)? Anmol P. Paralkar
2007-10-16 22:36 ` David Daney
@ 2007-10-16 23:50 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-10-16 23:50 UTC (permalink / raw)
To: Anmol P. Paralkar; +Cc: gdb
On Tue, Oct 16, 2007 at 05:32:20PM -0500, Anmol P. Paralkar wrote:
> 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?
The right answer depends on why you want to do that. In most cases
GDB should autodetect it from some combination of the executable and
the native or remote target. For instance I just checked in patches
which improve automatic selection of e500.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-16 23:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-16 22:32 Is there a configure time way of overriding the default architecture (instance)? Anmol P. Paralkar
2007-10-16 22:36 ` David Daney
2007-10-16 23:50 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).