Re: RFA gdb/utils.c (gdb_realpath) fallback patch for sco3.2v5

Andrew Cagney
2002-02-20T15:46:26Z

> This permits the 0211 snapshot to link & break in main on
> i586-pc-sco3.2v5.0.2 (debugging itself).
> Possibly this should be done with the configury and set a PATH_MAX
> value in config.h using
>
> $ getconf PATH_MAX /
> 1024

Jason Thorp pointed out similar issues with the code.

We can't define PATH_MAX since that would polute the system name space
(cf the true/false problem). However, a namespace proof GDB_PATH_MAX
might just do the trick. Getting it via configury could be tricky
though - it needs to be a compile time, rather than runtime, test.

Hmm, perhaphs autoconf has already solved this problem?

Anyway, yes ok to the change.

Andrew