aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/pr10179-b.c
diff options
context:
space:
mode:
authorChris Moller <cmoller@cygnus>2010-04-23 12:08:07 +0000
committerChris Moller <cmoller@cygnus>2010-04-23 12:08:07 +0000
commit8bd10a10b3917698e13bb1101d13c93d8c1db3a1 (patch)
treefca410c452286453fc101dc0fcd5baf810499a4a /gdb/testsuite/gdb.base/pr10179-b.c
parentf6973bdcb778ca7a54817a696cb0c6457f4ae96f (diff)
downloadgdb-8bd10a10b3917698e13bb1101d13c93d8c1db3a1.zip
gdb-8bd10a10b3917698e13bb1101d13c93d8c1db3a1.tar.gz
gdb-8bd10a10b3917698e13bb1101d13c93d8c1db3a1.tar.bz2
PR 10179
* symtab.c (rbreak_command): Added code to include a filename specification in the rbreak argument. * NEWS: Added a brief description of filename-qualified rbreak. * gdb.base/Makefile.in (EXECUTABLES): Added pr10179. * gdb.base/pr10179-a.c: * gdb.base/pr10179-b.c: * gdb.base/pr10179.exp: New files. * gdb.texinfo (Setting Breakpoints): Added description of filename-qualified rbreak. * refcard.tex (Breakpoints and Watchpoints): Added brief description of filename-qualified rbreak.
Diffstat (limited to 'gdb/testsuite/gdb.base/pr10179-b.c')
-rw-r--r--gdb/testsuite/gdb.base/pr10179-b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/pr10179-b.c b/gdb/testsuite/gdb.base/pr10179-b.c
new file mode 100644
index 0000000..dcc5d9b
--- /dev/null
+++ b/gdb/testsuite/gdb.base/pr10179-b.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int
+foo2()
+{
+}