diff options
author | Gary Benson <gbenson@redhat.com> | 2015-04-02 13:38:29 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-04-02 13:38:29 +0100 |
commit | 97a41605e2473c67e82ef5147b4866768bd5a566 (patch) | |
tree | 36d96d8fec42324a62e0f0d94b6a345d740c6ef1 /gdb/solib.c | |
parent | 2938e6cf0809cd81d1593f414ea5836812e68ed2 (diff) | |
download | gdb-97a41605e2473c67e82ef5147b4866768bd5a566.zip gdb-97a41605e2473c67e82ef5147b4866768bd5a566.tar.gz gdb-97a41605e2473c67e82ef5147b4866768bd5a566.tar.bz2 |
Rearrange symfile_bfd_open
symfile_bfd_open handled what were remote files as a special case.
Converting from "remote:" files to "target:" made symfile_bfd_open
look like this:
if remote:
open bfd, check format, etc
return
local-specific stuff
open bfd, check format, etc
return
This commit rearranges symfile_bfd_open to remove the duplicated
code, like this:
if local:
local-specific stuff
open bfd, check format, etc
return
gdb/ChangeLog:
* symfile.c (symfile_bfd_open): Reorder to remove duplicated
checks and error messages.
Diffstat (limited to 'gdb/solib.c')
0 files changed, 0 insertions, 0 deletions