From: Yao Qi Date: Wed, 14 Dec 2011 07:56:59 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d14c4eb72958ef9a46236ae8e2caea0388989a85;p=binutils-gdb.git gdb/ * breakpoint.c (create_breakpoint): Set canonical.addr_string for static tracepoint. --- 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);