From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8747 invoked by alias); 4 Aug 2014 04:51:41 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 8722 invoked by uid 48); 4 Aug 2014 04:51:40 -0000 From: "limkokhole at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/17228] New: breakpoint will fail when directory names containing comma character Date: Mon, 04 Aug 2014 04:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: limkokhole at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00211.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17228 Bug ID: 17228 Summary: breakpoint will fail when directory names containing comma character Product: gdb Version: 7.6 Status: NEW Severity: minor Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: limkokhole at gmail dot com The breakpoint will raise "Error in re-setting breakpoint 1: Function "/home/ack0hole/" not defined." exception if parent or current directory na= me containing comma character. Similar issue has been asked on Stack Overflow, http://stackoverflow.com/questions/12520185/adding-breakpoints-to-gdb-in-fi= les-with-comma-in-path Environment: GDB version: GNU gdb (GDB) Fedora 7.6.1-46.fc19 OS version: Fedora release 19 (Schr=C3=B6dinger=E2=80=99s Cat) uname -a: Linux localhost.localdomain 3.14.8-100.fc19.i686.PAE #1 SMP Mon J= un 16 22:06:57 UTC 2014 i686 i686 i386 GNU/Linux Following is the terminal log (/home/ack0hole is my home directory name): [ack0hole@localhost test]$ cc -c io_eof.c [ack0hole@localhost test]$ gdb ./a.out=20 GNU gdb (GDB) Fedora 7.6.1-46.fc19 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/ack0hole/,/test/a.out...done. (gdb) l 1 #include 2 main() 3 { 4 int c; 5 c =3D getchar(); 6 putchar(c);=20=20=20=20 7 } (gdb)=20 Line number 8 out of range; io_eof.c has 7 lines. (gdb) b 4 Breakpoint 1 at 0x8048469: file io_eof.c, line 4. (gdb) r Starting program: /home/ack0hole/,/test/./a.out=20 Error in re-setting breakpoint 1: Function "/home/ack0hole/" not defined. [Inferior 1 (process 4955) exited with code 012] (gdb) i b Num Type Disp Enb Address What 1 breakpoint keep n /home/ack0hole/,/test/io_eof.c:4 (gdb) --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-16223-listarch-gdb-prs=sources.redhat.com@sourceware.org Mon Aug 04 05:17:14 2014 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 22180 invoked by alias); 4 Aug 2014 05:17:13 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 22153 invoked by uid 48); 4 Aug 2014 05:17:12 -0000 From: "limkokhole at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/17228] breakpoint will fail when directory names containing comma character Date: Mon, 04 Aug 2014 05:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: limkokhole at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00212.txt.bz2 Content-length: 257 https://sourceware.org/bugzilla/show_bug.cgi?id=17228 --- Comment #1 from lim kok hole --- gcc verison: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) -- You are receiving this mail because: You are on the CC list for the bug.