From 7095b86368cf18803773134b0be57250e32ecb68 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 14 Jan 2005 02:04:02 +0000 Subject: [PATCH] 2005-01-13 Michael Snyder * solib-aix.c: Whitespace tweaks. * solib.c: Whitespace tweaks. * solib-frv.c: Whitespace tweaks. * solib.h: Whitespace tweaks. * solib-irix.c: Whitespace tweaks. * solib-som.c: Whitespace tweaks. * solib-sunos.c: Whitespace tweaks. * solib-svr4.[ch]: Whitespace tweaks. --- gdb/ChangeLog | 8 ++++++++ gdb/solib-aix5.c | 2 +- gdb/solib-frv.c | 2 +- gdb/solib-irix.c | 2 +- gdb/solib-som.c | 4 ++-- gdb/solib-sunos.c | 2 +- gdb/solib-svr4.c | 6 +++--- gdb/solib-svr4.h | 4 ++-- gdb/solib.c | 2 +- gdb/solib.h | 10 +++++----- 10 files changed, 25 insertions(+), 17 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 356933f805d..f37eed94897 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -20,6 +20,14 @@ 2005-01-13 Michael Snyder + * solib-aix.c: Whitespace tweaks. + * solib.c: Whitespace tweaks. + * solib-frv.c: Whitespace tweaks. + * solib.h: Whitespace tweaks. + * solib-irix.c: Whitespace tweaks. + * solib-som.c: Whitespace tweaks. + * solib-sunos.c: Whitespace tweaks. + * solib-svr4.[ch]: Whitespace tweaks. * ser-tcp.c: Whitespace tweaks. * ser-unix.c: Whitespace tweaks. * serial.h: Whitespace tweaks. diff --git a/gdb/solib-aix5.c b/gdb/solib-aix5.c index 54b1199b92a..3532be453e0 100644 --- a/gdb/solib-aix5.c +++ b/gdb/solib-aix5.c @@ -771,7 +771,7 @@ aix5_relocate_main_executable (void) SYNOPSIS - void aix5_solib_create_inferior_hook() + void aix5_solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index cd3fc8d4dcb..a102573f0aa 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -917,7 +917,7 @@ frv_relocate_main_executable (void) SYNOPSIS - void frv_solib_create_inferior_hook() + void frv_solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 5795ecaf0c1..f84a54a1ac0 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -371,7 +371,7 @@ enable_break (void) SYNOPSIS - void solib_create_inferior_hook() + void solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib-som.c b/gdb/solib-som.c index 886eb4b7bd2..758bc3c5908 100644 --- a/gdb/solib-som.c +++ b/gdb/solib-som.c @@ -322,8 +322,8 @@ keep_going: shared library events. To resume notifications, GDB must call som_solib_create_inferior_hook. - This operation does not remove any knowledge of shared libraries which - GDB may already have been notified of. + This operation does not remove any knowledge of shared libraries + of which GDB may already have been notified. */ static void som_solib_remove_inferior_hook (int pid) diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index 52376366406..b9aad55ddc3 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -695,7 +695,7 @@ sunos_special_symbol_handling (void) SYNOPSIS - void sunos_solib_create_inferior_hook() + void sunos_solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 7976e6707f2..3c6a9921452 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -56,9 +56,9 @@ static struct gdbarch_data *fetch_link_map_offsets_gdbarch_data; /* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function which is used to fetch link map offsets. It will only be set - by solib-legacy.c, if at all. */ + by solib-legacy.c, if at all. */ -struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook)(void) = 0; +struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook) (void) = 0; /* Link map info to include in an allocated so_list entry */ @@ -1155,7 +1155,7 @@ svr4_relocate_main_executable (void) SYNOPSIS - void svr4_solib_create_inferior_hook() + void svr4_solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index 0909e4c35a3..993b6a30780 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -84,8 +84,8 @@ extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile); /* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function which is used to fetch link map offsets. It will only be set - by solib-legacy.c, if at all. */ -extern struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook)(void); + by solib-legacy.c, if at all. */ +extern struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook) (void); /* Fetch (and possibly build) an appropriate `struct link_map_offsets' for ILP32 and LP64 SVR4 systems. */ diff --git a/gdb/solib.c b/gdb/solib.c index aeb92afd0d4..3efe57524ad 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -801,7 +801,7 @@ do_clear_solib (void *dummy) SYNOPSIS - void solib_create_inferior_hook() + void solib_create_inferior_hook () DESCRIPTION diff --git a/gdb/solib.h b/gdb/solib.h index 503e3c2f3a5..8fadf4e7338 100644 --- a/gdb/solib.h +++ b/gdb/solib.h @@ -42,12 +42,12 @@ extern void clear_solib (void); extern void solib_add (char *, int, struct target_ops *, int); extern int solib_read_symbols (struct so_list *, int); -/* Function to be called when the inferior starts up, to discover the names - of shared libraries that are dynamically linked, the base addresses to - which they are linked, and sufficient information to read in their symbols - at a later time. */ +/* Function to be called when the inferior starts up, to discover the + names of shared libraries that are dynamically linked, the base + addresses to which they are linked, and sufficient information to + read in their symbols at a later time. */ -#define SOLIB_CREATE_INFERIOR_HOOK(PID) solib_create_inferior_hook() +#define SOLIB_CREATE_INFERIOR_HOOK(PID) solib_create_inferior_hook () /* Function to be called to remove the connection between debugger and dynamic linker that was established by SOLIB_CREATE_INFERIOR_HOOK. -- 2.30.2