bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugger command 'eval'


From: arnold
Subject: Re: debugger command 'eval'
Date: Fri, 16 Sep 2022 02:45:10 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hello.

Thanks for the report. The attached patch fixes the issue. When a fatal
error occurs, the debugger simply restarts.

I will push the change to Git shortly.

Thanks,

Arnold

Pascal Maugis <pascal.maugis@lsce.ipsl.fr> wrote:

> Hi, dear gawk maintainers,
>
> I extensively use gawk for my research and am sincerely grateful for the 
> great program you make us available here. These past years, I have been 
> enduring a bug in Debugger mode accross various versions of gawk.
>
> Current versions are :
>
> GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.1, GNU MP 6.1.2) : installed by 
> the networt administrator under CentOS Linux 7 (Core)
> GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0) : downloaded with 
> app-get under Ubuntu 20.04.5 LTS
>
> Program :
>
>     touch a.awk
>
>     gawk -D -f ./a.awk
>
>     eval "a()"
>
>     eval "print 1"
>
> 1) launch "gawk -D" on any file
>
> 2) induce whatever error with the eval command : gawk: ligne de 
> commande:1: fatal??: function `a' not defined
>
> 3) the command 'eval' is then corrupted : gawk: ligne de commande:1: 
> error: nom de fonction ????@eval???? d??j?? d??fini
>
> I 'hope' this happens also on your system, and thank you in advance for 
> solving that issue.
>
> Cheers,
>
> Pascal.
>
>
> -- 
> ------------------------------------------------------------------------
>
> *Pascal MAUGIS*
> Mod??lisation hydrologique et changement climatique, PhD
>
> LSCE
>
> Laboratoire des Sciences du Climat et de l'Environnement 
> <http://www.lsce.ipsl.fr/>
>
> Unit?? Mixte de Recherche CEA-CNRS-UVSQ (UMR 8212), IPSL, Paris-Saclay
> Equipe MOSAIC : MOdelisation des SurfAces et Interfaces Continentales
> B??t. 714, pi??ce 2115
> C.E. Saclay, Orme des Merisiers, 91191 Gif-sur-Yvette Cedex, FRANCE
>
> e-mail : pascal.maugis@lsce.ipsl.fr
> Page perso : FR <http://www.lsce.ipsl.fr/Pisp/pascal.maugis/> - EN 
> <http://www.lsce.ipsl.fr/en/Phocea/Pisp/index.php?nom=pascal.maugis>
> Tel./Fax : +33 1 69 08 75 24 / +33 1 69 08 77 16
>
> ------------------------------------------------------------------------

Attachment: D1
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]