This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dbxout & pch improvements


> Cc: gcc-patches at gcc dot gnu dot org
> Date: Sun, 06 Apr 2003 00:15:20 -0500
> From: David Edelsohn <dje at watson dot ibm dot 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 at geoffk dot org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]