aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-13 21:56:58 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-13 21:56:58 +0000
commit05c547f629815fdd47930f9645269ea71c32373f (patch)
tree954ca2983fa8e8dcabf843dbdc9de85e05824dba /gdb/arch-utils.c
parent1c4d3f96872d3ecb99c14c102ab3f55af8998676 (diff)
downloadgdb-05c547f629815fdd47930f9645269ea71c32373f.zip
gdb-05c547f629815fdd47930f9645269ea71c32373f.tar.gz
gdb-05c547f629815fdd47930f9645269ea71c32373f.tar.bz2
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index b560175..e8836d2 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. */