HF RL Explorer

Task: Print Null-Terminated Strings with Actual Newlines in GDB

Task: Print Null-Terminated Strings with Actual Newlines in GDB: a task in Terminal-Lego-15k (Harbor dataset). When debugging C programs with GDB, the default print command displays strings with escape sequences shown literally (e.g., \n instead of actual newlines). Your task is to use GDB to…

The task

When debugging C programs with GDB, the default `print` command displays strings with escape sequences shown literally (e.g., `\n` instead of actual newlines). Your task is to use GDB to print a string variable so that embedded newline characters are rendered as **actual newlines** in the output, and capture that…

Part of PrimeIntellect/Terminal-Lego-15k.