forked from Imagelibrary/binutils-gdb
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR. * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
This commit is contained in:
10
gdb/solib.c
10
gdb/solib.c
@@ -57,7 +57,7 @@ static int solib_cleanup_queued = 0; /* make_run_cleanup called */
|
||||
|
||||
/* Local function prototypes */
|
||||
|
||||
static void do_clear_solib (PTR);
|
||||
static void do_clear_solib (void *);
|
||||
|
||||
/* If non-zero, this is a prefix that will be added to the front of the name
|
||||
shared libraries with an absolute filename for loading. */
|
||||
@@ -207,7 +207,7 @@ solib_open (char *in_pathname, char **found_pathname)
|
||||
*/
|
||||
|
||||
static int
|
||||
solib_map_sections (PTR arg)
|
||||
solib_map_sections (void *arg)
|
||||
{
|
||||
struct so_list *so = (struct so_list *) arg; /* catch_errors bogon */
|
||||
char *filename;
|
||||
@@ -324,7 +324,7 @@ free_so (struct so_list *so)
|
||||
/* A small stub to get us past the arg-passing pinhole of catch_errors. */
|
||||
|
||||
static int
|
||||
symbol_add_stub (PTR arg)
|
||||
symbol_add_stub (void *arg)
|
||||
{
|
||||
register struct so_list *so = (struct so_list *) arg; /* catch_errs bogon */
|
||||
struct section_addr_info *sap;
|
||||
@@ -387,7 +387,7 @@ update_solib_list (int from_tty, struct target_ops *target)
|
||||
symbols now! */
|
||||
if (attach_flag &&
|
||||
symfile_objfile == NULL)
|
||||
catch_errors (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT, (PTR) &from_tty,
|
||||
catch_errors (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT, &from_tty,
|
||||
"Error reading attached process's symbol file.\n",
|
||||
RETURN_MASK_ALL);
|
||||
|
||||
@@ -755,7 +755,7 @@ clear_solib (void)
|
||||
}
|
||||
|
||||
static void
|
||||
do_clear_solib (PTR dummy)
|
||||
do_clear_solib (void *dummy)
|
||||
{
|
||||
solib_cleanup_queued = 0;
|
||||
clear_solib ();
|
||||
|
||||
Reference in New Issue
Block a user