aboutsummaryrefslogtreecommitdiff
path: root/gdb/prologue-value.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2018-05-05 15:55:58 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2018-05-24 22:39:03 +0100
commit39f0c2040f13ae0eb3405b8cf2ff6491c6f354a5 (patch)
tree26a255c831c8888e9e815f810551903b9084f2da /gdb/prologue-value.c
parentd392224a0942df2f23b1149a71f62afc7f34beb8 (diff)
downloadgdb-39f0c2040f13ae0eb3405b8cf2ff6491c6f354a5.zip
gdb-39f0c2040f13ae0eb3405b8cf2ff6491c6f354a5.tar.gz
gdb-39f0c2040f13ae0eb3405b8cf2ff6491c6f354a5.tar.bz2
gdb: Split func_command into two parts.
The func_command function is used to emulate the dbx 'func' command. However, finding a stack frame based on function name might be a useful feature, and so the core of func_command is now split out into a separate function. gdb/ChangeLog: * stack.c (select_and_print_frame): Delete. (struct function_bounds): Move struct within function. (func_command): Most content moved into new function find_frame_for_function, use new function, print result, add function comment. (find_frame_for_function): New function, now returns a result.
Diffstat (limited to 'gdb/prologue-value.c')
0 files changed, 0 insertions, 0 deletions