dbxout & pch improvements

Geoff Keating geoffk@geoffk.org
Sun Apr 6 08:54:00 GMT 2003


> Cc: gcc-patches@gcc.gnu.org
> Date: Sun, 06 Apr 2003 00:15:20 -0500
> From: David Edelsohn <dje@watson.ibm.com>

> 	I think you need to declare dbxout_handle_pch within the
> XCOFF_DEBUGGING_INFO block.

How about this patch instead?  (It may need some whitespace munging.)

Index: dbxout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxout.c,v
retrieving revision 1.136
diff -u -p -c -r1.136 dbxout.c
cvs server: conflicting specifications of output style
*** dbxout.c    5 Apr 2003 07:01:46 -0000       1.136
--- dbxout.c    6 Apr 2003 08:49:06 -0000
*************** static void dbxout_prepare_symbol       PARAMS
*** 321,326 ****
--- 321,327 ----
  static void dbxout_finish_symbol      PARAMS ((tree));
  static void dbxout_block              PARAMS ((tree, int, tree));
  static void dbxout_global_decl                PARAMS ((tree));
+ static void dbxout_handle_pch         PARAMS ((unsigned));
  ^L
  /* The debug hooks structure.  */
  #if defined (DBX_DEBUGGING_INFO)
*************** static void dbxout_begin_function       PARAMS
*** 332,338 ****
  static void dbxout_begin_block                PARAMS ((unsigned, unsigned));
  static void dbxout_end_block          PARAMS ((unsigned, unsigned));
  static void dbxout_function_decl      PARAMS ((tree));
- static void dbxout_handle_pch         PARAMS ((unsigned));

  const struct gcc_debug_hooks dbx_debug_hooks =
  {
--- 333,338 ----


-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list