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:
parent
da1cc82f30
commit
0f5f4ffe7a
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user