diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-03-20 17:15:15 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-03-20 17:15:15 +0100 |
commit | bc23328cc108d8805f1d234b86e5a6b76d4a80d5 (patch) | |
tree | fbce04a379e04fc1babf145f00de007eeaf6845a /gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp | |
parent | 80b8656cbaaf09b685c2f3c9dd96f61274ed7fb7 (diff) | |
download | fsf-binutils-gdb-bc23328cc108d8805f1d234b86e5a6b76d4a80d5.zip fsf-binutils-gdb-bc23328cc108d8805f1d234b86e5a6b76d4a80d5.tar.gz fsf-binutils-gdb-bc23328cc108d8805f1d234b86e5a6b76d4a80d5.tar.bz2 |
Remove gdb.hp
gdb/ChangeLog
2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* config/djgpp/README: Remove gdb.hp.
gdb/testsuite/ChangeLog
2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
* README: Remove HP-UX and gdb.hp.
(configuration):
* configure: Regenerate.
* configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
gdb.hp/gdb.defects/Makefile.
* gdb.hp/Makefile.in: File deleted.
* gdb.hp/gdb.aCC/Makefile.in: File deleted.
* gdb.hp/gdb.aCC/optimize.c: File deleted.
* gdb.hp/gdb.aCC/optimize.exp: File deleted.
* gdb.hp/gdb.aCC/run.c: File deleted.
* gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
* gdb.hp/gdb.base-hp/Makefile.in: File deleted.
* gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
* gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
* gdb.hp/gdb.base-hp/dollar.c: File deleted.
* gdb.hp/gdb.base-hp/dollar.exp: File deleted.
* gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
* gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
* gdb.hp/gdb.base-hp/pxdb.c: File deleted.
* gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
* gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
* gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
* gdb.hp/gdb.base-hp/reg.exp: File deleted.
* gdb.hp/gdb.base-hp/reg.s: File deleted.
* gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
* gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
* gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
* gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
* gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
* gdb.hp/gdb.compat/Makefile.in: File deleted.
* gdb.hp/gdb.compat/average.c: File deleted.
* gdb.hp/gdb.compat/sum.c: File deleted.
* gdb.hp/gdb.compat/xdb.c: File deleted.
* gdb.hp/gdb.compat/xdb0.c: File deleted.
* gdb.hp/gdb.compat/xdb0.h: File deleted.
* gdb.hp/gdb.compat/xdb1.c: File deleted.
* gdb.hp/gdb.compat/xdb1.exp: File deleted.
* gdb.hp/gdb.compat/xdb2.exp: File deleted.
* gdb.hp/gdb.compat/xdb3.exp: File deleted.
* gdb.hp/gdb.defects/Makefile.in: File deleted.
* gdb.hp/gdb.defects/bs14602.c: File deleted.
* gdb.hp/gdb.defects/bs14602.exp: File deleted.
* gdb.hp/gdb.defects/solib-d.c: File deleted.
* gdb.hp/gdb.defects/solib-d.exp: File deleted.
* gdb.hp/gdb.defects/solib-d1.c: File deleted.
* gdb.hp/gdb.defects/solib-d2.c: File deleted.
* gdb.hp/gdb.objdbg/Makefile.in: File deleted.
* gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
* gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
* gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
* gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
* gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
* gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
* gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
* gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
* gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
* gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
* gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
* gdb.hp/tools/odump: File deleted.
Diffstat (limited to 'gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp')
-rw-r--r-- | gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp | 146 |
1 files changed, 0 insertions, 146 deletions
diff --git a/gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp b/gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp deleted file mode 100644 index 98b9664..0000000 --- a/gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright (C) 1997-2015 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 3 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, see <http://www.gnu.org/licenses/>. - -# GDB tests for names beginning with '$' - -# This is aimed at HP-UX systems where a lot of system -# routines and names begin with '$' or '$$'. GDB 4.16 was -# unable to deal with these names as they clashed with -# convenience variables. Wildebeest should accept such -# names in preference to convenience variables. - -# This file was written by Satish Pai <pai@apollo.hp.com> -# 1997-09-24 - -# -# test running programs -# - -if { [skip_hp_tests] } { continue } - -set testfile "dollar" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} - -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested dollar.exp - return -1 -} - -#source ${binfile}.ci - -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} - -# -# set it up at a breakpoint so we can play with the variable values -# - -if ![runto_main] then { - perror "couldn't run to breakpoint" - continue -} - -# Test for millicode routines -# hppa64 does not support dyncall -if ![istarget "hppa64*-*-*"] { -send_gdb "print \$\$dyncall\n" -gdb_expect { - -re "\\$\[0-9\]* = \\{<text variable, no debug info>\\} $hex <>.*$gdb_prompt $" { pass "print \$\$dyncall" } - -re "\\$\[0-9\]* = \\{<text variable, no debug info>\\} $hex <.*dyncall>.*$gdb_prompt $" { pass "print \$\$dyncall" } - -re "\\$\[0-9\]* = void" { fail "print \$\$dyncall -- interpreted as convenience var" } - -re "$gdb_prompt $" { fail "print \$\$dyncall" } - timeout { fail "(timeout) print \$\$dyncall" } -} -send_gdb "print \$\$dyncall_external\n" -gdb_expect { - -re "\\$\[0-9\]* = \\{<text variable, no debug info>\\} $hex <>.*$gdb_prompt $" { pass "print \$\$dyncall_external" } - -re "\\$\[0-9\]* = \\{<text variable, no debug info>\\} $hex <.*dyncall_external>.*$gdb_prompt $" { pass "print \$\$dyncall_external" } - -re "\\$\[0-9\]* = void" { fail "print \$\$dyncall_external -- interpreted as convenience var" } - -re "$gdb_prompt $" { fail "print \$\$dyncall_external" } - timeout { fail "(timeout) print \$\$dyncall_external" } -} - -# Set a breakpoint on a millicode routine -send_gdb "break \$\$dyncall\n" -gdb_expect { - -re "Breakpoint \[0-9\]* at $hex.*$gdb_prompt $" { pass "break \$\$dyncall" } - -re "Function.*not defined.*$gdb_prompt $" {fail "break \$\$dyncall -- no \$\$dyncall?" } - -re "Convenience variables used in line specs must have integer values\\..*$gdb_prompt $" { - fail "break \$\$dyncall -- treated as convenince variable" - } - -re "$gdb_prompt $" { fail "print break \$\$dyncall" } - timeout { fail "(timeout) print break \$\$dyncall" } -} - -# Disassemble $$dyncall -send_gdb "disassemble \$\$dyncall\n" -gdb_expect { - -re "Dump of assembler code for function.*$gdb_prompt $" { pass "disas \$\$dyncall" } - -re "$gdb_prompt $" { fail "disas \$\$dyncall" } - timeout { fail "(timeout) disas \$\$dyncall" } -} - -# Try to set $$dyncall like a convenience var. -send_gdb "set \$\$dyncall = 77\n" -gdb_expect { - -re "Invalid cast.*$gdb_prompt $" { pass "set \$\$dyncall = 77" } - -re "$gdb_prompt $" { fail "set \$\$dyncall = 77" } - timeout { fail "(timeout) set \$\$dyncall = 77" } -} -} - -# Try out some other $ name, not millicode -if [istarget "hppa64*-*-*"] { - #hppa64 uses __argv instead of $ARGV. - send_gdb "print \__argv\n" - gdb_expect { - -re "\\$\[0-9\]* = \[0-9\]*.*$gdb_prompt $" { pass "print \__argv" } - -re "\\$\[0-9\]* = void.*$gdb_prompt $" { - fail "print \__argv (interpreted as convenience var)" - } - -re "$gdb_prompt $" { fail "print \__argv" } - timeout { fail "(timeout) print \__argv" } - } - - send_gdb "ptype \__argv\n" - gdb_expect { - -re "type = <data variable, no debug info>.*$gdb_prompt $" { - pass "ptype \__argv" - } - -re "type = void.*$gdb_prompt $" { - fail "ptype \__argv (interpreted as convenience var)" - } - -re "$gdb_prompt $" { fail "ptype \__argv" } - timeout { fail "(timeout) ptype \__argv" } - } -} else { -send_gdb "print \$ARGV\n" -gdb_expect { - -re "\\$\[0-9\]* = \[0-9\]*.*$gdb_prompt $" { pass "print \$ARGV" } - -re "\\$\[0-9\]* = void.*$gdb_prompt $" { fail "print \$ARGV (interpreted as convenience var)" } - -re "$gdb_prompt $" { fail "print \$ARGV" } - timeout { fail "(timeout) print \$ARGV" } -} -send_gdb "ptype \$ARGV\n" -gdb_expect { - -re "type = <data variable, no debug info>.*$gdb_prompt $" { pass "ptype \$ARGV" } - -re "type = void.*$gdb_prompt $" { fail "ptype \$ARGV (interpreted as convenience var)" } - -re "$gdb_prompt $" { fail "ptype \$ARGV" } - timeout { fail "(timeout) ptype \$ARGV" } -} -} |