Re: [PATCH v5] Fix crash in AIX when current working directory is NULL
Ulrich Weigand <[email protected]> Tue, 28 Jul 2026 10:09:28 +0000
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
Aditya Kamath <[email protected]> wrote: >>require isnative >>require ![is_remote target] >>require {istarget *-*-aix*} > >>The last line may be too strict if we also want to test on Linux >>or other Unix hosts; but we need to ensure the host is at least >>Unixy enough to support fork. Maybe something like > >require allow_fork_tests > > >Thanks for this idea. Yes, I have implemented the same in v6 of this >patch. Just to be clear: if you already require linux or aix targets (as v6 does), then there is no need to *also* require allow_fork_tests - this will always be true on those platforms. >But I am still thinking about Tom’s concern about GDB cross platform >for this test. The point of those "require" statement is exactly that the test will simply not be run in any GDB cross-platform environment, only with native tests. That should address this concern? Bye, Ulrich