2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2025-02-17 13:10:12 +08:00

* linespec.c (decode_objc): Record the function name

in the linespec.
This commit is contained in:
Keith Seitz 2012-07-23 20:31:34 +00:00
parent da1cc82f30
commit 0f5f4ffe7a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-07-23 Keith Seitz <keiths@redhat.com>
* linespec.c (decode_objc): Record the function name
in the linespec.
2012-07-23 Tom Tromey <tromey@redhat.com>
* rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference

View File

@ -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);