aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2025-05-14 17:08:52 +0200
committerAndreas Schwab <schwab@suse.de>2025-05-15 10:20:53 +0200
commita22a215fa848bb479bef5a1aa64ccabe3a4c8c69 (patch)
tree64f605c9c2fd695f413683046c7275264bb805cb /gdb/python
parentd1851edfe9d2469330568c289adb81ee7b128bfe (diff)
downloadgdb-a22a215fa848bb479bef5a1aa64ccabe3a4c8c69.zip
gdb-a22a215fa848bb479bef5a1aa64ccabe3a4c8c69.tar.gz
gdb-a22a215fa848bb479bef5a1aa64ccabe3a4c8c69.tar.bz2
gdb: rename ldirname to gdb_ldirname
It conflicts with the ldirname function that will be added in the next libiberty sync.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
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<char> 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));
{