This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: breakpoints/1705: Set breakpoint in C++ source file
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 12 Jul 2004 23:58:00 -0000
- Subject: Re: breakpoints/1705: Set breakpoint in C++ source file
- Reply-to: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
The following reply was made to PR breakpoints/1705; it has been noted by GNATS.
From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: xinsolo@hotmail.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: breakpoints/1705: Set breakpoint in C++ source file
Date: Mon, 12 Jul 2004 19:54:23 -0400 (EDT)
Hello Solo,
> It doesn't work when I use single-quote, I attached that typescipt
> with this Email.
Try this:
(gdb) break 'CController::PrintTLP<TAB>
PrintTLP is part of the CController class, so gdb wants to see
the qualified name CController::PrintTLP, not just PrintTLP.
> Another question: when I use edit command in gdb, gdb always
> concatenates the directory and file name directly without
> shash between them. In this session, the code is in
> directory
> '/home/solo/proj_earth/ferrari/src/top/verif/stim/pciexpress/src', and
> file name is 'pciexs_CController.cpp', when I enter edit command,
> emacs opens a file called:
> '/home/solo/proj_earth/ferrari/src/top/verif/stim/pciexpress/srcpciexs_CController.cpp'.
Could you please try gdb 6.1.1. If this happens with gdb 6.1.1,
make another typescript file and file a fresh PR for this.
Michael C