gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 14 Dec 2011 07:56:59 +0000 (07:56 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 14 Dec 2011 07:56:59 +0000 (07:56 +0000)
* breakpoint.c (create_breakpoint): Set canonical.addr_string
for static tracepoint.

gdb/ChangeLog
gdb/breakpoint.c

index 34cbc0936067f558d94c68b2c669b8284fa015a5..9ce905fbd3010feb5eed2e0333359c80f6630b0e 100644 (file)
@@ -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)
index 0686587b4729db18c6c6a4708e396e87cd842a9d..783b797494b6a0403c665e8cd13266ad84a306d7 100644 (file)
@@ -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);