Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: gdb/sol-thread.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/skip.c ('k') | gdb/solib.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/sol-thread.c
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 3e5d9db2306341c70d2f080dcab75c68a3d6e2c4..3577b5affd0fa833fdb634221fbdb6039fe17011 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -69,8 +69,6 @@
struct target_ops sol_thread_ops;
-extern char *procfs_pid_to_str (struct target_ops *ops, ptid_t ptid);
-
/* Prototypes for supply_gregset etc. */
#include "gregset.h"
@@ -347,7 +345,7 @@ sol_thread_detach (struct target_ops *ops, char *args, int from_tty)
static void
sol_thread_resume (struct target_ops *ops,
- ptid_t ptid, int step, enum target_signal signo)
+ ptid_t ptid, int step, enum gdb_signal signo)
{
struct cleanup *old_chain;
struct target_ops *beneath = find_target_beneath (ops);
@@ -1134,7 +1132,7 @@ ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,
/* Convert PTID to printable form. */
-char *
+static char *
solaris_pid_to_str (struct target_ops *ops, ptid_t ptid)
{
static char buf[100];
@@ -1342,6 +1340,9 @@ init_sol_thread_ops (void)
sol_thread_ops.to_magic = OPS_MAGIC;
}
+/* Silence -Wmissing-prototypes. */
+extern void _initialize_sol_thread (void);
+
void
_initialize_sol_thread (void)
{
« no previous file with comments | « gdb/skip.c ('k') | gdb/solib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698