Your message dated Mon, 04 Aug 2025 13:00:51 -0400
with message-id <[email protected]>
and subject line Closing the bug
has caused the Debian Bug report #438912,
regarding gdb: unable to set breakpoint if path to source file contains 
parenthesis
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
438912: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438912
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdb
Version: 6.4.90.dfsg-1
Severity: normal

unable to set breakpoint if path to source file contains parenthesis.
I think that gdb is inproperly handles parenthesis in a file name.

al@gaa:/tmp/dirname(comment)/integration/v1.0-integration$ gdb
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
(gdb) file build/debug/bin/dis
Reading symbols from 
/tmp/dirname(comment)/integration/v1.0-integration/build/debug/bin/dis...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break /tmp/dirname(comment)/integration/v1.0-integration/gui/main.cpp:29
Function "/tmp/dirname(comment)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.3
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdb depends on:
ii  libc6                         2.6-2      GNU C Library: Shared libraries
ii  libncurses5                   5.6-3      Shared libraries for terminal hand
ii  libreadline5                  5.2-3      GNU readline and history libraries

gdb recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
I can't reproduce this on GDB 16.3:

--8<---------------cut here---------------start------------->8---
(gdb) break /root/aaa/test(paren)/1.c:3
Breakpoint 1 at 0x114d: file 1.c, line 5.
(gdb) r
Starting program: /root/aaa/test(paren)/a.out 

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main () at 1.c:5
5         printf("%d\n", errno);
(gdb) 
--8<---------------cut here---------------end--------------->8---

Closing the bug.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to