Fix -Wpointer-sign warning in sol-thread.c
[deliverable/binutils-gdb.git] / gdb / xcoffsolib.c
index 0a4f5fe88970eee7ac83e522042b7994af3dd848..069b016ad37279698e0d23d0d213d266ebc293d5 100644 (file)
@@ -1,6 +1,5 @@
 /* Shared library support for RS/6000 (xcoff) object files, for GDB.
-   Copyright (C) 1991-1992, 1995-1996, 1999-2001, 2007-2012 Free
-   Software Foundation, Inc.
+   Copyright (C) 1991-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.
 
    This file is part of GDB.
@@ -62,7 +61,7 @@ static void sharedlibrary_command (char *pattern, int from_tty);
 static void
 solib_info (char *args, int from_tty)
 {
-  int addr_size = gdbarch_addr_bit (target_gdbarch) / 8;
+  int addr_size = gdbarch_addr_bit (target_gdbarch ()) / 8;
   struct vmap *vp = vmap;
 
   /* Check for new shared libraries loaded with load ().  */
@@ -158,6 +157,8 @@ sharedlibrary_command (char *pattern, int from_tty)
   }
 }
 
+void _initialize_xcoffsolib (void);
+
 void
 _initialize_xcoffsolib (void)
 {
This page took 0.024179 seconds and 4 git commands to generate.