[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] gdb built by ltib
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] gdb built by ltib |
Date: |
Wed, 17 Oct 2007 08:42:14 +0100 |
Hi Henry,
When you build gdb in LTIB, there are 3 selections you can make:
[*] gdb
[*] gdb to run natively on the target
[*] cross gdb (runs on build machine)
[*] gdbserver to run natively on the target
The <top>/bin/gdb is the 'cross gdb' this is normally used in
conjunction with 'gdbserver'. The idea of it is that some platforms
don't have enough resource (storage space and|or memory) to support a
full gdb on the target, so in this case you use the lightweight
gdbserver on the target and connect to it with a 'cross gdb' run on the
build machine.
The <top>/rootfs/usr/bin/gdb is full gdb that can run on the target
without support from the host.
Regards, Stuart
On Tue, 2007-10-16 at 12:18 -0700, hong zhang wrote:
> List,
>
> I am using freescale version ltib. After turn on gdb
> and build/install. I find gdb sits in
> top_level_of_ltib/bin instead
> top_level_of_ltib/rootfs/bin. "file gdb" returns for
> 80386 not for ARM. If it is not for ARM why need ltib
> to build?
>
> ---henry