Debian Bug report logs - #438912
gdb: unable to set breakpoint if path to source file contains parenthesis

version graph

Package: gdb; Maintainer for gdb is Héctor Orón Martínez <[email protected]>; Source for gdb is src:gdb (PTS, buildd, popcon).

Reported by: Alexander Galanin <[email protected]>

Date: Mon, 20 Aug 2007 17:45:01 UTC

Severity: normal

Found in version gdb/6.4.90.dfsg-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Daniel Jacobowitz <[email protected]>:
Bug#438912; Package gdb. (full text, mbox, link).


Acknowledgement sent to Alexander Galanin <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Daniel Jacobowitz <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Alexander Galanin <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: gdb: unable to set breakpoint if path to source file contains parenthesis
Date: Mon, 20 Aug 2007 21:42:47 +0400
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



Information forwarded to [email protected], Daniel Jacobowitz <[email protected]>:
Bug#438912; Package gdb. (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Daniel Jacobowitz <[email protected]>
To: Alexander Galanin <[email protected]>, [email protected]
Subject: Re: Bug#438912: gdb: unable to set breakpoint if path to source file contains parenthesis
Date: Mon, 20 Aug 2007 14:03:41 -0400
On Mon, Aug 20, 2007 at 09:42:47PM +0400, Alexander Galanin wrote:
> unable to set breakpoint if path to source file contains parenthesis.
> I think that gdb is inproperly handles parenthesis in a file name.

Please try single or double quotes around the filename.

-- 
Daniel Jacobowitz
CodeSourcery



Information forwarded to [email protected], Daniel Jacobowitz <[email protected]>:
Bug#438912; Package gdb. (full text, mbox, link).


Acknowledgement sent to Alexander Galanin <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <[email protected]>. (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Alexander Galanin <[email protected]>
To: Daniel Jacobowitz <[email protected]>
Cc: [email protected]
Subject: Re: Bug#438912: gdb: unable to set breakpoint if path to source file contains parenthesis
Date: Wed, 22 Aug 2007 19:43:53 +0400
В сообщении от 20 августа 2007 22:03 Daniel Jacobowitz написал(a):
> On Mon, Aug 20, 2007 at 09:42:47PM +0400, Alexander Galanin wrote:
> > unable to set breakpoint if path to source file contains parenthesis.
> > I think that gdb is inproperly handles parenthesis in a file name.
>
> Please try single or double quotes around the filename.
All shell-like quotings and escapings does not work:

al@gaa:/tmp/name(comment)$ 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/name(comment)/build/debug/bin/dis...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break /tmp/name(comment)/gui/main.cpp:29
Function "/tmp/name(comment)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break '/tmp/name(comment)/gui/main.cpp':29
Function "/tmp/name(comment)/gui/main.cpp" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break '/tmp/name(comment)/gui/main.cpp:29'
Function "/tmp/name(comment)/gui/main.cpp:29" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break "/tmp/name(comment)/gui/main.cpp":29
Function "/tmp/name(comment)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break "/tmp/name(comment)/gui/main.cpp:29"
Function "/tmp/name(comment)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break /tmp/name\(comment\)/gui/main.cpp:29
Function "/tmp/name\(comment\)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n

-- 
Alexander Galanin



Information forwarded to [email protected], Daniel Jacobowitz <[email protected]>:
Bug#438912; Package gdb. (full text, mbox, link).


Acknowledgement sent to Alexander Galanin <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <[email protected]>. (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Alexander Galanin <[email protected]>
To: [email protected]
Subject: any news?
Date: Thu, 15 Nov 2007 04:21:50 +0300
any news?
-- 
Alexander Galanin




Information forwarded to [email protected], Daniel Jacobowitz <[email protected]>:
Bug#438912; Package gdb. (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <[email protected]>. (full text, mbox, link).


Message #25 received at [email protected] (full text, mbox, reply):

From: Daniel Jacobowitz <[email protected]>
To: Alexander Galanin <[email protected]>, [email protected]
Subject: Re: Bug#438912: any news?
Date: Wed, 14 Nov 2007 22:54:10 -0500
On Thu, Nov 15, 2007 at 04:21:50AM +0300, Alexander Galanin wrote:
> any news?

I haven't had time to look at it since, sorry.

-- 
Daniel Jacobowitz
CodeSourcery




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:33:14 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.