Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix PR breakpoints/20739: Badly formatted adress string in error message
@ 2016-10-29 16:40 Cordian A. Daniluk
  2016-10-29 19:57 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Cordian A. Daniluk @ 2016-10-29 16:40 UTC (permalink / raw)
  To: gdb-patches; +Cc: Cordian A. Daniluk

Remove duplicate `0x'-prefix for the hex address printed. `paddress'
already prepends this, so no need to do it manually.

gdb/ChangeLog:

	* breakpoint.c (check_fast_tracepoint_sals): fix PR
	breakpoints/20739
---
 gdb/breakpoint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 25849da..0adebae 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9628,7 +9628,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);
-- 
2.9.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-08 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-29 16:40 [PATCH] Fix PR breakpoints/20739: Badly formatted adress string in error message Cordian A. Daniluk
2016-10-29 19:57 ` Simon Marchi
2016-11-08 12:48   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox