190075Sobrien/* Do-nothing debug hooks for GCC.
2169689Skan   Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
390075Sobrien
490075SobrienThis program is free software; you can redistribute it and/or modify it
590075Sobrienunder the terms of the GNU General Public License as published by the
690075SobrienFree Software Foundation; either version 2, or (at your option) any
790075Sobrienlater version.
890075Sobrien
990075SobrienThis program is distributed in the hope that it will be useful,
1090075Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1190075SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1290075SobrienGNU General Public License for more details.
1390075Sobrien
1490075SobrienYou should have received a copy of the GNU General Public License
1590075Sobrienalong with this program; if not, write to the Free Software
16169689SkanFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
1790075Sobrien
1890075Sobrien#include "config.h"
1990075Sobrien#include "system.h"
20132718Skan#include "coretypes.h"
21132718Skan#include "tm.h"
2290075Sobrien#include "debug.h"
2390075Sobrien
2490075Sobrien/* The do-nothing debug hooks.  */
25117395Skanconst struct gcc_debug_hooks do_nothing_debug_hooks =
2690075Sobrien{
2790075Sobrien  debug_nothing_charstar,
2890075Sobrien  debug_nothing_charstar,
2990075Sobrien  debug_nothing_int_charstar,
3090075Sobrien  debug_nothing_int_charstar,
3190075Sobrien  debug_nothing_int_charstar,
3290075Sobrien  debug_nothing_int,
33169689Skan  debug_nothing_int_int,	         /* begin_block */
34169689Skan  debug_nothing_int_int,	         /* end_block */
35169689Skan  debug_true_tree,		         /* ignore_block */
36169689Skan  debug_nothing_int_charstar,	         /* source_line */
37169689Skan  debug_nothing_int_charstar,	         /* begin_prologue */
38169689Skan  debug_nothing_int_charstar,	         /* end_prologue */
39169689Skan  debug_nothing_int_charstar,	         /* end_epilogue */
40169689Skan  debug_nothing_tree,		         /* begin_function */
41169689Skan  debug_nothing_int,		         /* end_function */
42169689Skan  debug_nothing_tree,		         /* function_decl */
43169689Skan  debug_nothing_tree,		         /* global_decl */
44169689Skan  debug_nothing_tree_int,		 /* type_decl */
45169689Skan  debug_nothing_tree_tree,               /* imported_module_or_decl */
46169689Skan  debug_nothing_tree,		         /* deferred_inline_function */
47169689Skan  debug_nothing_tree,		         /* outlining_inline_function */
48169689Skan  debug_nothing_rtx,		         /* label */
49169689Skan  debug_nothing_int,		         /* handle_pch */
50169689Skan  debug_nothing_rtx,		         /* var_location */
51169689Skan  debug_nothing_void,                    /* switch_text_section */
52169689Skan  0                                      /* start_end_main_source_file */
5390075Sobrien};
5490075Sobrien
5590075Sobrien/* This file contains implementations of each debug hook that do
5690075Sobrien   nothing.  */
5790075Sobrien
5890075Sobrienvoid
59132718Skandebug_nothing_void (void)
6090075Sobrien{
6190075Sobrien}
6290075Sobrien
6390075Sobrienvoid
64132718Skandebug_nothing_tree (tree decl ATTRIBUTE_UNUSED)
6590075Sobrien{
6690075Sobrien}
6790075Sobrien
68169689Skanvoid
69169689Skandebug_nothing_tree_tree (tree t1 ATTRIBUTE_UNUSED,
70169689Skan			 tree t2 ATTRIBUTE_UNUSED)
71169689Skan{
72169689Skan}
73169689Skan
7490075Sobrienbool
75132718Skandebug_true_tree (tree block ATTRIBUTE_UNUSED)
7690075Sobrien{
7790075Sobrien  return true;
7890075Sobrien}
7990075Sobrien
8090075Sobrienvoid
81132718Skandebug_nothing_rtx (rtx insn ATTRIBUTE_UNUSED)
8290075Sobrien{
8390075Sobrien}
8490075Sobrien
8590075Sobrienvoid
86132718Skandebug_nothing_charstar (const char *main_filename ATTRIBUTE_UNUSED)
8790075Sobrien{
8890075Sobrien}
8990075Sobrien
9090075Sobrienvoid
91132718Skandebug_nothing_int_charstar (unsigned int line ATTRIBUTE_UNUSED,
92132718Skan			    const char *text ATTRIBUTE_UNUSED)
9390075Sobrien{
9490075Sobrien}
9590075Sobrien
9690075Sobrienvoid
97132718Skandebug_nothing_int (unsigned int line ATTRIBUTE_UNUSED)
9890075Sobrien{
9990075Sobrien}
10090075Sobrien
10190075Sobrienvoid
102132718Skandebug_nothing_int_int (unsigned int line ATTRIBUTE_UNUSED,
103132718Skan		       unsigned int n ATTRIBUTE_UNUSED)
10490075Sobrien{
10590075Sobrien}
106169689Skan
107169689Skanvoid
108169689Skandebug_nothing_tree_int (tree decl ATTRIBUTE_UNUSED,
109169689Skan			int local ATTRIBUTE_UNUSED)
110169689Skan{
111169689Skan}
112