This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17228] New: breakpoint will fail when directory names containing comma character
- From: "limkokhole at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 04 Aug 2014 04:51:38 +0000
- Subject: [Bug gdb/17228] New: breakpoint will fail when directory names containing comma character
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17228
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 name
containing comma character.
Similar issue has been asked on Stack Overflow,
http://stackoverflow.com/questions/12520185/adding-breakpoints-to-gdb-in-files-with-comma-in-path
Environment:
GDB version: GNU gdb (GDB) Fedora 7.6.1-46.fc19
OS version: Fedora release 19 (SchrÃdingerâs Cat)
uname -a: Linux localhost.localdomain 3.14.8-100.fc19.i686.PAE #1 SMP Mon Jun
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
GNU gdb (GDB) Fedora 7.6.1-46.fc19
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ack0hole/,/test/a.out...done.
(gdb) l
1 #include <stdio.h>
2 main()
3 {
4 int c;
5 c = getchar();
6 putchar(c);
7 }
(gdb)
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
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 <PENDING> /home/ack0hole/,/test/io_eof.c:4
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.