public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Building GDB on RedHat 7.1
@ 2001-08-31  6:37 Ormund Williams
  2001-08-31  6:48 ` Mark Salter
  2001-09-02 21:24 ` [ECOS] About GDB Prasad Kamath Nala
  0 siblings, 2 replies; 5+ messages in thread
From: Ormund Williams @ 2001-08-31  6:37 UTC (permalink / raw)
  To: ecos-discuss

Hi All

I'm having some torble building the arm tools on linux.  binutils and
gcc build without complaint but both gdb-5.0 and insight-5.0 fail with
the same error, copied bellow.

 . . .
 . . .
gcc -DPACKAGE=\"rdi-share\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
-DHAVE_STRTOD=1 -DHAVE_STRTOUL=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1  -I.
-I../../../gdb-5.0/gdb/rdi-share  -DRETRANS -DARM_RELEASE='"Berkeley
Licence for Cygnus"'    -g -O2 -c ../../../gdb-5.0/gdb/rdi-share/devsw.c
./../../gdb-5.0/gdb/rdi-share/devsw.c: In function `openLogFile':
./../../gdb-5.0/gdb/rdi-share/devsw.c:39: storage size of `lt' isn't
known
./../../gdb-5.0/gdb/rdi-share/devsw.c: In function `closeLogFile':
./../../gdb-5.0/gdb/rdi-share/devsw.c:69: storage size of `lt' isn't
known
make[2]: *** [devsw.o] Error 1
make[2]: Leaving directory `/usr/src/ecos-arm/gdb/build/gdb/rdi-share'
make[1]: *** [rdi-share/libangsd.a] Error 2
make[1]: Leaving directory `/usr/src/ecos-arm/gdb/build/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/usr/src/ecos-arm/gdb/build'

Any ideas what I'm doing wrong? I have this same setup built on another
box running Suse 7.1.

--
Ormund

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Building GDB on RedHat 7.1
  2001-08-31  6:37 [ECOS] Building GDB on RedHat 7.1 Ormund Williams
@ 2001-08-31  6:48 ` Mark Salter
  2001-08-31  8:47   ` Ormund Williams
  2001-09-02 21:24 ` [ECOS] About GDB Prasad Kamath Nala
  1 sibling, 1 reply; 5+ messages in thread
From: Mark Salter @ 2001-08-31  6:48 UTC (permalink / raw)
  To: owilliams; +Cc: ecos-discuss

>>>>> Ormund Williams writes:

> ./../../gdb-5.0/gdb/rdi-share/devsw.c:69: storage size of `lt' isn't
known
> make[2]: *** [devsw.o] Error 1
> make[2]: Leaving directory `/usr/src/ecos-arm/gdb/build/gdb/rdi-share'
> make[1]: *** [rdi-share/libangsd.a] Error 2
> make[1]: Leaving directory `/usr/src/ecos-arm/gdb/build/gdb'
> make: *** [all-gdb] Error 2
> make: Leaving directory `/usr/src/ecos-arm/gdb/build'

> Any ideas what I'm doing wrong? I have this same setup built on another
> box running Suse 7.1.

Add this to devsw.c:

#include <time.h>

--Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Building GDB on RedHat 7.1
  2001-08-31  6:48 ` Mark Salter
@ 2001-08-31  8:47   ` Ormund Williams
  0 siblings, 0 replies; 5+ messages in thread
From: Ormund Williams @ 2001-08-31  8:47 UTC (permalink / raw)
  To: ecos-discuss

On 2001.08.31 09:48 Mark Salter wrote:
> 
> Add this to devsw.c:
> 
> #include <time.h>
> 
> --Mark
> 
> 
It worked! Thanks Mark!  This solution also worked when building
minicom.

--
Ormund

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] About GDB
  2001-08-31  6:37 [ECOS] Building GDB on RedHat 7.1 Ormund Williams
  2001-08-31  6:48 ` Mark Salter
@ 2001-09-02 21:24 ` Prasad Kamath Nala
  2001-09-03 10:09   ` Bart Veer
  1 sibling, 1 reply; 5+ messages in thread
From: Prasad Kamath Nala @ 2001-09-02 21:24 UTC (permalink / raw)
  To: ecos-discuss

Hi,
    Does anybody help me with the documentation for the GDB.  I wanted to
how it works (with eCos).  I want to know the internals of GDB.  I could not
find a relevant document which does the same.  Any help would be appreciated

regards
Prasad Kamath

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] About GDB
  2001-09-02 21:24 ` [ECOS] About GDB Prasad Kamath Nala
@ 2001-09-03 10:09   ` Bart Veer
  0 siblings, 0 replies; 5+ messages in thread
From: Bart Veer @ 2001-09-03 10:09 UTC (permalink / raw)
  To: prasadk; +Cc: ecos-discuss

>>>>> "Prasad" == Prasad Kamath Nala <prasadk@cisco.com> writes:

    Prasad>     Does anybody help me with the documentation for the
    Prasad> GDB. I wanted to how it works (with eCos). I want to know
    Prasad> the internals of GDB. I could not find a relevant document
    Prasad> which does the same. Any help would be appreciated

The gdb sources come with some documentation. When you build the gdb
documentation you should end up with two sets of info pages, one for
using gdb and another called "The GNU debugger's internals". I have
not read the latter in any great detail, but it looks like there is a
section on the Target Vector Definition which describes the standard
protocol and remote stubs. RedBoot implements the target side of this
protocol, and that is generally what is used for debugging eCos
applications. 

For additional information, see http://sources.redhat.com/gdb/ and
the various gdb-related mailing lists hosted on sources.redhat.com.

Bart

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-03 10:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-31  6:37 [ECOS] Building GDB on RedHat 7.1 Ormund Williams
2001-08-31  6:48 ` Mark Salter
2001-08-31  8:47   ` Ormund Williams
2001-09-02 21:24 ` [ECOS] About GDB Prasad Kamath Nala
2001-09-03 10:09   ` Bart Veer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).