ncurses replacing ptx issues
Wolcott, Ken (MED, Compuware)
Ken.Wolcott@med.ge.com
Wed Oct 29 23:26:00 GMT 2003
Hi Dan;
Determining the order of the ncurses patches is proving difficult :-( Would
be nice if it were like multiple rpm pkgs being supplied to rpm -Uvh...rpm
figures out which one has to go first...
Yes, will look carefully at the gdb configure script...
Yes, the coredump is from a multi-threaded arm9 app. The developer claims
that an i686 multi-threaded app coredump can be viewed just fine using gdb
5.x. He doesn't need (yet) to have live multi-threaded gdb debugging
ability, just the ability to look at the coredump.
Thanks,
Ken
On Wednesday 29 October 2003 17:32, Dan Kegel wrote:
> gdb just expects termcap / ncurses to be available in
> "the usual place", i.e. it expects linking with -lncurses to work;
> this usually means the .so files end up in the target/lib directory.
> Also, the ncurses library has hardcoded into it the location
> at which the termcap files need to be at runtime.
>
> If that doesn't answer the question, then procede to
> understanding and debugging the gdb configure script as I described
> earlier.
>
> By the way, I hope that core dump you're trying to read wasn't
> from a multithreaded program. Last I checked, multithreaded
> core dumps still didn't work in Linux.
> - Dan
>
> Wolcott, Ken (MED, Compuware) wrote:
> > Hi Dan;
> >
> > Thank you. I'll report my progress. Where does gdb expect termcap to
> > be?
> >
> > Ken
> >
> > On Wednesday 29 October 2003 16:45, Dan Kegel wrote:
> >>Wolcott, Ken (MED, Compuware) wrote:
> >>> So does ncurses provide all that gdb needs? In that case I no longer
> >>>need to build crosstool with --builduserland?
> >>
> >>I only suggested using crosstool's --builduserland as
> >>an 'easy' way to build ncurses, since it happened to do it.
> >>
> >>Newer ptxdist versions actually compile gdb for you, too.
> >>If you get stuck doing it by hand, you might give
> >>the latest cvs of ptxdist-testing a shot, and have it build
> >>gdb. Don't bother with crosstool's ptxdist in that case
> >>(unless I happen to do a new release of crosstool with
> >>an up-to-date ptxdist by the time you try it).
> >>
> >>> There seems to be a significant variance between what currently exists
> >>>on invisible-island.net ftp server regarding ncurses patches than your
> >>>script assumes, so I'm editing it to match those up. I assume I will
> >>>need all patches at the same or later timestamp that you downloaded?
> >>
> >>I suspect the current monthly invisible-island.net patch should be
> >> fine...
> >>
> >>> Hope a get a working arm9 gdb soon, or I'm going to be in host water
> >>>
> >>>:-(
> >>>
> >>> I really appreciate your tips and patience with me...
> >>
> >>Good luck!
> >>
> >>- Da
> >
> > n
>
> ------
> Want more information? See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sources.redhat.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list