* gdbarch script's purpose
@ 2007-03-28 17:49 Luis Machado
2007-03-28 17:57 ` Joel Brobecker
2007-03-28 17:59 ` Daniel Jacobowitz
0 siblings, 2 replies; 4+ messages in thread
From: Luis Machado @ 2007-03-28 17:49 UTC (permalink / raw)
To: gdb
Hi folks,
What is exactly the purpose of the gdb/gdbarch.sh script and where in
the build process it's used?
Sorry if it's a basic question, but the internal documentation is not
very clear on what is its purpose.
Best Regards,
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gdbarch script's purpose
2007-03-28 17:49 gdbarch script's purpose Luis Machado
@ 2007-03-28 17:57 ` Joel Brobecker
2007-03-28 18:09 ` Luis Machado
2007-03-28 17:59 ` Daniel Jacobowitz
1 sibling, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2007-03-28 17:57 UTC (permalink / raw)
To: Luis Machado; +Cc: gdb
> What is exactly the purpose of the gdb/gdbarch.sh script and where in
> the build process it's used?
The purpose of this script is to generate the gdbarch.[hc] files.
Most of this file is very repetitive, so gdbarch.sh contains the
useful info, without any of the repetition, and then generates
the C files that we then compile.
This script is not invoked during the build, but only manually,
when the gdbarch vector is modified. In other words, when we modify
gdbarch.sh, we rerun it, and commit a new version of gdbarch.[ch].
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gdbarch script's purpose
2007-03-28 17:49 gdbarch script's purpose Luis Machado
2007-03-28 17:57 ` Joel Brobecker
@ 2007-03-28 17:59 ` Daniel Jacobowitz
1 sibling, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-03-28 17:59 UTC (permalink / raw)
To: Luis Machado; +Cc: gdb
On Wed, Mar 28, 2007 at 02:49:00PM -0300, Luis Machado wrote:
> Hi folks,
>
> What is exactly the purpose of the gdb/gdbarch.sh script and where in
> the build process it's used?
>
> Sorry if it's a basic question, but the internal documentation is not
> very clear on what is its purpose.
It generates gdbarch.c and gdbarch.h, which are very repetitive. It's
not used during the build process - they're regenerated manually as needed.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gdbarch script's purpose
2007-03-28 17:57 ` Joel Brobecker
@ 2007-03-28 18:09 ` Luis Machado
0 siblings, 0 replies; 4+ messages in thread
From: Luis Machado @ 2007-03-28 18:09 UTC (permalink / raw)
To: gdb
On Wed, 2007-03-28 at 10:58 -0700, Joel Brobecker wrote:
> > What is exactly the purpose of the gdb/gdbarch.sh script and where in
> > the build process it's used?
>
> The purpose of this script is to generate the gdbarch.[hc] files.
> Most of this file is very repetitive, so gdbarch.sh contains the
> useful info, without any of the repetition, and then generates
> the C files that we then compile.
>
> This script is not invoked during the build, but only manually,
> when the gdbarch vector is modified. In other words, when we modify
> gdbarch.sh, we rerun it, and commit a new version of gdbarch.[ch].
>
It's clear now. Thanks for the info Joel.
Regards,
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-28 18:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28 17:49 gdbarch script's purpose Luis Machado
2007-03-28 17:57 ` Joel Brobecker
2007-03-28 18:09 ` Luis Machado
2007-03-28 17:59 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox