diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-13 21:56:57 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-13 21:56:57 +0000 |
commit | 075880f2752690cf338eef2ebd94ad81ad00c9ba (patch) | |
tree | 23c60b27ee1ce2e6b8ba5fd80eda2071a8f4581f /gdb/arch-utils.c | |
parent | 193ac4644cab0eda4e542d01ab54675ea4b0438e (diff) | |
download | gdb-075880f2752690cf338eef2ebd94ad81ad00c9ba.tar.gz |
2010-05-13 Michael Snyder <msnyder@vmware.com>
* gdbarch.sh: White space, add blank lines.
* arch-utils.c: Ditto.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index b560175d374..e8836d2d636 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -533,6 +533,7 @@ gdbarch_from_bfd (bfd *abfd) { struct gdbarch_info info; gdbarch_info_init (&info); + info.abfd = abfd; return gdbarch_find_by_info (info); } @@ -580,9 +581,9 @@ void initialize_current_architecture (void) { const char **arches = gdbarch_printable_names (); + struct gdbarch_info info; /* determine a default architecture and byte order. */ - struct gdbarch_info info; gdbarch_info_init (&info); /* Find a default architecture. */ |