Fix elf64-ppc.c electric fence warning
[deliverable/binutils-gdb.git] / gdb / common / agent.h
index b89d111b7e3b28573bf069f29f4767bb7aa908bf..a004c2e6b6f7ad576fe310a28be16cbfd7289b4d 100644 (file)
@@ -1,6 +1,6 @@
 /* Shared utility routines for GDB to interact with agent.
 
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-int agent_run_command (int pid, const char *cmd);
+int agent_run_command (int pid, const char *cmd, int len);
 
-int agent_look_up_symbols (void);
+int agent_look_up_symbols (void *);
 
 #define STRINGIZE_1(STR) #STR
 #define STRINGIZE(STR) STRINGIZE_1(STR)
+#define IPA_SYM_EXPORTED_NAME(SYM) gdb_agent_ ## SYM
 #define IPA_SYM(SYM)                                   \
   {                                                    \
-    STRINGIZE (gdb_agent_ ## SYM),                     \
+    STRINGIZE (IPA_SYM_EXPORTED_NAME (SYM)),           \
     offsetof (struct ipa_sym_addresses, addr_ ## SYM)  \
   }
 
This page took 0.024784 seconds and 4 git commands to generate.