* 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:
parent
294b41b344
commit
823ca731ed
9 changed files with 21 additions and 9 deletions
|
@ -704,7 +704,7 @@ parse_frame_specification (char *frame_exp)
|
|||
really should be used instead of spaces to delimit; using spaces
|
||||
normally works in an expression). */
|
||||
#ifdef SETUP_ARBITRARY_FRAME
|
||||
error ("No frame %d", args[0]);
|
||||
error ("No frame %s", paddr_d (args[0]));
|
||||
#endif
|
||||
|
||||
/* If (s)he specifies the frame with an address, he deserves what
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue