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]

FW: Error running remote gdb


 Hi Michael,
I have attached the config.cache.emb which we have defined most of the
configure macros.

Many thanks in advance,
Bizhan

-----Original Message-----
From: Bizhan Gholikhamseh (bgholikh) 
Sent: Thursday, September 07, 2006 6:18 PM
To: 'Michael Snyder'
Cc: gdb@sourceware.org
Subject: RE: Error running remote gdb

>This is incorrect behavior on gdb's part.  I don't readily know how to
explain it.  Let's see... here's your >configuration:

>This GDB was configured as "--host=i686-pc-linux-gnu
--target=powerpc-linux-gnuspe"...
Here is how we build the gdb in our environment:
First we edit the config.cache.emb file with the following statement:
ac_cv_header_sys_reg_h=${ac_cv_header_sys_reg_h=no}
ac_cv_lib_ncurses_tgetent=${ac_cv_lib_ncurses_tgetent=yes}
srv_cv_thread_db=${srv_cv_thread_db="-lthread_db"}

Second we run the configure command as below:
sh configure --prefix=/usr --cache-file=config.cache.emb
--target=powerpc-linux-gnuspe --disable-sim cd gdb/gdbserver sh
configure --prefix=/usr --cache-file=../../config.cache.emb
--host=powerpc-linux-gnuspe --target=powerpc-linux-gnuspe

>By the way, what does "powerpc-linux-gnuspe"... mean?
Our platform is based on MPC8541 powerpc processor from freescale. All
of our toolchain have The "powerpc-linux-gnuspe" prefix for example the
C compiler is:
Powerpc-linux-gnuspe-gcc

Many thanks in advance,
Bizhan

Attachment: config.cache.emb
Description: config.cache.emb


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