Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/testsuite] get rid of gdb_suppress_entire_file in asm-source.exp
@ 2004-04-19 17:29 Joel Brobecker
  2004-04-19 17:36 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2004-04-19 17:29 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

I noticed that this testcase is using gdb_suppress_entire_file, and
I remember being told that this function was evil. So I suggest the
following cleanup for this gdb.asm test:

2004-04-19  Joel Brobecker  <brobecker@gnat.com>

        * gdb.asm/asm-source.exp: Remove use of gdb_suppress_entire_file.

OK to apply?

-- 
Joel

[-- Attachment #2: unsupported.diff --]
[-- Type: text/plain, Size: 668 bytes --]

Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.49
diff -u -p -r1.49 asm-source.exp
--- gdb.asm/asm-source.exp	31 Jan 2004 14:32:24 -0000	1.49
+++ gdb.asm/asm-source.exp	19 Apr 2004 17:24:56 -0000
@@ -115,7 +115,8 @@ switch -glob -- [istarget] {
 }
 
 if { "${asm-arch}" == "" } {
-    gdb_suppress_entire_file "Assembly source test -- not implemented for this target."
+    unsupported "Assembly source test -- not implemented for this target."
+    return -1
 }
 
 # On NetBSD/ELF we need a special NetBSD-identifying note section.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-19 17:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19 17:29 [RFA/testsuite] get rid of gdb_suppress_entire_file in asm-source.exp Joel Brobecker
2004-04-19 17:36 ` Daniel Jacobowitz
2004-04-19 17:43   ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox