aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-09-16 12:37:03 +0100
committerPedro Alves <palves@redhat.com>2014-09-16 12:37:03 +0100
commit428b16bd5a3947e3a608f0c6751a8be7dbd88959 (patch)
tree7249fef5be6770ae9d594ff815e8c0e426a480d3 /gdb/testsuite/gdb.hp
parent666d413cc37ef7f841abf3e8faf2c3cbc7c5b456 (diff)
downloadfsf-binutils-gdb-428b16bd5a3947e3a608f0c6751a8be7dbd88959.zip
fsf-binutils-gdb-428b16bd5a3947e3a608f0c6751a8be7dbd88959.tar.gz
fsf-binutils-gdb-428b16bd5a3947e3a608f0c6751a8be7dbd88959.tar.bz2
Remove support for testing against dead "target vxworks"
"target vxworks" and friends have been removed 10 years ago already: commit e84ecc995d6a5e4e9114d3cea61717b8a573afb6 Author: Andrew Cagney <cagney@redhat.com> AuthorDate: Sat Nov 13 23:10:02 2004 +0000 2004-11-13 Andrew Cagney <cagney@gnu.org> * configure.tgt: Delete i[34567]86-*-vxworks*, m68*-netx-*, m68*-*-vxworks*, mips*-*-vxworks*, powerpc-*-vxworks*, and sparc-*-vxworks*. * NEWS: Mention that vxworks was deleted. (...) * remote-vxmips.c, remote-vx.c: Delete. * remote-vx68.c: Delete. (...) This removes related leftover cruft from the testsuite. Tested on x86_64 Fedora 20, native and gdbserver. gdb/testsuite/ 2014-09-16 Pedro Alves <palves@redhat.com> * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete files. * gdb.base/a2-run.exp: Remove all code guarded by istarget "*-*-vxworks*" throughout. * gdb.base/break.exp: Likewise. * gdb.base/default.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/break.c: Remove all code guarded by #ifdef vxworks throughout. * gdb.base/run.c: Likewise. * gdb.base/sepdebug.c: Likewise. * gdb.hp/gdb.aCC/run.c: Likewise. * gdb.reverse/until-reverse.c: Likewise. * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
Diffstat (limited to 'gdb/testsuite/gdb.hp')
-rw-r--r--gdb/testsuite/gdb.hp/gdb.aCC/run.c35
1 files changed, 2 insertions, 33 deletions
diff --git a/gdb/testsuite/gdb.hp/gdb.aCC/run.c b/gdb/testsuite/gdb.hp/gdb.aCC/run.c
index b41abab..60cc08e 100644
--- a/gdb/testsuite/gdb.hp/gdb.aCC/run.c
+++ b/gdb/testsuite/gdb.hp/gdb.aCC/run.c
@@ -3,39 +3,8 @@
* testing stack backtraces and such.
*/
-#ifdef vxworks
-
-# include <stdio.h>
-
-/* VxWorks does not supply atoi. */
-static int
-atoi (char *z)
- /* char *z;*/
-{
- int i = 0;
-
- while (*z >= '0' && *z <= '9')
- i = i * 10 + (*z++ - '0');
- return i;
-}
-
-/* I don't know of any way to pass an array to VxWorks. This function
- can be called directly from gdb. */
-
-void vxmain (char *arg)
-/*char *arg;*/
-{
- char *argv[2];
-
- argv[0] = "";
- argv[1] = arg;
- main (2, argv, (char **) 0);
-}
-
-#else /* ! vxworks */
-# include <stdio.h>
-# include <stdlib.h>
-#endif /* ! vxworks */
+#include <stdio.h>
+#include <stdlib.h>
int main (int argc, char *argv[], char **envp)
/*int argc;