Make display_gdb_prompt CLI-only.