Please help with GDB/PSIM and Redhat Linux
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Aug 1 20:36:15 UTC 2000
Hoang Ngo wrote:
>
> Yes, i recompiled and re-installed the two packages
> rtems-4.5.0-beta3a and rtems-packages-19991215.
>
> But i will remove all the packages and start afresh again.
I don't think that is necessary. I just wanted to know that
your change to dummy.c is really installed. The 2nd part
is critical... set a break at setenv/getenv and run the
application. I think you will find it is dereferencing NULL.
> Hoang
>
> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
> Sent: Tuesday, August 01, 2000 1:12 PM
> To: Hoang Ngo
> Cc: hoanghngo at home.com; rtems-users at OARcorp.com
> Subject: Re: Please help with GDB/PSIM and Redhat Linux
>
> Hoang Ngo wrote:
> >
> > I made the modification in dummy.c. Recompiled rtems-4.5.0-beta3a
> > and rtems-packages-19991215. I still got the same error message.
> >
> > I am somewhat confused on what we are trying to achieve here, so i
> > will re-iterate my problems here:
> >
> > 1. The ncurses examples works fine for GDB/PSIM under Slackware
> > but not on Redhat-6.2
> > 2. The examples that run under Slackware doesn't display the
> > correct result.
> >
> > Here is the content of dummy.c after i modified it:
> >
> > #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
> > #define CONFIGURE_MAXIMUM_TASKS 10
> > #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
> > #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
> > #define CONFIGURE_INIT
>
> Did you recompile and reinstall after makign the above change?
>
> The above is only 1/2 the problem. Eric Norum and I believe
> that TERM has to be set properly in the environment for the
> ncurses tests to work. psim's startup code does not do that.
>
> My suspicion is that you are seeing different manifestations
> of the same failure. Let's backup and see what the code
> is doing when it fails hard on RedHat. Once that is fixed,
> we can address the Slackware garbled output.
>
> --joel
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list