This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Testsuite patches...
Scott Bambrough wrote:
>
> Fernando Nasser wrote:
> >
> > > 2000-07-26 Scott Bambrough <scottb@netwinder.org>
> > > * gdb.base/environ.exp: Run tests for all targets.
> > >
> > > 2000-07-26 Scott Bambrough <scottb@netwinder.org>
> > >
> > > * linux-thread.c (linux_threads_pid_to_str): Change "Pid" to
> > > "process" to allow gdb.base/environ.exp to pass all tests.
> > > Change capitalization on "Thread" for consistency.
> > >
> > I forwarded the above change to the maintainers requesting their approval.
>
> These two need to go hand in hand, otherwise we get failures in environ.exp. I
> sent a response to Michael Snyder's comments about this to him yesterday. I
> just realized it didn't go to the list; so I forwarded it to the list as well.
> I will wait to check these in until I hear about the change in linux-thread.c.
> I'm also been thinking that maybe I shouldn't enable this for all targets, the
> show/set/unset environment commands may fail on embedded targets. They should
> work fine on any target that has an environment. The info program tests should
> work on all targets. Maybe this test should be split up? Comments?
>
Good point. You can activate it just for native targets.
if [is_remote target]
skip the tests.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299