How to include gdb in x86 target image

Hi,
I am trying to build a target image for x86 platform which should
include gdb.

The system is not booting up with my current build image whose buildfile
is as follows:

[virtual=x86,bios +compress] boot = {
startup-bios -N node428
PATH=/proc/boot:./ procnto
}

[+script] startup-script = {
devc-con -e &
reopen
devc-pty &
[+session] pdebug &
reopen /dev/con1
[+session] esh
}

[type=link] /usr/lib/ldqnx.so.1=/proc/boot/libc.so
[type=link] /lib=/x86/lib
[type=link] /tmp=/dev/shmem
[type=link] /dev/console=/dev/ser1

[perms=+r,+x]

libc.so
devn-ne2000.so
fpemu.so
gdbio.so

hello
devc-con
devc-pty
pdebug
gdb
esh
ls

Pl tell me what are the changes I need to make to my buildfile

The image is probably to big ( limit is ~600k). There is not solution to
this aside
have another storage device (Flash) and load gdb from there.


“Phani Ram” <rphani@in.ibm.com> wrote in message
news:39C863C7.A50A306A@in.ibm.com

Hi,
I am trying to build a target image for x86 platform which should
include gdb.

The system is not booting up with my current build image whose buildfile
is as follows:

[virtual=x86,bios +compress] boot = {
startup-bios -N node428
PATH=/proc/boot:./ procnto
}

[+script] startup-script = {
devc-con -e &
reopen
devc-pty &
[+session] pdebug &
reopen /dev/con1
[+session] esh
}

[type=link] /usr/lib/ldqnx.so.1=/proc/boot/libc.so
[type=link] /lib=/x86/lib
[type=link] /tmp=/dev/shmem
[type=link] /dev/console=/dev/ser1

[perms=+r,+x]

libc.so
devn-ne2000.so
fpemu.so
gdbio.so

hello
devc-con
devc-pty
pdebug
gdb
esh
ls

Pl tell me what are the changes I need to make to my buildfile