summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/pr10179-a.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-a.c
parentf6973bdcb778ca7a54817a696cb0c6457f4ae96f (diff)
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-a.c')
-rw-r--r--gdb/testsuite/gdb.base/pr10179-a.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/pr10179-a.c b/gdb/testsuite/gdb.base/pr10179-a.c
new file mode 100644
index 0000000000..de5dcdeb03
--- /dev/null
+++ b/gdb/testsuite/gdb.base/pr10179-a.c
@@ -0,0 +1,17 @@
+#include <stdio.h>
+
+extern int foo2();
+
+int
+foo1()
+{
+}
+
+int
+bar1()
+{
+}
+
+main()
+{
+}