]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-09-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 2003 03:14:02 +0000 (03:14 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 2003 03:14:02 +0000 (03:14 +0000)
* gnu-nat.c: Remove "inline" function attribute.
* alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.

gdb/ChangeLog
gdb/alpha-tdep.c
gdb/gnu-nat.c
gdb/macroexp.c
gdb/ppc-linux-tdep.c

index 7bb6fdd25de027432c4ab341fbd76e1397f52ccb..adddd3c66ef3e5496bf749029cce674e9c78df19 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-08  Andrew Cagney  <cagney@redhat.com>
+
+       * gnu-nat.c: Remove "inline" function attribute.
+       * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
+
 2003-09-08  Kevin Buettner  <kevinb@redhat.com>
 
        * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
index d6e95ca6b86a47ea491bcde15ddffb73eb3f4f10..df55bfbed3b99f539281626acb0e6d25331cace0 100644 (file)
@@ -189,7 +189,7 @@ alpha_lds (void *out, const void *in)
 /* Similarly, this represents exactly the conversion performed by
    the STS instruction.  */
 
-static inline void
+static void
 alpha_sts (void *out, const void *in)
 {
   ULONGEST reg, mem;
index 9b63616488ca5823cad1e39fbaf6471e633a944e..a75b16921dac7a403323096ec298e09fc2806929 100644 (file)
@@ -98,12 +98,12 @@ void inf_validate_procs (struct inf *inf);
 void inf_steal_exc_ports (struct inf *inf);
 void inf_restore_exc_ports (struct inf *inf);
 struct proc *inf_tid_to_proc (struct inf *inf, int tid);
-inline void inf_set_threads_resume_sc (struct inf *inf,
-                                      struct proc *run_thread,
-                                      int run_others);
-inline int inf_set_threads_resume_sc_for_signal_thread (struct inf *inf);
-inline void inf_suspend (struct inf *inf);
-inline void inf_resume (struct inf *inf);
+void inf_set_threads_resume_sc (struct inf *inf,
+                               struct proc *run_thread,
+                               int run_others);
+int inf_set_threads_resume_sc_for_signal_thread (struct inf *inf);
+void inf_suspend (struct inf *inf);
+void inf_resume (struct inf *inf);
 void inf_set_step_thread (struct inf *inf, struct proc *proc);
 void inf_detach (struct inf *inf);
 void inf_attach (struct inf *inf, int pid);
@@ -1077,7 +1077,7 @@ inf_validate_procs (struct inf *inf)
 
 \f
 /* Makes sure that INF's thread list is synced with the actual process.  */
-inline int
+int
 inf_update_procs (struct inf *inf)
 {
   if (!inf->task)
@@ -1090,7 +1090,7 @@ inf_update_procs (struct inf *inf)
 /* Sets the resume_sc of each thread in inf.  That of RUN_THREAD is set to 0,
    and others are set to their run_sc if RUN_OTHERS is true, and otherwise
    their pause_sc.  */
-inline void
+void
 inf_set_threads_resume_sc (struct inf *inf,
                           struct proc *run_thread, int run_others)
 {
@@ -1108,7 +1108,7 @@ inf_set_threads_resume_sc (struct inf *inf,
 \f
 /* Cause INF to continue execution immediately; individual threads may still
    be suspended (but their suspend counts will be updated).  */
-inline void
+void
 inf_resume (struct inf *inf)
 {
   struct proc *thread;
@@ -1133,7 +1133,7 @@ inf_resume (struct inf *inf)
 
 /* Cause INF to stop execution immediately; individual threads may still
    be running.  */
-inline void
+void
 inf_suspend (struct inf *inf)
 {
   struct proc *thread;
@@ -1179,7 +1179,7 @@ inf_set_step_thread (struct inf *inf, struct proc *thread)
 /* Set up the thread resume_sc's so that only the signal thread is running
    (plus whatever other thread are set to always run).  Returns true if we
    did so, or false if we can't find a signal thread.  */
-inline int
+int
 inf_set_threads_resume_sc_for_signal_thread (struct inf *inf)
 {
   if (inf->signal_thread)
index 992c4669002724aa0d9776d78fc73f8865d2880c..e39f81ac0bd268564ebe00f7e7105ed39c1f91a5 100644 (file)
@@ -145,7 +145,7 @@ resize_buffer (struct macro_buffer *b, int n)
 
 
 /* Append the character C to the buffer B.  */
-static inline void
+static void
 appendc (struct macro_buffer *b, int c)
 {
   int new_len = b->len + 1;
@@ -159,7 +159,7 @@ appendc (struct macro_buffer *b, int c)
 
 
 /* Append the LEN bytes at ADDR to the buffer B.  */
-static inline void
+static void
 appendmem (struct macro_buffer *b, char *addr, int len)
 {
   int new_len = b->len + len;
index 5c8f695d0f7dc4ea1b883b83d3ade485dc28b22a..3134132345632a79ba598b76ccb8a3c751d2a27d 100644 (file)
@@ -188,7 +188,7 @@ ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name)
   return (pc == handler || pc == handler + 4);
 }
 
-static inline int
+static int
 insn_is_sigreturn (unsigned long pcinsn)
 {
   switch(pcinsn)