diff options
author | Gary Benson <gbenson@redhat.com> | 2015-04-17 09:47:30 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-04-17 09:47:30 +0100 |
commit | a10de6046fbd50e99742af428a815dcd94e2fba8 (patch) | |
tree | 86cf6669c963b4a71d35b3f92591698e7ade8ee0 /gdb/fbsd-nat.h | |
parent | 92209ddfdc725c51d0368716ee316193deb24e8a (diff) | |
download | gdb-a10de6046fbd50e99742af428a815dcd94e2fba8.zip gdb-a10de6046fbd50e99742af428a815dcd94e2fba8.tar.gz gdb-a10de6046fbd50e99742af428a815dcd94e2fba8.tar.bz2 |
Introduce exec_file_locate_attach
This commit adds a new function, exec_file_locate_attach, which works
like exec_file_attach except that, instead of a filename argument, it
takes an integer process ID and attempts to determine the executable
filename from that.
gdb/ChangeLog:
* gdbcore.h (exec_file_locate_attach): New declaration.
* exec.c (exec_file_locate_attach): New function, factored
out from...
* infcmd.c (attach_command_post_wait): ...here.
Diffstat (limited to 'gdb/fbsd-nat.h')
0 files changed, 0 insertions, 0 deletions