This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Error running remote gdb
- From: "Bizhan Gholikhamseh \(bgholikh\)" <bgholikh at cisco dot com>
- To: "Michael Snyder" <Michael dot Snyder at palmsource dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 7 Sep 2006 18:17:40 -0700
- Subject: RE: Error running remote gdb
- Authentication-results: sj-dkim-7.cisco.com; header.From=bgholikh@cisco.com; dkim=pass ( sig from cisco.com verified; );
- Dkim-signature: a=rsa-sha1; q=dns; l=1109; t=1157678264; x=1158542264; c=relaxed/simple; s=sjdkim7002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=bgholikh@cisco.com; z=From:=22Bizhan=20Gholikhamseh=20\(bgholikh\)=22=20<bgholikh@cisco.com> |Subject:RE=3A=20Error=20running=20remote=20gdb; X=v=3Dcisco.com=3B=20h=3DKDShG9kN8ewZ22xReDnIcKscsuw=3D; b=Tshn6pgqGwMZTn/3E5naAPdb4NKnypixAHOsqeLsNT7w7E+TMncwchFis6KIev/4w5N87OB+ QYO/lUmhiKsbwNFE5FL4GoKV4ziz2P88EDQM89rtJIT67whsuiURjYt6;
>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