aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/breakpoint.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 34cbc09..9ce905f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-14 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.c (create_breakpoint): Set canonical.addr_string
+ for static tracepoint.
+
2011-12-13 Joel Brobecker <brobecker@adacore.com>
GDB 7.4 branch created (branch timestamp: 2011-12-13 13:00 UTC)
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);