Skip to content

[Bug] SyntaxError: unterminated triple-quoted string literal #1099

@Ahmed-Zahran-AZ

Description

@Ahmed-Zahran-AZ

GEF+GDB version

GEF:2024.01 - Evergreen Response
GDB: 14.2

Operating System

Windows 10 64-bit msys2 mingw subsystem

Describe the issue you encountered

File "", line 11306
hook = f"""
^
SyntaxError: unterminated triple-quoted string literal (detected at line 11310)
C:/msys64/mingw64/bin/../etc/gdbinit:11379: Error in sourced command file:
Error while executing Python code.

Do you read the docs and look at previously closed issues/PRs for similar cases?

No

Architecture impacted

  • X86
  • X64
  • ARM
  • ARM64
  • MIPS
  • MIPS64
  • PPC
  • PPC64
  • RISCV

Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.

Just by running gdb. I get this syntax error from gdbinit

Minimalist test case

No response

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions