diff options
author | Fred Fish <fnf@specifix.com> | 2004-02-19 22:55:50 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2004-02-19 22:55:50 +0000 |
commit | f9a7572ae1357fc2038f6be6383f6cdd71dd6821 (patch) | |
tree | f1a16ecbee1c9cc6308a69d9228d8acb373328cd /gdb/testsuite/gdb.arch/gdb1558.c | |
parent | f98c22d5172c3479efd38c9123ae30205adff610 (diff) | |
download | ppe42-binutils-f9a7572ae1357fc2038f6be6383f6cdd71dd6821.tar.gz ppe42-binutils-f9a7572ae1357fc2038f6be6383f6cdd71dd6821.zip |
Testcase suggested by ezannoni@redhat.com.
2004-02-19 Fred Fish <fnf@redhat.com>
New testcase for PR breakpoint/1558.
* gdb.arch/gdb1558.exp: New file.
* gdb.arch/gdb1558.c: New file.
Diffstat (limited to 'gdb/testsuite/gdb.arch/gdb1558.c')
-rw-r--r-- | gdb/testsuite/gdb.arch/gdb1558.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.arch/gdb1558.c b/gdb/testsuite/gdb.arch/gdb1558.c new file mode 100644 index 0000000000..d1051cf79a --- /dev/null +++ b/gdb/testsuite/gdb.arch/gdb1558.c @@ -0,0 +1,36 @@ +/* Copyright 2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + Please email any bugs, comments, and/or additions to this file to: + bug-gdb@gnu.org + + This file is part of the gdb testsuite. */ + +sub1 () +{ + printf ("In sub1\n"); +} + +sub2 () +{ + printf ("In sub2\n"); +} + +main () +{ + sub1 (); + sub2 (); +} |