From 823ca731ed62b553ee30c61c93e8e97a86eee562 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 23 Mar 2002 17:38:13 +0000 Subject: * defs.h (error): Add printf format attribute. * thread-db.c (thread_from_lwp): Fix error format string. * stack.c (parse_frame_specification): Ditto. * cli/cli-decode.c (undef_cmd_error): Ditto. * scm-lang.c (scm_lookup_name): Ditto. * tracepoint.c (trace_error): Ditto. * remote-utils.c (usage): Ditto. * remote.c (compare_sections_command): Ditto. Fix PR gdb/328. --- gdb/thread-db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/thread-db.c') diff --git a/gdb/thread-db.c b/gdb/thread-db.c index 2e7620e..d38db74 100644 --- a/gdb/thread-db.c +++ b/gdb/thread-db.c @@ -239,7 +239,7 @@ thread_from_lwp (ptid_t ptid) err = td_ta_map_lwp2thr_p (thread_agent, GET_LWP (ptid), &th); if (err != TD_OK) - error ("Cannot find user-level thread for LWP %d: %s", + error ("Cannot find user-level thread for LWP %ld: %s", GET_LWP (ptid), thread_db_err_str (err)); err = td_thr_get_info_p (&th, &ti); -- cgit v1.1