diff options
author | Keith Seitz <keiths@redhat.com> | 2012-07-23 20:31:34 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-07-23 20:31:34 +0000 |
commit | 0f5f4ffe7a8025a0cfb16b9a71c8c7347280bc5e (patch) | |
tree | cf443c92e4bec81e2cc72e6a4591317b1340e0e1 /gdb/linespec.c | |
parent | da1cc82f30edcf2d49dd89911fc471a5e07d3d94 (diff) | |
download | gdb-0f5f4ffe7a8025a0cfb16b9a71c8c7347280bc5e.zip gdb-0f5f4ffe7a8025a0cfb16b9a71c8c7347280bc5e.tar.gz gdb-0f5f4ffe7a8025a0cfb16b9a71c8c7347280bc5e.tar.bz2 |
* linespec.c (decode_objc): Record the function name
in the linespec.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 849d69c..9bc2dbe 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -2477,6 +2477,7 @@ decode_objc (struct linespec_state *self, linespec_p ls, char **argptr) memcpy (saved_arg, *argptr, new_argptr - *argptr); saved_arg[new_argptr - *argptr] = '\0'; + ls->function_name = xstrdup (saved_arg); ls->function_symbols = info.result.symbols; ls->minimal_symbols = info.result.minimal_symbols; values = convert_linespec_to_sals (self, ls); |