From: #Siegfried.Raber (Siegfried.Raber_at_kst.siemens.de)
Date: Thu Oct 08 1998 - 08:24:07 BST
Hello Ian, Rod and Dave
The permissions of /tmp are -rwxrwxrwx.
But the problem are not the permissions. The problem is the calling sequence
within the routine check_for_dynamic_libs.
If the while (xp->xp .....) is executed twice
the file /tmp/ups-bpts.nnn is unlinked during the first execution by the
statement elf_restore_symtab_breakpoints
|
+ .... calls restore_cached_pts
|
+ ... unlink ( ..... )
If the while loop is executed the second time the file /tmp/ups-bpts.nnn
is not further there so we can't restore the breakpoints via
read_config_file(...) and therefore we also get the reported error message.
regards
Siegfried Raber
> From ups-users-approval_at_ukc.ac.uk Wed Oct 7 19:59 MET 1998
> X-Priority: 3 (Normal)
> Content-Transfer-Encoding: 8bit
> Mime-Version: 1.0
> Date: Wed, 07 Oct 1998 14:27:06 +0100 (BST)
> From: Ian Edwards <ian_at_concerto.demon.co.uk>
> To: raber_at_wilma
> Subject: Re: Disappearing breakpoints
> Cc: ups-users_at_ukc.ac.uk
>
>
> Hello Callum/Siegfried,
>
> what are the permissions on /tmp and the /tmp/ups-bpts.nnn files ?
> >From your problems it sounds as if you do not have write/delete access.
>
> If you want to make UPS use a different directory the name is generated by
> the routine 'get_tmp_bpt_filename()' at the very end of ups/st_util.c,
> so you could edit that and rebuild.
>
> Really it should use $TMPDIR instead of /tmp.
>
> Regards,
> Ian.
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> E-mail: Ian Edwards <ian_at_concerto.demon.co.uk>
> Date: 07-Oct-98 Time: 14:27:03
>
> Early Music Record Labels - http://www.concerto.demon.co.uk/
> The 'ups' debugger for C/C++ - http://www.concerto.demon.co.uk/UPS/
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:32 GMT