mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user