FW: Error running remote gdb
Bizhan Gholikhamseh (bgholikh)
bgholikh@cisco.com
Fri Sep 8 01:30:00 GMT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cache.emb
Type: application/octet-stream
Size: 5318 bytes
Desc: config.cache.emb
URL: <http://sourceware.org/pipermail/gdb/attachments/20060908/bd3fee9c/attachment.obj>
More information about the Gdb
mailing list