From a22a215fa848bb479bef5a1aa64ccabe3a4c8c69 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 14 May 2025 17:08:52 +0200 Subject: gdb: rename ldirname to gdb_ldirname It conflicts with the ldirname function that will be added in the next libiberty sync. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index 24cb511..7c3d0d1 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -2446,7 +2446,7 @@ py_initialize () /foo/lib/pythonX.Y/... This must be done before calling Py_Initialize. */ gdb::unique_xmalloc_ptr progname - (concat (ldirname (python_libdir.c_str ()).c_str (), SLASH_STRING, "bin", + (concat (gdb_ldirname (python_libdir.c_str ()).c_str (), SLASH_STRING, "bin", SLASH_STRING, "python", (char *) NULL)); { -- cgit v1.1