diff options
author | Yao Qi <yao@codesourcery.com> | 2011-12-14 07:56:59 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-12-14 07:56:59 +0000 |
commit | d14c4eb72958ef9a46236ae8e2caea0388989a85 (patch) | |
tree | 8d723082ba88ee5664c44cbbb37fa692a94beb75 | |
parent | 712c65750bca1cae85b9a95e5d7d3f4f75d7c492 (diff) | |
download | gdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.zip gdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.tar.gz gdb-d14c4eb72958ef9a46236ae8e2caea0388989a85.tar.bz2 |
gdb/
* breakpoint.c (create_breakpoint): Set canonical.addr_string
for static tracepoint.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/breakpoint.c | 1 |
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); |