diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-10 18:18:52 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-10-10 18:18:52 +0100 |
commit | 3831839c089cf3b65ad6b2efbc608e5a24a40379 (patch) | |
tree | f7291306f9b5b909ad066ba8c1541b77e6dd3d76 /gdb/testsuite/gdb.base/nodebug.exp | |
parent | cc3afae25a4e37ed7a864a8f4eea1dc11b20d5fb (diff) | |
download | gdb-3831839c089cf3b65ad6b2efbc608e5a24a40379.zip gdb-3831839c089cf3b65ad6b2efbc608e5a24a40379.tar.gz gdb-3831839c089cf3b65ad6b2efbc608e5a24a40379.tar.bz2 |
Delete IRIX support
This does most of the mechanical removal. IOW, the easy part.
This doesn't touch procfs.c as that'd be a harder excision,
potentially affecting Solaris.
mips-tdep.c is left alone. E.g., I didn't delete the GDB_OSABI_IRIX
enum value, nor references to it in mips-tdep.c. Some comments
mentioning IRIX ABIs may still be relevant and I wouldn't know what to
do with them. in That can always be done on a separate pass,
preferably by someone who can test on MIPS.
I didn't remove a reference to IRIX in testsuite/lib/future.exp, as I
believe that code is imported from DejaGNU.
Built and tested on x86_64 Fedora 20, with --enable-targets=all.
Tested that building for --target=mips-sgi-irix6 on x86_64 Fedora 20
fails with:
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
*** Configuration mips-sgi-irix6 is obsolete.
*** Support has been REMOVED.
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/home/pedro/gdb/mygit/build-irix'
make: *** [all] Error 2
gdb/
2014-10-10 Pedro Alves <palves@redhat.com>
* Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
(ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
(HFILES_NO_SRCDIR): Remove solib-irix.h.
* NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
and been removed.
* config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
* configure.ac: Remove references to IRIX.
* configure.host: Add *-*-irix* to the obsolete hosts section.
Remove all other references to irix.
* irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
Delete files.
gdb/testsuite/
2014-10-10 Pedro Alves <palves@redhat.com>
* gdb.base/bigcore.exp: Remove references to IRIX.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/mips_pro.exp: Likewise.
* gdb.base/nodebug.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
Diffstat (limited to 'gdb/testsuite/gdb.base/nodebug.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/nodebug.exp | 48 |
1 files changed, 7 insertions, 41 deletions
diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp index cb704bb..a1dee0b 100644 --- a/gdb/testsuite/gdb.base/nodebug.exp +++ b/gdb/testsuite/gdb.base/nodebug.exp @@ -58,29 +58,17 @@ if [runto inner] then { # On alpha (and other ecoff systems) the native compilers put # out debugging info for non-aggregate return values of functions # even without -g, which should be accepted. - # Irix5, even though it is ELF, counts as "ecoff" because it - # encapsulates ecoff debugging info in a .mdebug section. - # Irix6 gcc emits no debug info at all for static functions and - # variables, so all tests involving statics fail. - - if {![test_compiler_info "gcc-*"]} then { setup_xfail "mips-sgi-irix5*" "mips-sgi-irix6*" } + gdb_test "p top" \ "\{(<(text variable|function), no debug info>|short \\(int\\)|short \\(\\))\} \[0-9a-fx]* <\\.?top(\\(int\\)|)>" - if {![test_compiler_info "gcc-*"]} then { setup_xfail "mips-sgi-irix5*" "mips-sgi-irix6*" } gdb_test "whatis top" \ "(<(text variable|function), no debug info>|short \\(int\\)|short \\(\\))" - if {![test_compiler_info "gcc-*"]} then { setup_xfail "mips-sgi-irix6*" } gdb_test "ptype top" "(short|int) \\((|void|int|<non-float parameter>|<non-float parameter>, <non-float parameter>)\\)" - if {![test_compiler_info "gcc-*"]} then { setup_xfail "mips-sgi-irix5*" } - setup_xfail "mips-sgi-irix6*" gdb_test "p middle" \ "\{(<(text variable|function), no debug info>|short \\(int\\)|short \\(\\))\} \[0-9a-fx]* <\\.?middle(\\(int\\)|)>" - if {![test_compiler_info "gcc-*"]} then { setup_xfail "mips-sgi-irix5*" } - setup_xfail "mips-sgi-irix6*" gdb_test "whatis middle" \ "(<(text variable|function), no debug info>|short \\(int\\)|short \\(\\))" - setup_xfail "mips-sgi-irix6*" gdb_test "ptype middle" "(short|int) \\((|void|int|<non-float parameter>|<non-float parameter>, <non-float parameter>)\\)" gdb_test "p dataglobal" "= 3" @@ -93,9 +81,7 @@ if [runto inner] then { # doesn't know the variables exist at all. setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } @@ -103,9 +89,7 @@ if [runto inner] then { setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } @@ -113,9 +97,7 @@ if [runto inner] then { setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } @@ -126,9 +108,7 @@ if [runto inner] then { setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } @@ -136,9 +116,7 @@ if [runto inner] then { setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } @@ -146,17 +124,11 @@ if [runto inner] then { setup_xfail "rs6000*-*-aix*" setup_xfail "powerpc*-*-aix*" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } else { + if ![test_compiler_info "gcc-*"] { setup_xfail "hppa*-*-hpux*" } gdb_test "ptype bsslocal" "<(data variable|variable), no debug info>" - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } - gdb_test "backtrace 10" "#0.*inner.*#1.*middle.*#2.*top.*#3.*main.*" \ "backtrace from inner in nodebug.exp" # Or if that doesn't work, at least hope for the external symbols @@ -167,9 +139,6 @@ if [runto inner] then { # This test is not as obscure as it might look. `p getenv ("TERM")' # is a real-world example, at least on many systems. - if { ! [test_compiler_info "gcc-*"]} { - setup_xfail "mips-sgi-irix6*" - } if [target_info exists gdb,cannot_call_functions] { setup_xfail "*-*-*" 2416 fail "p/c array_index(\"abcdef\",2)" @@ -204,9 +173,6 @@ if [runto inner] then { # Now, try that we can give names of file-local symbols which happen # to be unique, and have it still work - if [test_compiler_info "gcc-*"] { - setup_xfail "mips-sgi-irix6*" - } if [runto middle] then { gdb_test "backtrace 10" "#0.*middle.*#1.*top.*#2.*main.*" \ "backtrace from middle in nodebug.exp" |