summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2009-07-04 01:17:54 -0700
committerRoland McGrath <[email protected]>2009-07-04 01:17:54 -0700
commit8a1e07405cda12a7f8035f9679c7fc86f8cdd777 (patch)
tree055ae8f668e044a9c20b9e19b1c22817ea0c720d /tests
parent268d026be814f02595bc531e13d05e33cb828189 (diff)
Make dwarf_output start to compile again.
Diffstat (limited to 'tests')
-rw-r--r--tests/print-die.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/print-die.hh b/tests/print-die.hh
index 2934c0e7..7b4fa3f5 100644
--- a/tests/print-die.hh
+++ b/tests/print-die.hh
@@ -252,11 +252,12 @@ print_file (const char *name, const file &dw, const unsigned int limit)
case copy_edit:
print_file (dwarf_edit (dw), limit);
break;
-#if 0 // XXX
case copy_output:
- print_file (dwarf_output (dw), limit);
+ {
+ dwarf_output_collector c; // We'll just throw it away.
+ print_file (dwarf_output (dw, c), limit);
+ }
break;
-#endif
default:
abort ();
}