mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +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:
@@ -5013,8 +5013,8 @@ compare_sections_command (char *args, int from_tty)
|
||||
|
||||
getpkt (buf, (rs->remote_packet_size), 0);
|
||||
if (buf[0] == 'E')
|
||||
error ("target memory fault, section %s, range 0x%08x -- 0x%08x",
|
||||
sectname, lma, lma + size);
|
||||
error ("target memory fault, section %s, range 0x%s -- 0x%s",
|
||||
sectname, paddr (lma), paddr (lma + size));
|
||||
if (buf[0] != 'C')
|
||||
error ("remote target does not support this operation");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user