Please help with GDB/PSIM and Redhat Linux
hngo at caspiannetworks.com
Tue Aug 1 20:22:40 UTC 2000
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.
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.
More information about the users