aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-12-14 07:56:59 +0000
committerYao Qi <yao@codesourcery.com>2011-12-14 07:56:59 +0000
commitd14c4eb72958ef9a46236ae8e2caea0388989a85 (patch)
tree8d723082ba88ee5664c44cbbb37fa692a94beb75 /gdb/breakpoint.c
parent712c65750bca1cae85b9a95e5d7d3f4f75d7c492 (diff)
downloadgdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.zip
gdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.tar.gz
gdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.tar.bz2
gdb/
* breakpoint.c (create_breakpoint): Set canonical.addr_string for static tracepoint.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 0686587..783b797 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);