aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/agent.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdbsupport/agent.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdbsupport/agent.h')
-rw-r--r--gdbsupport/agent.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdbsupport/agent.h b/gdbsupport/agent.h
index dceb33f..cf181f2 100644
--- a/gdbsupport/agent.h
+++ b/gdbsupport/agent.h
@@ -26,16 +26,16 @@ int agent_run_command (int pid, const char *cmd, int len);
int agent_look_up_symbols (void *);
-#define IPA_SYM_EXPORTED_NAME(SYM) gdb_agent_ ## SYM
+#define IPA_SYM_EXPORTED_NAME(SYM) gdb_agent_##SYM
/* Define an entry in an IPA symbol list array. If IPA_SYM is used, the macro
IPA_SYM_STRUCT_NAME must be defined to the structure name holding the IPA
symbol addresses in that particular file, before including
gdbsupport/agent.h. */
-#define IPA_SYM(SYM) \
- { \
- STRINGIFY (IPA_SYM_EXPORTED_NAME (SYM)), \
- offsetof (IPA_SYM_STRUCT_NAME, addr_ ## SYM) \
+#define IPA_SYM(SYM) \
+ { \
+ STRINGIFY (IPA_SYM_EXPORTED_NAME (SYM)), \
+ offsetof (IPA_SYM_STRUCT_NAME, addr_##SYM) \
}
/* The size in bytes of the buffer used to talk to the IPA helper