This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

[ob/commit] pa64-solib.[ch] whitespace tweaks


2005-01-13  Michael Snyder  <msnyder@redhat.com>

	* pa64solib.[ch]: Whitespace tweaks.

Index: pa64solib.c
===================================================================
RCS file: /cvs/src/src/gdb/pa64solib.c,v
retrieving revision 1.27
diff -p -r1.27 pa64solib.c
*** pa64solib.c	13 Nov 2004 02:24:34 -0000	1.27
--- pa64solib.c	14 Jan 2005 01:00:25 -0000
*************** pa64_solib_add (char *arg_string, int fr
*** 403,411 ****
       We need to first determine if we're dealing with a dynamically
       linked executable.  If not, then return without an error or warning.
  
!      We also need to examine __dld_flags to determine if the shared library
!      list is valid and to determine if the libraries have been privately
!      mapped.  */
    if (symfile_objfile == NULL)
      return;
  
--- 403,411 ----
       We need to first determine if we're dealing with a dynamically
       linked executable.  If not, then return without an error or warning.
  
!      We also need to examine __dld_flags to determine if the shared
!      library list is valid and to determine if the libraries have been
!      privately mapped.  */
    if (symfile_objfile == NULL)
      return;
  
*************** pa64_solib_add (char *arg_string, int fr
*** 462,469 ****
       DT_HP_DEBUG_PRIVATE to indicate that shared libraries should be
       mapped private.
  
!      DT_HP_DEBUG_CALLBACK to indicate that we want the dynamic linker to
!      call the breakpoint routine for significant events.  */
  
  void
  pa64_solib_create_inferior_hook (void)
--- 462,469 ----
       DT_HP_DEBUG_PRIVATE to indicate that shared libraries should be
       mapped private.
  
!      DT_HP_DEBUG_CALLBACK to indicate that we want the dynamic linker
!      to call the breakpoint routine for significant events.  */
  
  void
  pa64_solib_create_inferior_hook (void)
*************** get_out:
*** 592,599 ****
     shared library events.  To resume notifications, GDB must call
     pa64_solib_create_inferior_hook.
  
!    This operation does not remove any knowledge of shared libraries which
!    GDB may already have been notified of.  */
  
  void
  pa64_solib_remove_inferior_hook (int pid)
--- 592,599 ----
     shared library events.  To resume notifications, GDB must call
     pa64_solib_create_inferior_hook.
  
!    This operation does not remove any knowledge of shared libraries
!    of which GDB may already have been notified.  */
  
  void
  pa64_solib_remove_inferior_hook (int pid)
Index: pa64solib.h
===================================================================
RCS file: /cvs/src/src/gdb/pa64solib.h,v
retrieving revision 1.5
diff -p -r1.5 pa64solib.h
*** pa64solib.h	13 Nov 2004 02:19:03 -0000	1.5
--- pa64solib.h	14 Jan 2005 01:00:25 -0000
*************** extern CORE_ADDR pa64_solib_get_got_by_p
*** 38,44 ****
     which they are linked, and sufficient information to read in their symbols
     at a later time.  */
  
! #define SOLIB_CREATE_INFERIOR_HOOK(PID)	pa64_solib_create_inferior_hook()
  
  extern void pa64_solib_create_inferior_hook (void);
  
--- 38,44 ----
     which they are linked, and sufficient information to read in their symbols
     at a later time.  */
  
! #define SOLIB_CREATE_INFERIOR_HOOK(PID)	pa64_solib_create_inferior_hook ()
  
  extern void pa64_solib_create_inferior_hook (void);
  
*************** extern void pa64_solib_create_inferior_h
*** 46,59 ****
     dynamic linker that was established by SOLIB_CREATE_INFERIOR_HOOK.
     (This operation does not remove shared library information from
     the debugger, as CLEAR_SOLIB does.)  */
! #define SOLIB_REMOVE_INFERIOR_HOOK(PID) pa64_solib_remove_inferior_hook(PID)
  
  extern void pa64_solib_remove_inferior_hook (int);
  
  /* This function is called by the "catch load" command.  It allows
     the debugger to be notified by the dynamic linker when a specified
     library file (or any library file, if filename is NULL) is loaded.  */
! #define SOLIB_CREATE_CATCH_LOAD_HOOK(pid,tempflag, filename,cond_string) \
     pa64_solib_create_catch_load_hook (pid, tempflag, filename, cond_string)
  
  extern void pa64_solib_create_catch_load_hook (int, int, char *, char *);
--- 46,59 ----
     dynamic linker that was established by SOLIB_CREATE_INFERIOR_HOOK.
     (This operation does not remove shared library information from
     the debugger, as CLEAR_SOLIB does.)  */
! #define SOLIB_REMOVE_INFERIOR_HOOK(PID) pa64_solib_remove_inferior_hook (PID)
  
  extern void pa64_solib_remove_inferior_hook (int);
  
  /* This function is called by the "catch load" command.  It allows
     the debugger to be notified by the dynamic linker when a specified
     library file (or any library file, if filename is NULL) is loaded.  */
! #define SOLIB_CREATE_CATCH_LOAD_HOOK(pid, tempflag, filename, cond_string) \
     pa64_solib_create_catch_load_hook (pid, tempflag, filename, cond_string)
  
  extern void pa64_solib_create_catch_load_hook (int, int, char *, char *);
*************** extern void pa64_solib_create_catch_load
*** 61,67 ****
  /* This function is called by the "catch unload" command.  It allows
     the debugger to be notified by the dynamic linker when a specified
     library file (or any library file, if filename is NULL) is unloaded.  */
! #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid,tempflag,filename, cond_string) \
     pa64_solib_create_catch_unload_hook (pid, tempflag, filename, cond_string)
  
  extern void pa64_solib_create_catch_unload_hook (int, int, char *, char *);
--- 61,67 ----
  /* This function is called by the "catch unload" command.  It allows
     the debugger to be notified by the dynamic linker when a specified
     library file (or any library file, if filename is NULL) is unloaded.  */
! #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid, tempflag, filename, cond_string) \
     pa64_solib_create_catch_unload_hook (pid, tempflag, filename, cond_string)
  
  extern void pa64_solib_create_catch_unload_hook (int, int, char *, char *);

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