If forgot to mention.  You will need to apply the patch, go into the gdb
directory and run autoconf.  You will need autoconf 2.13.  If this isn't
feasible, let me know and I will send you a patch for configure as well.

Scott


Scott Bambrough wrote:
> 
> Philip Blundell wrote:
> >
> > >Come on, guys. I've been struggling with gdbserver and the
> > >header files just aren't there  (like stdio) and when I try to
> > >include the standard include paths, I get really lost in
> > >the spagetti header files. I did a 'find' on termios.h
> > >on /usr and come up with 25 (count 'em, 25) different
> > >termios.h files and they're not the same.
> >
> > You need to give more information, like:
> >
> >  - what options you used when configuring and building gdb(/gdbserver)
> >  - what target build environment you have set up
> >
> > Files like stdio.h aren't supposed to be provided by GDB.  They should be
> > obtained from the standard places and this should happen automatically.
> 
> Phil is right you need to supply more information.  What is the host and target
> for starters.  What source are you using?  Snapshot, CVS, release tarball?  The
> second thing you need to know is there is no support for ARM Linux currently in
> the gdbserver tree.  I removed it before gdb 5.0 shipped, because it hadn't been
> tested.
> 
> I can't reproduce your problems.  I have both the gdb and insight trees checked
> out and can build them without a hitch on native x86, native ARM Linux
> (NetWinder).  The only problem I had was the fact the gdbserver directory
> doesn't configure automatically, and the missing support on ARM Linux.  I have
> attached a patch based on some of Phil's work he supplied to me quite a while
> ago.  This allows gdbserver to configure automatically and built natively on ARM
> Linux and x86 (i686 target).
> 
> Scott
> 
> --
> Scott Bambrough - Software Engineer
> REBEL.COM    http://www.rebel.com
> NetWinder    http://www.netwinder.org
> 
>   --------------------------------------------------------------------------------
>                       Name: gdbserver.patch
>    gdbserver.patch    Type: PATCH File 
>(application/x-unknown-content-type-patch_auto_file)
>                   Encoding: base64

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

Reply via email to