Closed duncan-roe closed 1 year ago
Hi Rocky,
I missed this before, it cropped up during a demo last night. Reproducer is in the git log in case anyone wants to figure out where the filename and line number get lost.
Cheers ... Duncan.
LGTM - thanks.
commit acfaa6f9 prevented subtracting 1 from unsigned zero floc.lineno after --debugger-stop=load had set b_debugger_goal. But --debugger-stop=full obeys that code as well, so simply test floc.lineno to be nonzero before subtracting. This doesn't affect autotools Makefiles but this generic Makefile displays it:
Place this in a directory by itself with any random "hello world" program, remake --debugger-stop=full and step through.