From d14c4eb72958ef9a46236ae8e2caea0388989a85 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 14 Dec 2011 07:56:59 +0000 Subject: [PATCH] gdb/ * breakpoint.c (create_breakpoint): Set canonical.addr_string for static tracepoint. --- gdb/ChangeLog | 5 +++++ gdb/breakpoint.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 34cbc093606..9ce905fbd30 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-12-14 Yao Qi + + * breakpoint.c (create_breakpoint): Set canonical.addr_string + for static tracepoint. + 2011-12-13 Joel Brobecker GDB 7.4 branch created (branch timestamp: 2011-12-13 13:00 UTC) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 0686587b472..783b797494b 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7732,6 +7732,7 @@ create_breakpoint (struct gdbarch *gdbarch, copy_arg = savestring (addr_start, arg - addr_start); + canonical.addr_string = xstrdup (copy_arg); lsal.canonical = xstrdup (copy_arg); VEC_safe_push (linespec_sals, canonical.sals, &lsal); -- 2.30.2