bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configuring for a trget.


From: kumar reddy
Subject: configuring for a trget.
Date: Mon, 26 Feb 2007 13:38:03 -0000

Hello  All,

We did GDB portable for PXE target from the source gdb-5.2.1.

Now we want to do the following two exercises.

 

1. Configure pxe_gdb-5.2.1 for native

2. Configure pxe_gdb-5.2.1 for pxe - gdb-pxe.spec

 

For doing Configure pxe_gdb-5.2.1 for native

I did the following way.

cd pxe_gdb-5.2.1

./configure

make -----à>but when I did make it is giving the following erroes:

 

win32-nat.c:2076: error: structure has no member named `_raw_size'

win32-nat.c:2082: error: structure has no member named `_raw_size'

win32-nat.c:2089: error: structure has no member named `_raw_size'

make[1]: *** [win32-nat.o] Error 1

make[1]: Leaving directory `/cygdrive/d/GDB/native/gdb-5.2.1/gdb'

make: *** [all-gdb] Error 2

 

make install

 

 

For doing Configure pxe_gdb-5.2.1 for pxe - gdb-pxe.spec

I did the following way.

cd pxe_gdb-5.2.1

cd build

../pxe_gdb-5.2.1/configure  --prefix=/cygdrive/d/pxe_gdb-5.2.1/binaries   --target=pxe-elf

make

make install

 

Here while building it is not giving any errors.

But when doing for debug

$pxe-elf-gdb a.out

(gdb) target sim

(gdb) load a.out …….>>

            But we do for this step

$ pxe-elf-gdb.exe a.out

PXE08 architecture detected

GNU gdb 5.2.1

Copyright 2002 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "--host=i686-pc-cygwin --target=pxe-elf"..."/cygdrive

/d/GDB/pxe/gdb-5.2.1/Binaries/bin/a.out": not in executable format: File truncat

ed

(gdb) b main

(gdb) run

 

So that is the problem I had….please help me some one.

 

Thank you,

 

Regards,

Kumar.

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]