mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
Fix PR breakpoints/20739: Badly formatted adress string in error message
Remove duplicate `0x'-prefix for the hex address printed. `paddress' already prepends this, so no need to do it manually. gdb/ChangeLog: 2016-11-08 Cordian A. Daniluk <th3c0r1uk@gmail.com> PR breakpoints/20739 * breakpoint.c (check_fast_tracepoint_sals): Don't print duplicate 0x prefix.
This commit is contained in:

committed by
Pedro Alves

parent
3b0d929dd6
commit
53c3572a9f
@ -1,3 +1,9 @@
|
||||
2016-11-08 Cordian A. Daniluk <th3c0r1uk@gmail.com>
|
||||
|
||||
PR breakpoints/20739
|
||||
* breakpoint.c (check_fast_tracepoint_sals): Don't print duplicate
|
||||
0x prefix.
|
||||
|
||||
2016-11-08 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* rust-lang.c (val_print_struct): Fix indentation.
|
||||
|
@ -9653,7 +9653,7 @@ check_fast_tracepoint_sals (struct gdbarch *gdbarch,
|
||||
old_chain = make_cleanup (xfree, msg);
|
||||
|
||||
if (!rslt)
|
||||
error (_("May not have a fast tracepoint at 0x%s%s"),
|
||||
error (_("May not have a fast tracepoint at %s%s"),
|
||||
paddress (sarch, sal->pc), (msg ? msg : ""));
|
||||
|
||||
do_cleanups (old_chain);
|
||||
|
Reference in New Issue
Block a user