gdbarch script's purpose

Daniel Jacobowitz drow@false.org
Wed Mar 28 17:59:00 GMT 2007


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



More information about the Gdb mailing list