Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Bizhan Gholikhamseh \(bgholikh\)" <bgholikh@cisco.com>
To: "Michael Snyder" <Michael.Snyder@palmsource.com>
Cc: <gdb@sourceware.org>
Subject: FW: Error running remote gdb
Date: Fri, 08 Sep 2006 01:30:00 -0000	[thread overview]
Message-ID: <F795765B112E7344AF36AA911279641502D19B98@xmb-sjc-212.amer.cisco.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

 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 #2: config.cache.emb --]
[-- Type: application/octet-stream, Size: 5318 bytes --]

# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

ac_cv_build=${ac_cv_build=i686-pc-linux-gnu}
ac_cv_build_alias=${ac_cv_build_alias=i686-pc-linux-gnu}
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=yes}
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=powerpc-linux-gnuspe
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=powerpc-linux-gnuspe
ac_cv_exeext=${ac_cv_exeext=}
ac_cv_have_decl_strerror=${ac_cv_have_decl_strerror=yes}
ac_cv_header_inttypes_h=${ac_cv_header_inttypes_h=yes}
ac_cv_header_linux_elf_h=${ac_cv_header_linux_elf_h=yes}
ac_cv_header_memory_h=${ac_cv_header_memory_h=yes}
ac_cv_header_proc_service_h=${ac_cv_header_proc_service_h=no}
ac_cv_header_sgtty_h=${ac_cv_header_sgtty_h=yes}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_header_stdint_h=${ac_cv_header_stdint_h=yes}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_sys_procfs_h=${ac_cv_header_sys_procfs_h=yes}
ac_cv_header_sys_reg_h=${ac_cv_header_sys_reg_h=no}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h=yes}
ac_cv_header_sys_types_h=${ac_cv_header_sys_types_h=yes}
ac_cv_header_termio_h=${ac_cv_header_termio_h=yes}
ac_cv_header_termios_h=${ac_cv_header_termios_h=yes}
ac_cv_header_thread_db_h=${ac_cv_header_thread_db_h=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_host=${ac_cv_host=powerpc-unknown-linux-gnuspe}
ac_cv_host_alias=${ac_cv_host_alias=powerpc-linux-gnuspe}
ac_cv_lib_ncurses_tgetent=${ac_cv_lib_ncurses_tgetent=yes}
ac_cv_objext=${ac_cv_objext=o}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_prog_AR=${ac_cv_prog_AR=ar}
ac_cv_prog_AR_FOR_TARGET=${ac_cv_prog_AR_FOR_TARGET=powerpc-linux-gnuspe-ar}
ac_cv_prog_AS=${ac_cv_prog_AS=as}
ac_cv_prog_AS_FOR_TARGET=${ac_cv_prog_AS_FOR_TARGET=powerpc-linux-gnuspe-as}
ac_cv_prog_BISON=${ac_cv_prog_BISON=bison}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CC_FOR_TARGET=${ac_cv_prog_CC_FOR_TARGET=powerpc-linux-gnuspe-gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_CXX_FOR_TARGET=${ac_cv_prog_CXX_FOR_TARGET=powerpc-linux-gnuspe-c++}
ac_cv_prog_FLEX=${ac_cv_prog_FLEX=flex}
ac_cv_prog_GCC_FOR_TARGET=${ac_cv_prog_GCC_FOR_TARGET=powerpc-linux-gnuspe-gcc}
ac_cv_prog_LD=${ac_cv_prog_LD=/opt/Embedix/tools/native-linux/i686-linux/bin/ld}
ac_cv_prog_LD_FOR_TARGET=${ac_cv_prog_LD_FOR_TARGET=powerpc-linux-gnuspe-ld}
ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
ac_cv_prog_M4=${ac_cv_prog_M4=m4}
ac_cv_prog_MAKEINFO=${ac_cv_prog_MAKEINFO=makeinfo}
ac_cv_prog_NM=${ac_cv_prog_NM=nm}
ac_cv_prog_NM_FOR_TARGET=${ac_cv_prog_NM_FOR_TARGET=powerpc-linux-gnuspe-nm}
ac_cv_prog_OBJCOPY=${ac_cv_prog_OBJCOPY=objcopy}
ac_cv_prog_OBJDUMP=${ac_cv_prog_OBJDUMP=objdump}
ac_cv_prog_OBJDUMP_FOR_TARGET=${ac_cv_prog_OBJDUMP_FOR_TARGET=powerpc-linux-gnuspe-objdump}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
ac_cv_prog_RANLIB_FOR_TARGET=${ac_cv_prog_RANLIB_FOR_TARGET=powerpc-linux-gnuspe-ranlib}
ac_cv_prog_STRIP=${ac_cv_prog_STRIP=strip}
ac_cv_prog_STRIP_FOR_TARGET=${ac_cv_prog_STRIP_FOR_TARGET=powerpc-linux-gnuspe-strip}
ac_cv_prog_YACC=${ac_cv_prog_YACC='bison -y'}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_stdc=${ac_cv_prog_cc_stdc=}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_egrep=${ac_cv_prog_egrep='grep -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_target=${ac_cv_target=powerpc-unknown-linux-gnuspe}
ac_cv_target_alias=${ac_cv_target_alias=powerpc-linux-gnuspe}
ac_cv_type_socklen_t=${ac_cv_type_socklen_t=yes}
acx_cv_cc_gcc_supports_ada=${acx_cv_cc_gcc_supports_ada=no}
acx_cv_prog_LN=${acx_cv_prog_LN=ln}
bfd_cv_have_sys_procfs_type_elf_fpregset_t=${bfd_cv_have_sys_procfs_type_elf_fpregset_t=yes}
bfd_cv_have_sys_procfs_type_lwpid_t=${bfd_cv_have_sys_procfs_type_lwpid_t=yes}
bfd_cv_have_sys_procfs_type_prgregset_t=${bfd_cv_have_sys_procfs_type_prgregset_t=yes}
bfd_cv_have_sys_procfs_type_psaddr_t=${bfd_cv_have_sys_procfs_type_psaddr_t=yes}
gcc_cv_prog_cmp_skip=${gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'}
gcc_cv_tool_dirs=${gcc_cv_tool_dirs=}
gcc_cv_tool_prefix=${gcc_cv_tool_prefix=/usr}
gdbsrv_cv_have_ptrace_getfpxregs=${gdbsrv_cv_have_ptrace_getfpxregs=yes}
gdbsrv_cv_have_ptrace_getregs=${gdbsrv_cv_have_ptrace_getregs=yes}
gdbsrv_cv_have_td_version=${gdbsrv_cv_have_td_version=yes}
srv_cv_thread_db=${srv_cv_thread_db=-lthread_db}

             reply	other threads:[~2006-09-08  1:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  1:30 Bizhan Gholikhamseh (bgholikh) [this message]
2006-09-08  1:53 ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F795765B112E7344AF36AA911279641502D19B98@xmb-sjc-212.amer.cisco.com \
    --to=bgholikh@cisco.com \
    --cc=Michael.Snyder@palmsource.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox